mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Renaming fixes, extension will be used now.
Removing EpisodeFile from DB now works.
This commit is contained in:
parent
a950a13c30
commit
3b749a39a7
4 changed files with 25 additions and 12 deletions
|
@ -109,7 +109,7 @@ namespace NzbDrone.Core.Providers
|
|||
if (!_diskProvider.FileExists(episodeFile.Path))
|
||||
{
|
||||
Logger.Trace("File {0} no longer exists on disk. removing from database.", episodeFile.Path);
|
||||
_repository.Delete<EpisodeFile>(episodeFile);
|
||||
_repository.Delete<EpisodeFile>(episodeFile.EpisodeFileId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue