mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
New: NzbDrone service to automatically report errors and episode parse issues.
This commit is contained in:
parent
ea86ce2fcb
commit
174f765ec9
140 changed files with 10774 additions and 1694 deletions
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.Repository;
|
||||
|
||||
|
@ -47,11 +48,11 @@ namespace NzbDrone.Core.Model
|
|||
if (FullSeason)
|
||||
return string.Format("{0} - Season {1:00}", SeriesTitle, SeasonNumber);
|
||||
|
||||
if (EpisodeNumbers != null)
|
||||
if (EpisodeNumbers != null && EpisodeNumbers.Any())
|
||||
return string.Format("{0} - S{1:00}E{2} {3}", SeriesTitle, SeasonNumber,
|
||||
String.Join("-", EpisodeNumbers), Quality);
|
||||
String.Join("-", EpisodeNumbers.Select(c => c.ToString("00"))), Quality);
|
||||
|
||||
return OriginalString;
|
||||
return "[Invalid format]";
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue