From 517fc2bd75671859be3aec1d407b528d35dfda2d Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 13 Nov 2020 16:37:54 -0800 Subject: [PATCH] Fixed: Example file names for Daily Series Closes #4078 --- src/NzbDrone.Core/Organizer/FileNameBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Organizer/FileNameBuilder.cs b/src/NzbDrone.Core/Organizer/FileNameBuilder.cs index 6e7185924..56584d546 100644 --- a/src/NzbDrone.Core/Organizer/FileNameBuilder.cs +++ b/src/NzbDrone.Core/Organizer/FileNameBuilder.cs @@ -131,7 +131,7 @@ namespace NzbDrone.Core.Organizer episodes = episodes.OrderBy(e => e.SeasonNumber).ThenBy(e => e.EpisodeNumber).ToList(); - if (series.SeriesType == SeriesTypes.Daily && episodeFile.SeasonNumber > 0) + if (series.SeriesType == SeriesTypes.Daily && episodes.First().SeasonNumber > 0) { pattern = namingConfig.DailyEpisodeFormat; }