Added EpisodeSearchJob, still needs unit tests

This commit is contained in:
kay.one 2011-05-25 22:44:59 -07:00
commit 474f17c5e6
3 changed files with 94 additions and 0 deletions

View file

@ -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);
}
}
}