mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
Added EpisodeSearchJob, still needs unit tests
This commit is contained in:
parent
9417748056
commit
474f17c5e6
3 changed files with 94 additions and 0 deletions
|
@ -70,5 +70,13 @@ namespace NzbDrone.Core.Repository
|
|||
[SubSonicToManyRelation]
|
||||
public virtual IList<History> Histories { get; protected set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
if (EpisodeNumber == 0)
|
||||
return string.Format("{0} - {1}", Series.Title, AirDate.Date);
|
||||
|
||||
return string.Format("{0} - S{1:00}E{2}", Series.Title, SeasonNumber, EpisodeNumber);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue