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