1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-03-04 02:28:21 +00:00
Sonarr/NzbDrone.Core/Providers/ISeriesProvider.cs

26 lines
752 B
C#
Raw Normal View History

2010-10-02 12:01:43 -07:00
using System;
using System.Collections.Generic;
using System.Linq;
2010-09-22 20:19:47 -07:00
using NzbDrone.Core.Repository;
2010-10-02 12:01:43 -07:00
using TvdbLib.Data;
2010-09-22 20:19:47 -07:00
namespace NzbDrone.Core.Providers
2010-09-22 20:19:47 -07:00
{
public interface ISeriesProvider
2010-09-22 20:19:47 -07:00
{
IQueryable<Series> GetSeries();
2010-10-04 23:21:18 -07:00
Series GetSeries(int seriesId);
2010-09-22 20:19:47 -07:00
void SyncSeriesWithDisk();
/// <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 12:01:43 -07:00
TvdbSeries MapPathToSeries(string path);
2010-10-02 12:01:43 -07:00
void RegisterSeries(string path, TvdbSeries series);
List<String> GetUnmappedFolders();
2010-09-22 20:19:47 -07:00
}
}