Page 1 of 1
Adding nzb by url does not set source url
Posted: December 5th, 2011, 7:52 am
by Evinyatar
Version: 0.6.11
OS: Ubuntu Lucid
Install-type: ppa
Skin (if applicable): Default
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible? yes
When I add a nzb by url (using the addurl api call) I was expecting that url to be saved in the history as the source url for that nzb, like how it does this for nzb's from Newzbin. Unfortunately that's not the case; the source url stays empty. My app keeps track of new movie releases on newzbin and nzbmatrix, and records which releases (and hence corresponding movies) I've already downloaded. For newzbin it uses the source url to identify the release, but for nzbmatrix there doesn't seem to be a reliable way right now. Just having the source url there would be of great use.
Re: Adding nzb by url does not set source url
Posted: December 5th, 2011, 10:22 am
by shypike
There's no generic save of the source.
Only newzbin support has inherited that from the past, hard-coded, so not generally useful.
This all dates back from the time when newzbin was the significant player.
We might add it in a more generic way in a future release.
Re: Adding nzb by url does not set source url
Posted: December 12th, 2011, 1:06 pm
by shypike
It will be in 0.7.0
Re: Adding nzb by url does not set source url
Posted: May 7th, 2012, 2:24 am
by Evinyatar
Been using the beta for a few weeks now and this doesn't seem to be working yet.
Re: Adding nzb by url does not set source url
Posted: May 7th, 2012, 7:48 am
by shypike
It's there, but only when you let SABnzbd get the NZB from newzbin.
Click on a History entry and look at the line marked "Source".
However, looking at it now I see that the formatting is a bit garbled, I'll fix that.
Re: Adding nzb by url does not set source url
Posted: May 7th, 2012, 8:18 am
by Evinyatar
It works fine for Newzbin reports (which I grab using addid), but I thought the point of making the "source" field generic was that entries added using 'addurl' would also record the source url?
Re: Adding nzb by url does not set source url
Posted: May 7th, 2012, 8:28 am
by shypike
They do, have you tried?
Re: Adding nzb by url does not set source url
Posted: May 7th, 2012, 9:10 am
by Evinyatar
To be sure I just tried it again using an nzbmatrix URL and it's still not working; although I must add I'm using the nzb-details link instead of the nzb-download link. I know sabnzbd resolves the former into the latter, but could that be the issue?
Re: Adding nzb by url does not set source url
Posted: May 7th, 2012, 1:39 pm
by shypike
Hey, I get the source URL in the history.
How do you get the NZB get into SABnzbd?
Using a plugin like nzbdStatus?
In that case, SABnzbd doesn't know the NZB came from nzbmatrix.
Re: Adding nzb by url does not set source url
Posted: May 8th, 2012, 2:08 am
by Evinyatar
My webapp adds them using the addurl api call:
Code: Select all
/sabnzbd/api?mode=addurl&name=http://nzbmatrix.com/nzb-details.php?id=xxx&cat=movies&nzbname=yyy&output=json&apikey=zzz
Re: Adding nzb by url does not set source url
Posted: May 8th, 2012, 4:01 am
by Evinyatar
Okay nevermind, the url's are there when I call the "history" api call. I was expecting them to appear in the web interface as well but apparently that's something else. But this is good enough for my app, so thanks

Re: Adding nzb by url does not set source url
Posted: May 8th, 2012, 11:45 am
by shypike
Evinyatar wrote:I was expecting them to appear in the web interface as well but apparently that's something else.
They do show up, click on the history entry.
Which skin are you using?
Re: Adding nzb by url does not set source url
Posted: May 9th, 2012, 1:43 am
by Evinyatar
Ah, right. I'm using Plush, and I was looking for the "Source URL" icon which still only appears for newzbin stuff.