don't remove pending downloads
This commit is contained in:
parent
7220fb4cdd
commit
fb04c9fef0
2 changed files with 5 additions and 1 deletions
|
|
@ -201,6 +201,8 @@ def run_scan():
|
|||
if gone:
|
||||
for id in gone:
|
||||
i = Item.get(id)
|
||||
if i.info.get('mediastate') == 'transferring':
|
||||
continue
|
||||
path = i.get_path()
|
||||
if not path or not os.path.exists(path):
|
||||
logger.debug('cleaning orphaned record %s %s', i, path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue