Fixed: Adding series with unknown IMDB ID and series folder includes IMDB ID

pull/2984/head
Mark McDowall 6 years ago
parent fcb1bcb91b
commit ece3241041

@ -590,7 +590,7 @@ namespace NzbDrone.Core.Organizer
private void AddIdTokens(Dictionary<string, Func<TokenMatch, string>> tokenHandlers, Series series) private void AddIdTokens(Dictionary<string, Func<TokenMatch, string>> tokenHandlers, Series series)
{ {
tokenHandlers["{ImdbId}"] = m => series.ImdbId; tokenHandlers["{ImdbId}"] = m => series.ImdbId ?? string.Empty;
tokenHandlers["{TvdbId}"] = m => series.TvdbId.ToString(); tokenHandlers["{TvdbId}"] = m => series.TvdbId.ToString();
tokenHandlers["{TvMazeId}"] = m => series.TvMazeId.ToString(); tokenHandlers["{TvMazeId}"] = m => series.TvMazeId.ToString();
} }

Loading…
Cancel
Save