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

30 lines
1021 B
C#
Raw Normal View History

2010-10-02 21:01:43 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Repository.Quality;
2010-10-02 21:01:43 +02:00
using TvdbLib.Data;
2010-09-23 05:19:47 +02:00
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> GetAllSeries();
2010-10-05 08:21:18 +02:00
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, int tvDbSeriesId, int qualityProfileId);
Series FindSeries(string cleanTitle);
bool QualityWanted(int seriesId, QualityTypes quality);
void UpdateSeries(Series series);
void DeleteSeries(int seriesId);
bool SeriesPathExists(string cleanPath);
Series UpdateSeriesInfo(int seriesId);
2010-09-23 05:19:47 +02:00
}
}