1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-01 04:25:55 +00:00
Lidarr/NzbDrone.Core/Providers/IEpisodeProvider.cs
2010-10-04 23:21:18 -07:00

25 lines
No EOL
765 B
C#

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