Think I found a workaround for the individual job streaming option. The default setting for post processing is +delete and this will cause SABnzbd to proceed as usual. If running "api?mode=change_opts&value=SABnzbd_nzo_zt2syz&value2=0" the job will fail. Then running "api?mode=retry&value=SABnzbd_nzo_zt2syz" the job will be repaired.
Usenet wrote:Think I found a workaround for the individual job streaming option. The default setting for post processing is +delete and this will cause SABnzbd to proceed as usual. If running "api?mode=change_opts&value=SABnzbd_nzo_zt2syz&value2=0" the job will fail. Then running "api?mode=retry&value=SABnzbd_nzo_zt2syz" the job will be repaired.
Could you elucidate on this a bit? Did you get it working, and if so, a post processing script or instructions would be nice : )
I couldn't find the streaming option in the normal SAB switches, did this make it into 6.5?
If you set the (hidden) option "allow_streaming" (see here: http://wiki.sabnzbd.org/configure-special )
That will make any job that has "download" as post processing option, remain in "incomplete".
At the end of the download, the job enters History as a "Failed" job, so that everything will remain in "incomplete".
Later you can choose to delete or retry in +D mode.
It's an "experimental" feature without much support.
I'm back!
Streaming of nzb's using XBMC has been working great for quite some time now. However there is one issue with .mkv's where XBMC wants to seek to the last rar file. Nothing of this is of course SAB's problem. I just want to download the first (done) and the last rar, then the rest.
Is there any API call I could use to change the order of individual files in a nzb? Since it's doable through the web UI, there must exist other ways as well or ?
It is possible through the API, but not an easy thing to do. http://wiki.sabnzbd.org/api
You'd need multiple API calls.
Designing this kind of specific behavior into SABnzbd is a bit bizarre.
I'll look into it, but consider it a low prio, especially because I'm not sure this
will ever leave the "experimental" stage.
I already today list the individual files, so that call is done (api?mode=get_files&output=xml&value=SABnzbd_nzo_zt2syz
). But I dont find any API info on how to move the file X.99r to the top of the job SABnzbd_nzo_zt2syz's content list and thus be downloaded before X.02r. Follow what I'm trying to do?
Will the "allow_streaming = 1" go into the official documentation or will it stay experimental?
The nzbs.org addon for XBMC is totally dependent on this...