mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 16:02:29 +01:00
738700537e
Currently uses Hard-Coded Naming Convention, Undecided on SAB or SB configuration style, SAB's is more robust (and flawless? -SP).
21 lines
673 B
C#
21 lines
673 B
C#
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>
|
|
void Scan(Series series);
|
|
|
|
EpisodeFile ImportFile(Series series, string filePath);
|
|
string GenerateEpisodePath(EpisodeModel episode);
|
|
void DeleteFromDb(int fileId);
|
|
void DeleteFromDisk(int fileId, string path);
|
|
void Update(EpisodeFile episodeFile);
|
|
EpisodeFile GetEpisodeFile(int episodeFileId);
|
|
}
|
|
} |