Closed barbequesauce closed 6 years ago
Just had it happen again. NZBGet reporting 34.9MB
$ ls -al
total 34680
drwxrwxrwx+ 2 nzbget nzbget 4096 Aug 2 12:55 .
drwxrwxrwx+ 5 nzbget nzbget 12288 Aug 2 12:55 ..
-rw-rw-rw- 1 nzbget nzbget 35493483 Aug 2 12:55 Mister Miracle 010 (2018) (digital) (Oroboros-DCP).cbr
Possible fix in #2064
Current on development branch, running on Raspbian Jessie from git.
Had three files snatched from dog this morning and sent to nzbget. All three went to success. CDH picked up one of the three and post processed correctly; the other two didnt.
Looking at the code, I'm fairly confident that the issue is in line 175 of nzbget.py:
if all(['SUCCESS' in hq[0]['Status'], hq[0]['DownloadedSizeMB'] == hq[0]['FileSizeMB']]):
My theory: We have success, but I'm thinking NZBGet's reported dowloaded size is differing from the actual size due to disk geometry/block size or something tricky...