Page 1 of 1

add a "name" option to api for addurl

Posted: November 27th, 2008, 11:43 pm
by xxhds
I have been working with some scripts to try and automate my downloading.  While its no fault of sabnzbd+, sometimes my rss feed messes up and has just numbers instead of a release name.  Is there any way an option could be added to give the nzb a new name as sabnzbd saves the file and adds it to the queue?

http://host:port/sabnzbd/api?mode=addurl&name=&cat=&pp=&script=

such as &filename=

currently I'm using a work around to wget the nzb to a temporary folder, and if the name is just numbers rename it using the imdb name and then move the nzb to a watched folder.  It would just help me clean things up, and also allow me to run my script remotely if the need arises.

Thanks!
xxhds