You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Prowlarr/NzbDrone.Core/Providers/ISeriesProvider.cs

33 lines
1000 B

14 years ago
using System;
using System.Collections.Generic;
using System.Linq;
14 years ago
using NzbDrone.Core.Repository;
14 years ago
using TvdbLib.Data;
14 years ago
namespace NzbDrone.Core.Providers
14 years ago
{
public interface ISeriesProvider
14 years ago
{
IQueryable<Series> GetSeries();
Series GetSeries(long tvdbId);
14 years ago
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);
14 years ago
bool RegisterSeries(string path);
void RegisterSeries(string path, TvdbSeries series);
List<String> GetUnmappedFolders();
14 years ago
}
}