2010-10-30 02:46:32 +00:00
|
|
|
using NzbDrone.Core.Model;
|
2010-10-21 01:49:23 +00:00
|
|
|
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>
|
|
|
|
void Scan(Series series);
|
2010-10-24 07:46:58 +00:00
|
|
|
|
|
|
|
EpisodeFile ImportFile(Series series, string filePath);
|
2010-10-30 02:46:32 +00:00
|
|
|
string GenerateEpisodePath(EpisodeModel episode);
|
2011-02-18 06:49:23 +00:00
|
|
|
void DeleteFromDb(int fileId);
|
|
|
|
void DeleteFromDisk(int fileId, string path);
|
2011-02-22 06:22:40 +00:00
|
|
|
void Update(EpisodeFile episodeFile);
|
|
|
|
EpisodeFile GetEpisodeFile(int episodeFileId);
|
2010-10-21 01:49:23 +00:00
|
|
|
}
|
|
|
|
}
|