You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
680 B
22 lines
680 B
14 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using NzbDrone.Core.Repository;
|
||
|
|
||
|
namespace NzbDrone.Core.Providers
|
||
|
{
|
||
|
public interface IEpisodeProvider
|
||
|
{
|
||
|
Episode GetEpisode(long id);
|
||
|
Episode SaveEpisode(Episode episode);
|
||
|
IList<Episode> GetEpisodesBySeason(long seasonId);
|
||
|
IList<Episode> GetEpisodeBySeries(long seriesId);
|
||
|
String GetSabTitle(Episode episode);
|
||
|
|
||
|
/// <summary>
|
||
|
/// Comprehensive check on whether or not this episode is needed.
|
||
|
/// </summary>
|
||
|
/// <param name="episode">Episode that needs to be checked</param>
|
||
|
/// <returns></returns>
|
||
|
bool IsNeeded(Episode episode);
|
||
|
}
|
||
|
}
|