1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-12 14:03:16 +01:00
Radarr/NzbDrone.Core/Providers/ISeriesProvider.cs

26 lines
785 B
C#
Raw Normal View History

2010-09-23 05:19:47 +02:00
using System.Linq;
using NzbDrone.Core.Repository;
namespace NzbDrone.Core.Providers
2010-09-23 05:19:47 +02:00
{
public interface ISeriesProvider
2010-09-23 05:19:47 +02:00
{
IQueryable<Series> GetSeries();
Series GetSeries(long tvdbId);
2010-09-23 05:19:47 +02:00
void SyncSeriesWithDisk();
/// <summary>
/// Parses a post title
/// </summary>
/// <param name="postTitle">Title of the report</param>
/// <returns>TVDB id of the series this report belongs to</returns>
long Parse(string postTitle);
/// <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-09-23 05:19:47 +02:00
}
}