Fixes for Episode to EpisodeFile mapping.

Series details sorts with newest season and newest episode on top my default.
This commit is contained in:
markus101 2011-02-22 22:23:59 -08:00
commit 9d24ccd97a
6 changed files with 30 additions and 8 deletions

View file

@ -263,6 +263,11 @@ namespace NzbDrone.Core.Providers
_sonicRepo.Delete<Episode>(episodeId);
}
public void UpdateEpisode(Episode episode)
{
_sonicRepo.Update(episode);
}
private bool IsSeasonIgnored(EpisodeModel episode)
{
//Check if this Season is ignored