First and foremost, let me say it's a great project and I enjoy using it very much!
Now, for the bug: if I use the new cool delayed scheduling with newzbin, sabnzbd reports "URL Fetching failed; Unusable NZB file". I did some research and this is due to the following bug:
The sabdnzbd code determines whether to use the 'addurl' or 'addid' sabnzbd API by checking if there's an 'id' property on the item (normally Newzbin items have the property 'id' on them).
However, the DelayedItem class doesn't have an 'id' property, and when its passed to the queue the queue uses 'addurl' instead of 'addid'.
I didn't have too much time to fix this (probably involves adding a column to the DB to store the ID, etc.), so I created a quick & dirty fix:
In source/item.py, under DelayedItem's init function I've added:
match = re.search('browse/post/(\d+)/nzb', url)
if match is not None:
self.id = match.group(1)
You also need to add 'import re' at the file's beginning.
Again - great project! I hope I'll have some time later on to assist a bit and maybe add some new features...
Hi there,
First and foremost, let me say it's a great project and I enjoy using it very much!
Now, for the bug: if I use the new cool delayed scheduling with newzbin, sabnzbd reports "URL Fetching failed; Unusable NZB file". I did some research and this is due to the following bug:
I didn't have too much time to fix this (probably involves adding a column to the DB to store the ID, etc.), so I created a quick & dirty fix: In source/item.py, under DelayedItem's init function I've added: match = re.search('browse/post/(\d+)/nzb', url) if match is not None: self.id = match.group(1) You also need to add 'import re' at the file's beginning.
Again - great project! I hope I'll have some time later on to assist a bit and maybe add some new features...
Thanks, Tal