API: Addurl with nzbname

Get help with all aspects of SABnzbd
Forum rules
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.
Post Reply
DWELLER_ZA
Newbie
Newbie
Posts: 1
Joined: June 8th, 2013, 3:11 am

API: Addurl with nzbname

Post by DWELLER_ZA »

Hi Guys,

My first post :)

I've been using SABNZBd for a few years now.
I've written my own post processing scripts as well as a program that uses the API.

I've run into an issue where the API call to add a NZB by URL doesn't want to accept the name I gave it.

Version: 0.7.11
OS: Windows 7 Pro x64 SP1
Install-type: Windows Installer
Skin Default
Firewall Software: None
Are you using IPV6? No
Is the issue reproducible? Yes

The API suggest one uses this format: api?mode=addurl&name=http://www.example.com/example.nzb&pp=3 ... e=NiceName

My string is built up like this: http://127.0.0.1:8080/sabnzbd/api?mode= ... priority=0"

With nzbname being an encoded http path, SABNAME being just a test string, sabKey being the API key.
When I execute the built up string, SABNZBd reports 'ok' and it downloads and imports the NZB but completely ignoring the name I specified.
The NZB comes from a private site called newshost.za.net. Greetings from South Africa ;)

I found this thread from 2010, which seems like a similar / the same issue: https://forums.sabnzbd.org/viewtopic.ph ... 62&p=29955

So the questions:

1. Is my usage of the &nzbname correct?
2. Is this a known issue?
3. Is there a workaround?

Thanks and Regards
Last edited by DWELLER_ZA on June 9th, 2013, 9:26 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: API: Addurl with nzbname

Post by shypike »

What you do is all correct and it works when I test it with other sites.
As I have no access to your indexer, I cannot test.
Can you PM me a full URL for an NZB. At least, when you trust me enough with the embedded authorization data :)
Post Reply