mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Mark invalid series downloads with NzbDrone prefix.
Fixed broken tests.
This commit is contained in:
parent
951eb4523d
commit
4604bbd821
3 changed files with 5 additions and 2 deletions
|
@ -86,6 +86,9 @@ namespace NzbDrone.Core.Providers.Jobs
|
|||
if (series == null)
|
||||
{
|
||||
Logger.Warn("Unable to Import new download [{0}], series doesn't exist in database.", subfolder);
|
||||
|
||||
//Rename the Directory so it's not processed again.
|
||||
_diskProvider.MoveDirectory(subfolderInfo.FullName, Path.Combine(subfolderInfo.Parent.FullName, "_NzbDrone_" + subfolderInfo.Name));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue