parent
7efbfdbb89
commit
fcf51978f9
@ -1,23 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.Model;
|
||||
using NzbDrone.Core.Repository;
|
||||
|
||||
namespace NzbDrone.Core.Providers
|
||||
{
|
||||
public interface IMediaFileProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// Scans the specified series folder for media files
|
||||
/// </summary>
|
||||
/// <param name="series">The series to be scanned</param>
|
||||
List<EpisodeFile> Scan(Series series);
|
||||
List<EpisodeFile> Scan(Series series, string path);
|
||||
EpisodeFile ImportFile(Series series, string filePath);
|
||||
void CleanUp(List<EpisodeFile> files);
|
||||
void DeleteFromDb(int fileId);
|
||||
void DeleteFromDisk(int fileId, string path);
|
||||
void Update(EpisodeFile episodeFile);
|
||||
EpisodeFile GetEpisodeFile(int episodeFileId);
|
||||
List<EpisodeFile> GetEpisodeFiles();
|
||||
}
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.Model;
|
||||
using NzbDrone.Core.Repository;
|
||||
|
||||
namespace NzbDrone.Core.Providers
|
||||
{
|
||||
public interface ISeasonProvider
|
||||
{
|
||||
Season GetSeason(int seasonId);
|
||||
Season GetSeason(int seriesId, int seasonNumber);
|
||||
List<Season> GetSeasons(int seriesId);
|
||||
Season GetLatestSeason(int seriesId);
|
||||
void EnsureSeason(int seriesId, int seasonId, int seasonNumber);
|
||||
int SaveSeason(Season season);
|
||||
bool IsIgnored(int seasonId);
|
||||
bool IsIgnored(int seriesId, int seasonNumber);
|
||||
void DeleteSeason(int seasonId);
|
||||
}
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.Model;
|
||||
|
||||
namespace NzbDrone.Core.Providers
|
||||
{
|
||||
public interface ISyncProvider
|
||||
{
|
||||
|
||||
List<String> GetUnmappedFolders(string path);
|
||||
bool BeginUpdateNewSeries();
|
||||
}
|
||||
}
|
Loading…
Reference in new issue