mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 09:47:39 +00:00
New: Log when media info is unavailable for a file when building a file name
This commit is contained in:
parent
fb67e123f4
commit
70fb1551af
1 changed files with 6 additions and 1 deletions
|
@ -537,7 +537,12 @@ namespace NzbDrone.Core.Organizer
|
||||||
|
|
||||||
private void AddMediaInfoTokens(Dictionary<string, Func<TokenMatch, string>> tokenHandlers, EpisodeFile episodeFile)
|
private void AddMediaInfoTokens(Dictionary<string, Func<TokenMatch, string>> tokenHandlers, EpisodeFile episodeFile)
|
||||||
{
|
{
|
||||||
if (episodeFile.MediaInfo == null) return;
|
if (episodeFile.MediaInfo == null)
|
||||||
|
{
|
||||||
|
_logger.Trace("Media info is unavailable for {0}", episodeFile);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var sceneName = episodeFile.GetSceneOrFileName();
|
var sceneName = episodeFile.GetSceneOrFileName();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue