Sonarr/NzbDrone.Core/Providers/ISeriesProvider.cs

28 lines
877 B
C#
Raw Normal View History

2010-10-02 19:01:43 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Repository.Quality;
2010-10-02 19:01:43 +00:00
using TvdbLib.Data;
2010-09-23 03:19:47 +00:00
namespace NzbDrone.Core.Providers
2010-09-23 03:19:47 +00:00
{
public interface ISeriesProvider
2010-09-23 03:19:47 +00:00
{
IQueryable<Series> GetAllSeries();
2010-10-05 06:21:18 +00:00
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);
2010-10-02 19:01:43 +00:00
TvdbSeries MapPathToSeries(string path);
void AddSeries(string path, TvdbSeries series);
2011-02-04 00:48:09 +00:00
Dictionary<Guid, String> GetUnmappedFolders();
Series FindSeries(string cleanTitle);
bool QualityWanted(int seriesId, QualityTypes quality);
2010-09-23 03:19:47 +00:00
}
}