2010-09-28 22:44:33 +02:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2010-10-08 05:35:04 +02:00
|
|
|
using NzbDrone.Core.Entities.Episode;
|
2010-09-28 22:44:33 +02:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Providers
|
|
|
|
{
|
|
|
|
public interface IEpisodeProvider
|
|
|
|
{
|
2010-10-08 05:35:04 +02:00
|
|
|
BasicEpisode GetEpisode(long id);
|
|
|
|
BasicEpisode UpdateEpisode(BasicEpisode episode);
|
|
|
|
IList<BasicEpisode> GetEpisodesBySeason(long seasonId);
|
|
|
|
IList<BasicEpisode> GetEpisodeBySeries(long seriesId);
|
|
|
|
String GetSabTitle(BasicEpisode episode);
|
2010-09-28 22:44:33 +02:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Comprehensive check on whether or not this episode is needed.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="episode">Episode that needs to be checked</param>
|
|
|
|
/// <returns></returns>
|
2010-10-08 05:35:04 +02:00
|
|
|
bool IsNeeded(BasicEpisode episode);
|
2010-10-05 08:21:18 +02:00
|
|
|
|
|
|
|
void RefreshSeries(int seriesId);
|
2010-09-28 22:44:33 +02:00
|
|
|
}
|
|
|
|
}
|