mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-28 10:37:41 +00:00
9d24ccd97a
Series details sorts with newest season and newest episode on top my default.
28 lines
No EOL
928 B
C#
28 lines
No EOL
928 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);
|
|
void RefreshEpisodeInfo(Season season);
|
|
IList<Episode> GetEpisodeBySeason(long seasonId);
|
|
void DeleteEpisode(int episodeId);
|
|
void UpdateEpisode(Episode episode);
|
|
}
|
|
} |