2010-09-28 23:44:33 +03:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2010-10-21 04:49:23 +03:00
|
|
|
using NzbDrone.Core.Model;
|
|
|
|
using NzbDrone.Core.Repository;
|
2010-09-28 23:44:33 +03:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Providers
|
|
|
|
{
|
|
|
|
public interface IEpisodeProvider
|
|
|
|
{
|
2010-10-21 04:49:23 +03:00
|
|
|
Episode GetEpisode(long id);
|
|
|
|
IList<Episode> GetEpisodeBySeries(long seriesId);
|
|
|
|
String GetSabTitle(Episode episode);
|
2010-09-28 23:44:33 +03: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-21 04:49:23 +03:00
|
|
|
bool IsNeeded(EpisodeModel episode);
|
2010-10-05 09:21:18 +03:00
|
|
|
|
2010-10-17 20:22:48 +03:00
|
|
|
void RefreshEpisodeInfo(int seriesId);
|
2010-09-28 23:44:33 +03:00
|
|
|
}
|
|
|
|
}
|