mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 09:49:00 +00:00
Do not reparse episode files
This commit is contained in:
parent
4c1e6e14aa
commit
236316c402
1 changed files with 8 additions and 8 deletions
|
@ -66,14 +66,14 @@ public void Execute(CleanMediaFileDb message)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
var localEpsiode = _parsingService.GetEpisodes(episodeFile.Path, series);
|
// var localEpsiode = _parsingService.GetEpisodes(episodeFile.Path, series);
|
||||||
|
//
|
||||||
if (localEpsiode == null || episodes.Count != localEpsiode.Episodes.Count)
|
// if (localEpsiode == null || episodes.Count != localEpsiode.Episodes.Count)
|
||||||
{
|
// {
|
||||||
_logger.Trace("File [{0}] parsed episodes has changed, removing from db", episodeFile.Path);
|
// _logger.Trace("File [{0}] parsed episodes has changed, removing from db", episodeFile.Path);
|
||||||
_mediaFileService.Delete(episodeFile);
|
// _mediaFileService.Delete(episodeFile);
|
||||||
continue;
|
// continue;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue