diff --git a/src/NzbDrone.Core/Organizer/FileNameBuilder.cs b/src/NzbDrone.Core/Organizer/FileNameBuilder.cs index 30517658b..0a6c4aa83 100644 --- a/src/NzbDrone.Core/Organizer/FileNameBuilder.cs +++ b/src/NzbDrone.Core/Organizer/FileNameBuilder.cs @@ -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> tokenHandlers, Series series, EpisodeFile episodeFile, List preferredWords = null)