mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
c8a8fb4d62
Added basic support for file scan Major redactor of ReportTitle/File parsing Updated Ninject/Ninject.MVC Removed dependency from Microsoft.Web.Administration reactored Episode repository structure
23 lines
655 B
C#
23 lines
655 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);
|
|
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);
|
|
}
|
|
} |