1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Fixed: Example file names for Daily Series

Closes #4078
This commit is contained in:
Mark McDowall 2020-11-13 16:37:54 -08:00
parent b6316c9fcd
commit 517fc2bd75

View File

@ -131,7 +131,7 @@ private string BuildFileName(List<Episode> episodes, Series series, EpisodeFile
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;
}