2010-10-02 22:01:43 +03:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
2010-09-28 23:44:33 +03:00
|
|
|
using System.Linq;
|
2010-10-08 06:35:04 +03:00
|
|
|
using NzbDrone.Core.Entities;
|
2010-10-02 22:01:43 +03:00
|
|
|
using TvdbLib.Data;
|
2010-09-23 06:19:47 +03:00
|
|
|
|
2010-09-28 07:25:41 +03:00
|
|
|
namespace NzbDrone.Core.Providers
|
2010-09-23 06:19:47 +03:00
|
|
|
{
|
2010-09-28 07:25:41 +03:00
|
|
|
public interface ISeriesProvider
|
2010-09-23 06:19:47 +03:00
|
|
|
{
|
|
|
|
IQueryable<Series> GetSeries();
|
2010-10-05 09:21:18 +03:00
|
|
|
Series GetSeries(int seriesId);
|
2010-09-23 06:19:47 +03:00
|
|
|
void SyncSeriesWithDisk();
|
2010-09-28 22:32:19 +03: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 22:01:43 +03:00
|
|
|
|
2010-10-04 04:00:50 +03:00
|
|
|
TvdbSeries MapPathToSeries(string path);
|
2010-10-02 22:01:43 +03:00
|
|
|
void RegisterSeries(string path, TvdbSeries series);
|
|
|
|
List<String> GetUnmappedFolders();
|
2010-09-23 06:19:47 +03:00
|
|
|
}
|
|
|
|
}
|