mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
bf1ff29519
commited somewhere between vancouver and vegas @ 2135ft. Alt and 480mph.
25 lines
792 B
C#
25 lines
792 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using NzbDrone.Core.Model;
|
|
using NzbDrone.Core.Repository;
|
|
|
|
namespace NzbDrone.Core.Providers
|
|
{
|
|
public interface IEpisodeProvider
|
|
{
|
|
Episode GetEpisode(long id);
|
|
Episode GetEpisode(int seriesId, int seasonNumber, int episodeNumber);
|
|
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(EpisodeModel episode);
|
|
|
|
void RefreshEpisodeInfo(int seriesId);
|
|
IList<Episode> GetEpisodeBySeason(long seasonId);
|
|
}
|
|
} |