using System; using System.Collections.Generic; using System.Linq; using NzbDrone.Core.Repository; using TvdbLib.Data; namespace NzbDrone.Core.Providers { public interface ISeriesProvider { IQueryable GetSeries(); Series GetSeries(long tvdbId); void SyncSeriesWithDisk(); /// /// Parses a post title /// /// Title of the report /// TVDB id of the series this report belongs to long Parse(string postTitle); /// /// Determines if a series is being actively watched. /// /// The TVDB ID of the series /// Whether or not the show is monitored bool IsMonitored(long id); bool RegisterSeries(string path); void RegisterSeries(string path, TvdbSeries series); List GetUnmappedFolders(); } }