1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 02:22:31 +01:00
Radarr/NzbDrone.Core/Providers/IEpisodeProvider.cs

24 lines
760 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using NzbDrone.Core.Entities.Episode;
namespace NzbDrone.Core.Providers
{
public interface IEpisodeProvider
{
2010-10-10 23:20:43 +02:00
EpisodeInfo GetEpisode(long id);
void UpdateEpisode(EpisodeInfo episode);
IList<EpisodeInfo> GetEpisodesBySeason(long seasonId);
IList<EpisodeInfo> 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>
2010-10-10 23:20:43 +02:00
bool IsNeeded(RemoteEpisode episode);
2010-10-05 08:21:18 +02:00
void RefreshEpisodeInfo(int seriesId);
}
}