2010-09-28 22:44:33 +02:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using NzbDrone.Core.Repository;
|
2010-10-05 08:21:18 +02:00
|
|
|
using NzbDrone.Core.Repository.Episode;
|
2010-09-28 22:44:33 +02:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Providers
|
|
|
|
{
|
|
|
|
public interface IEpisodeProvider
|
|
|
|
{
|
|
|
|
Episode GetEpisode(long id);
|
2010-10-05 08:21:18 +02:00
|
|
|
Episode UpdateEpisode(Episode episode);
|
2010-09-28 22:44:33 +02:00
|
|
|
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);
|
2010-10-05 08:21:18 +02:00
|
|
|
|
|
|
|
void RefreshSeries(int seriesId);
|
2010-09-28 22:44:33 +02:00
|
|
|
}
|
|
|
|
}
|