|
|
@ -22,7 +22,7 @@ namespace NzbDrone.Core.Tv
|
|
|
|
Series FindByTitle(string title, int year);
|
|
|
|
Series FindByTitle(string title, int year);
|
|
|
|
Series FindByTitleInexact(string title);
|
|
|
|
Series FindByTitleInexact(string title);
|
|
|
|
Series FindByPath(string path);
|
|
|
|
Series FindByPath(string path);
|
|
|
|
void DeleteSeries(int seriesId, bool deleteFiles, bool addImportListExclusion = false);
|
|
|
|
void DeleteSeries(int seriesId, bool deleteFiles, bool addImportListExclusion);
|
|
|
|
List<Series> GetAllSeries();
|
|
|
|
List<Series> GetAllSeries();
|
|
|
|
List<Series> AllForTag(int tagId);
|
|
|
|
List<Series> AllForTag(int tagId);
|
|
|
|
Series UpdateSeries(Series series, bool updateEpisodesToMatchSeason = true, bool publishUpdatedEvent = true);
|
|
|
|
Series UpdateSeries(Series series, bool updateEpisodesToMatchSeason = true, bool publishUpdatedEvent = true);
|
|
|
@ -145,7 +145,7 @@ namespace NzbDrone.Core.Tv
|
|
|
|
return _seriesRepository.FindByTitle(title.CleanSeriesTitle(), year);
|
|
|
|
return _seriesRepository.FindByTitle(title.CleanSeriesTitle(), year);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void DeleteSeries(int seriesId, bool deleteFiles, bool addImportListExclusion = false)
|
|
|
|
public void DeleteSeries(int seriesId, bool deleteFiles, bool addImportListExclusion)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var series = _seriesRepository.Get(seriesId);
|
|
|
|
var series = _seriesRepository.Get(seriesId);
|
|
|
|
_seriesRepository.Delete(seriesId);
|
|
|
|
_seriesRepository.Delete(seriesId);
|
|
|
|