1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-27 10:19:41 +00:00
Radarr/NzbDrone.Core/Providers/IEpisodeProvider.cs

24 lines
No EOL
766 B
C#

using System;
using System.Collections.Generic;
using NzbDrone.Core.Entities.Episode;
namespace NzbDrone.Core.Providers
{
public interface IEpisodeProvider
{
BasicEpisode GetEpisode(long id);
BasicEpisode UpdateEpisode(BasicEpisode episode);
IList<BasicEpisode> GetEpisodesBySeason(long seasonId);
IList<BasicEpisode> GetEpisodeBySeries(long seriesId);
String GetSabTitle(BasicEpisode 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(BasicEpisode episode);
void RefreshSeries(int seriesId);
}
}