1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-01 00:12:30 +01:00
Sonarr/NzbDrone.Core/Providers/IEpisodeProvider.cs

24 lines
766 B
C#
Raw Normal View History

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);
2010-10-05 08:21:18 +02:00
void RefreshSeries(int seriesId);
}
}