For Streaming: Direct Download to Folder or Delayed Post-Processing
Re: For Streaming: Direct Download to Folder or Delayed Post-Processing
Sure.
We have more bizarre options too
We have more bizarre options too
Re: For Streaming: Direct Download to Folder or Delayed Post-Processing
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
Sorry, not for 0.6.0 otherwise we'll never get it finished.
In front of the queue for the minor release after that.
In front of the queue for the minor release after that.
Re: For Streaming: Direct Download to Folder or Delayed Post-Processing
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.
-
- Newbie
- Posts: 3
- Joined: July 16th, 2008, 12:08 am
Re: For Streaming: Direct Download to Folder or Delayed Post
Could you elucidate on this a bit? Did you get it working, and if so, a post processing script or instructions would be nice : )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.
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
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.
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
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 ?
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
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.
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
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?
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
Check the api info. There is a move command.
It requires the file's id (not the name), the old and new position.
It requires the file's id (not the name), the old and new position.
Re: For Streaming: Direct Download to Folder or Delayed Post
Edit:
I think we are talking about two different things but I still appreciate your help
By running:
I get something like
Running this
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?
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
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>
...
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
Looks like we discussed the issue here http://forums.sabnzbd.org/viewtopic.php ... 258#p46258 to...
Re: For Streaming: Direct Download to Folder or Delayed Post
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...
The nzbs.org addon for XBMC is totally dependent on this...
Re: For Streaming: Direct Download to Folder or Delayed Post
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.
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
Great news! As long as it stays I guess it could be left under hood