Hi,
I'm trying to use /api?addurl with Newzbin, which results in: "WARNING [sabnzbd.misc] Cannot read c:\docume~1\admini~1\lokale~1\temp\tmpstrnjx"
addid for newzbin works fine, and addurl works fine from other nzb-sites (ex: tvnzb.com), so I'm guessing there's some specific parsing concerning newzbin-addresses from sabnzbd.
Note that I get the 'ok'-web page from sabnzbd every time.
I've checked the cache, temporary files etc.
Any suggestions?
Version: 0.4.5
OS: Windows XP SP2
Install-type: Windows Installer
Skin (if applicable): Smpl (Same problem on all skins.)
Firewall Software: XP SP2 Firewall, + Checkpoint
Are you using IPV6? no
Is the issue reproducible? yes
Using addurl with newzbin
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: Using addurl with newzbin
You cannot use newzbin URL-s, due to the authentication required.
Use newzbin report numbers instead.
Just type in the report number (the long numeric one or the short alphanumerical).
In what context do you need the newzbin URL?
Use newzbin report numbers instead.
Just type in the report number (the long numeric one or the short alphanumerical).
In what context do you need the newzbin URL?
Re: Using addurl with newzbin
It's probably easier to just use addid instead of addurl for all your adding. AddID has special code which will allow for either the newzbin reportid, the newzbin url, or any other normal url you would use for addurl.
We should probably replicate the code for addurl so it behaves the same.
Edit: Strike that, seems that functionality is only in 0.5
I suggest just removing the reportid from the newzbin url and using addid just for the newzbinid
Does adding the report id on the main page work fine?
We should probably replicate the code for addurl so it behaves the same.
Edit: Strike that, seems that functionality is only in 0.5
I suggest just removing the reportid from the newzbin url and using addid just for the newzbinid
Does adding the report id on the main page work fine?
Last edited by switch on December 5th, 2008, 9:35 am, edited 1 time in total.
Re: Using addurl with newzbin
Well, I'm using a modified standard_menu.ini with Opera, so I can quickly right-click on a nzb-link and send it to sabnzbd on a different computer. (See attachment.)
It takes that link and sends it to "http://myserv:myport/sabnzbd/api?mode=addurl&name=%l&cat=movies" / tv
It's just a lot quicker than saving the file to the watched folder / subfolder on the server.
Thanks for your reply.
switch; addid works fine on both the /api? and in the main site. Just don't know how I can extract it via Opera's context menu :-)
It takes that link and sends it to "http://myserv:myport/sabnzbd/api?mode=addurl&name=%l&cat=movies" / tv
It's just a lot quicker than saving the file to the watched folder / subfolder on the server.
Thanks for your reply.
switch; addid works fine on both the /api? and in the main site. Just don't know how I can extract it via Opera's context menu :-)
Re: Using addurl with newzbin
Try:
edit: changed above code block
Code: Select all
http://myserv/sabnzbd/addID?id=%l&cat=default
Last edited by switch on December 5th, 2008, 9:43 am, edited 1 time in total.
Re: Using addurl with newzbin
%l is the complete url on the link that I'm right-clicking, so the resulting url is;
http://myserv:myport/sabnzbd/api?mode=addid&id=http://www.newzbin.com/browse/post/xxxxxxxx/nzb&cat=movies
..which results in this;
Traceback (most recent call last):
File "cherrypy\_cphttptools.pyo", line 126, in _run
File "cherrypy\filters\__init__.pyo", line 151, in applyFilters
File "sabnzbd\interface.pyo", line 234, in beforeFinalize
TypeError: api() got an unexpected keyword argument 'id'
(/addid?id= results in "The path '/sabnzbd/addid' was not found." so I'm guessing you meant /api?mode=addid&id=)
edit: Oh, case-sensitive. That works!
Thanks!
http://myserv:myport/sabnzbd/api?mode=addid&id=http://www.newzbin.com/browse/post/xxxxxxxx/nzb&cat=movies
..which results in this;
Traceback (most recent call last):
File "cherrypy\_cphttptools.pyo", line 126, in _run
File "cherrypy\filters\__init__.pyo", line 151, in applyFilters
File "sabnzbd\interface.pyo", line 234, in beforeFinalize
TypeError: api() got an unexpected keyword argument 'id'
(/addid?id= results in "The path '/sabnzbd/addid' was not found." so I'm guessing you meant /api?mode=addid&id=)
edit: Oh, case-sensitive. That works!
Thanks!
Re: Using addurl with newzbin
You should only put the XXXXXX part.
So, just the report number. Not the full URL.
http://myserv:myport/sabnzbd/api?mode=addid&id=xxxxxxxx&cat=movies
So, just the report number. Not the full URL.
http://myserv:myport/sabnzbd/api?mode=addid&id=xxxxxxxx&cat=movies
Re: Using addurl with newzbin
The full url will work fine for /sabnzbd/addIDshypike wrote: You should only put the XXXXXX part.
So, just the report number. Not the full URL.
http://myserv:myport/sabnzbd/api?mode=addid&id=xxxxxxxx&cat=movies
Re: Using addurl with newzbin
shypike/switch: As I was trying to say it now works fantastic! Thanks for all your help!mariush wrote: edit: Oh, case-sensitive. That works!
Thanks!


