Page 2 of 2
Re: For Streaming: Direct Download to Folder or Delayed Post-Processing
Posted: February 24th, 2011, 3:30 pm
by shypike
Sure.
We have more bizarre options too
Re: For Streaming: Direct Download to Folder or Delayed Post-Processing
Posted: March 10th, 2011, 7:04 pm
by Usenet
Managed to get streaming working. If you could squeeze in the streaming option per job for 0.6 would be amazing!
Re: For Streaming: Direct Download to Folder or Delayed Post-Processing
Posted: March 11th, 2011, 2:34 am
by shypike
Sorry, not for 0.6.0 otherwise we'll never get it finished.
In front of the queue for the minor release after that.
Re: For Streaming: Direct Download to Folder or Delayed Post-Processing
Posted: March 15th, 2011, 4:39 pm
by Usenet
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.
Re: For Streaming: Direct Download to Folder or Delayed Post
Posted: July 9th, 2011, 12:35 pm
by indolering
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?
Thank you,
-Zach
Re: For Streaming: Direct Download to Folder or Delayed Post
Posted: July 9th, 2011, 4:55 pm
by shypike
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.
Re: For Streaming: Direct Download to Folder or Delayed Post
Posted: October 27th, 2011, 7:35 am
by Usenet
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
?
Re: For Streaming: Direct Download to Folder or Delayed Post
Posted: October 27th, 2011, 9:30 am
by shypike
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.
Re: For Streaming: Direct Download to Folder or Delayed Post
Posted: October 27th, 2011, 9:51 am
by Usenet
Hi,
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?
Re: For Streaming: Direct Download to Folder or Delayed Post
Posted: October 27th, 2011, 5:07 pm
by shypike
Check the api info. There is a move command.
It requires the file's id (not the name), the old and new position.
Re: For Streaming: Direct Download to Folder or Delayed Post
Posted: October 27th, 2011, 5:17 pm
by Usenet
Edit:
I think we are talking about two different things but I still appreciate your help
By running:
Code: Select all
api?mode=get_files&output=xml&value=SABnzbd_nzo_zt2syz
I get something like
Code: Select all
...
<file>
<status>active</status>
<mb>98.27</mb>
<age>31d</age>
<bytes>103048697.00</bytes>
<filename>
Movie.part010.rar
</filename>
<mbleft>96.76</mbleft>
<nzf_id>SABnzbd_nzf_hhrqxz</nzf_id>
<id>11</id>
</file>
...
Running this
Code: Select all
http://127.0.0.1:8080/sabnzbd/nzb/SABnzbd_nzo_zt2syz/bulk_operation?session=*******&action_key=Top&SABnzbd_nzf_hhrqxz=on
does just what I want, placing the Movie.part010.rar in the top of the individual files of the queue object SABnzbd_nzo_zt2syz
The bulk_operation API is not part of the API documentation, so is there any other means to achieve the same thing?
Re: For Streaming: Direct Download to Folder or Delayed Post
Posted: October 28th, 2011, 6:18 am
by Usenet
Re: For Streaming: Direct Download to Folder or Delayed Post
Posted: January 15th, 2012, 4:26 am
by Usenet
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...
Re: For Streaming: Direct Download to Folder or Delayed Post
Posted: January 15th, 2012, 5:29 am
by shypike
It's not going to be removed.
It's just that we haven't a clear idea yet how to present this in a user-friendly way.
Re: For Streaming: Direct Download to Folder or Delayed Post
Posted: January 15th, 2012, 5:33 am
by Usenet
Great news! As long as it stays I guess it could be left under hood