1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-03 21:45:05 +00:00
Lidarr/NzbDrone.Core/Providers/IMediaFileProvider.cs
markus101 88ad555e75 Delete is setup, just need to add a link to follow through on the delete.
Removes EpisodeFiles, Episodes, Season and then the Series.
2011-02-17 22:49:23 -08:00

19 lines
No EOL
572 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);
}
}