mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 16:02:29 +01: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
26 lines
747 B
C#
26 lines
747 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using NzbDrone.Core.Repository;
|
|
using NzbDrone.Core.Repository;
|
|
using TvdbLib.Data;
|
|
|
|
namespace NzbDrone.Core.Providers
|
|
{
|
|
public interface ISeriesProvider
|
|
{
|
|
IQueryable<Series> GetAllSeries();
|
|
Series GetSeries(int seriesId);
|
|
|
|
/// <summary>
|
|
/// Determines if a series is being actively watched.
|
|
/// </summary>
|
|
/// <param name="id">The TVDB ID of the series</param>
|
|
/// <returns>Whether or not the show is monitored</returns>
|
|
bool IsMonitored(long id);
|
|
|
|
TvdbSeries MapPathToSeries(string path);
|
|
void AddSeries(string path, TvdbSeries series);
|
|
List<String> GetUnmappedFolders();
|
|
}
|
|
} |