mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-19 05:10:02 +00:00
273de41d23
Added udp logging Added SyncProvider to provide async long running tasks Refactored SyncSeries to SyncProvider Episode Info is now fetched automatically Optimized RefreshEpisodeInfo for better performance
25 lines
No EOL
713 B
C#
25 lines
No EOL
713 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using NzbDrone.Core.Entities;
|
|
using TvdbLib.Data;
|
|
|
|
namespace NzbDrone.Core.Providers
|
|
{
|
|
public interface ISeriesProvider
|
|
{
|
|
IQueryable<Series> GetAllSeries();
|
|
Series GetSeries(int seriesId);
|
|
|
|
/// <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);
|
|
|
|
TvdbSeries MapPathToSeries(string path);
|
|
void AddSeries(string path, TvdbSeries series);
|
|
List<String> GetUnmappedFolders();
|
|
}
|
|
} |