mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
Code cleanup per commit comments. More Work?!
EpisodeParseResult will use Season ## when it is a full season instead of writing out each episode number.
This commit is contained in:
parent
1f983094ac
commit
26adbf2602
2 changed files with 11 additions and 14 deletions
|
@ -44,6 +44,9 @@ namespace NzbDrone.Core.Model
|
|||
if (AirDate != null && EpisodeNumbers == null)
|
||||
return string.Format("{0} - {1} {2}", SeriesTitle, AirDate.Value.ToShortDateString(), Quality);
|
||||
|
||||
if (FullSeason)
|
||||
return string.Format("{0} - Season {1:00}", SeriesTitle, SeasonNumber);
|
||||
|
||||
if (EpisodeNumbers != null)
|
||||
return string.Format("{0} - S{1:00}E{2} {3}", SeriesTitle, SeasonNumber,
|
||||
String.Join("-", EpisodeNumbers), Quality);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue