mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 16:52:04 +02:00
Added Notification System, Renamed Repository to Entities
This commit is contained in:
@@ -1,24 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.Repository;
|
||||
using NzbDrone.Core.Repository.Episode;
|
||||
using NzbDrone.Core.Entities.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);
|
||||
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(Episode episode);
|
||||
bool IsNeeded(BasicEpisode episode);
|
||||
|
||||
void RefreshSeries(int seriesId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user