Hi there,
I hope I'm in the right topic, cause I'm new here...
I tried the follwing API-command and indeed received an XML file:
http://host:port/sabnzbd/api?mode=qstatus&output=xml
The content of the XML-file was :
Login
Username:
Password:
At that moment SABnzbd+ was downloading, so expected an other content in XML.
What am I missing?
cheers,
Herman
API and XML
Re: API and XML
Try:
http://host/sabnzbd/api?mode=qstatus&ou ... URPASSWORD
Replacing YOURUSERNAME and YOURPASSWORD with your details..
http://host/sabnzbd/api?mode=qstatus&ou ... URPASSWORD
Replacing YOURUSERNAME and YOURPASSWORD with your details..
Re: API and XML
thank you! Reason I was asking this is that I have a connection that drops sometimes and I can't find a way to autoresume a download. Therefore I'm tring to build an application in Delphi to monitor this, cause I saw that there is a api-call for resuming a download...
If you have any firther suggestions, they are welcome
If you have any firther suggestions, they are welcome
Re: API and XML
I'm not sure resume will function as you want, it just unpaused the current download queue.
Does SABnzbd not download after your connection drops? Try setting a smaller timeout for your servers in config>servers.
Does SABnzbd not download after your connection drops? Try setting a smaller timeout for your servers in config>servers.
Re: API and XML
I'll try the smaller timeout tonight. I have to do some maintenance at my server first.
I had the timeout set at 120 now, and after SABnzbd gets in paused-state, I have to resume manually...
I had the timeout set at 120 now, and after SABnzbd gets in paused-state, I have to resume manually...