mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Added parsing for daily shows and tests for that format.
This commit is contained in:
parent
c149060a24
commit
5e37bfa0c6
3 changed files with 67 additions and 23 deletions
|
@ -13,14 +13,20 @@ namespace NzbDrone.Core.Model
|
|||
internal List<int> Episodes { get; set; }
|
||||
internal int Year { get; set; }
|
||||
|
||||
internal DateTime AirDate { get; set; }
|
||||
|
||||
public bool Proper { get; set; }
|
||||
|
||||
public QualityTypes Quality { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
if (Episodes == null)
|
||||
return string.Format("Series:{0} Air Date:{1}", SeriesTitle, AirDate.Date);
|
||||
|
||||
return string.Format("Series:{0} Season:{1} Episode:{2}", SeriesTitle, SeasonNumber,
|
||||
String.Join(",", Episodes));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue