Adding nzb by url does not set source url

Report & discuss bugs found in SABnzbd

Adding nzb by url does not set source url

Postby Evinyatar » December 5th, 2011, 8:52 am

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.
Evinyatar
Newbie
Newbie
 
Posts: 7
Joined: December 5th, 2011, 8:31 am

Re: Adding nzb by url does not set source url

Postby shypike » December 5th, 2011, 11:22 am

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.
User avatar
shypike
Administrator
Administrator
 
Posts: 16541
Joined: January 18th, 2008, 1:49 pm

Re: Adding nzb by url does not set source url

Postby shypike » December 12th, 2011, 2:06 pm

It will be in 0.7.0
User avatar
shypike
Administrator
Administrator
 
Posts: 16541
Joined: January 18th, 2008, 1:49 pm

Re: Adding nzb by url does not set source url

Postby Evinyatar » May 7th, 2012, 3:24 am

Been using the beta for a few weeks now and this doesn't seem to be working yet.
Evinyatar
Newbie
Newbie
 
Posts: 7
Joined: December 5th, 2011, 8:31 am

Re: Adding nzb by url does not set source url

Postby shypike » May 7th, 2012, 8:48 am

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.
User avatar
shypike
Administrator
Administrator
 
Posts: 16541
Joined: January 18th, 2008, 1:49 pm

Re: Adding nzb by url does not set source url

Postby Evinyatar » May 7th, 2012, 9:18 am

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?
Evinyatar
Newbie
Newbie
 
Posts: 7
Joined: December 5th, 2011, 8:31 am

Re: Adding nzb by url does not set source url

Postby shypike » May 7th, 2012, 9:28 am

They do, have you tried?
User avatar
shypike
Administrator
Administrator
 
Posts: 16541
Joined: January 18th, 2008, 1:49 pm

Re: Adding nzb by url does not set source url

Postby Evinyatar » May 7th, 2012, 10:10 am

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?
Evinyatar
Newbie
Newbie
 
Posts: 7
Joined: December 5th, 2011, 8:31 am

Re: Adding nzb by url does not set source url

Postby shypike » May 7th, 2012, 2:39 pm

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.
User avatar
shypike
Administrator
Administrator
 
Posts: 16541
Joined: January 18th, 2008, 1:49 pm

Re: Adding nzb by url does not set source url

Postby Evinyatar » May 8th, 2012, 3:08 am

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
Evinyatar
Newbie
Newbie
 
Posts: 7
Joined: December 5th, 2011, 8:31 am

Re: Adding nzb by url does not set source url

Postby Evinyatar » May 8th, 2012, 5:01 am

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 :)
Evinyatar
Newbie
Newbie
 
Posts: 7
Joined: December 5th, 2011, 8:31 am

Re: Adding nzb by url does not set source url

Postby shypike » May 8th, 2012, 12:45 pm

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?
User avatar
shypike
Administrator
Administrator
 
Posts: 16541
Joined: January 18th, 2008, 1:49 pm

Re: Adding nzb by url does not set source url

Postby Evinyatar » May 9th, 2012, 2:43 am

Ah, right. I'm using Plush, and I was looking for the "Source URL" icon which still only appears for newzbin stuff.
Evinyatar
Newbie
Newbie
 
Posts: 7
Joined: December 5th, 2011, 8:31 am


Return to Bug Reports