Browse Source

Show history status if par2 was aborted due to Disk full

tags/2.1.0RC1
Safihre 8 years ago
parent
commit
072f65dd9c
  1. 8
      sabnzbd/newsunpack.py

8
sabnzbd/newsunpack.py

@ -1527,6 +1527,14 @@ def PAR_Verify(parfile, parfile_nzf, nzo, setname, joinables, classic=False, sin
nzo.set_unpack_info('Repair', msg)
nzo.status = Status.FAILED
elif 'There is not enough space on the disk' in line:
# Oops, disk is full!
msg = T('Repairing failed, %s') % T('Disk full')
nzo.fail_msg = msg
msg = u'[%s] %s' % (unicoder(setname), msg)
nzo.set_unpack_info('Repair', msg)
nzo.status = Status.FAILED
# File: "oldname.rar" - is a match for "newname.rar".
elif 'is a match for' in line:
m = _RE_IS_MATCH_FOR.search(line)

Loading…
Cancel
Save