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