mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 09:18:34 +00:00
Fixed: Don't add TV Maze ID to format if unknown
This commit is contained in:
parent
220cd84ef5
commit
8339f7fdb3
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ namespace NzbDrone.Core.Organizer
|
|||
{
|
||||
tokenHandlers["{ImdbId}"] = m => series.ImdbId ?? string.Empty;
|
||||
tokenHandlers["{TvdbId}"] = m => series.TvdbId.ToString();
|
||||
tokenHandlers["{TvMazeId}"] = m => series.TvMazeId.ToString();
|
||||
tokenHandlers["{TvMazeId}"] = m => series.TvMazeId > 0 ? series.TvMazeId.ToString() : string.Empty;
|
||||
}
|
||||
|
||||
private void AddPreferredWords(Dictionary<string, Func<TokenMatch, string>> tokenHandlers, Series series, EpisodeFile episodeFile, List<string> preferredWords = null)
|
||||
|
|
Loading…
Reference in a new issue