Integrated stream_unrar

Want something added? Ask for it here.
Post Reply
atlas
Newbie
Newbie
Posts: 2
Joined: August 24th, 2008, 5:47 pm

Integrated stream_unrar

Post by atlas »

http://code.google.com/p/stream-unrar/

this FOSS watches a folder for multipart .rar files and incrementally extracts them to another folder. It will wait for the next segment indefinately. By going to the sabnzbd incomplete folder and using the command
$ stream_unrar -m -e
I was able to open the file with vlc flawlessly.

so basically i had to wait 30 seconds before a vid started playing instead of waiting for the whole thing. the downside is that broken rar's will crash the program... but this has rarely happened to me.

As far as I know, there is one windows newsreader called NZBplayer that does this fairly well. I have used it but i'm on Ubuntu 8.04 and it does not work with WINE.

I guess the best way to add this in the form of a UI is having a second post-processing dialog that looks like this:

+stream +repair +unpack + delete

an option under "Switches" can initiate a player such as vlc automatically upon selecting the stream option from the queue page.


cheers
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Integrated stream_unrar

Post by switch »

Streaming is something that will be addressed in time, the problems lie in the multitude of different options available and the fact that we have to find something that is good for users of all operating systems and users running sabnzbd locally and remotely.

I have played with adding local streaming using vlc/mplayer and got it to work, I just need to work out internal details to get rid issues with using categories and post-processing. Also streaming Usenet is never going to be perfect due to the vast amount of missing files (compared to when using other protocols).

Also see this post from an earlier topic on this subject:
The fact that sabnzbd is put on machines both locally and remotely and on different operating systems makes the implementation of some sort of streaming a challenge.

So far I have looked at:

    * Auto-playing items in xbmc using their web-api to start playing a rar set. Failed because they do not allow rar sets to be played over the api, only finished files such as .avi. Also requires a specific setup (folders correctly shared and need to enter in the specific share path)
    * A +Stream option that puts the file in their final location as they as each file had been downloaded. Not added because it breaks post-processing code. Could be made to work, but leaves the playing of rar files up to the end user.
    * Streaming already downloaded files over the web-ui using divx web player. Failed because the divx web player would not play files served by cherrypy2 for some unknown reason. Possible to stream files as they are downloaded if I can get this to work; waiting for cherrypy3 before I try however.
http://forums.sabnzbd.org/http://forums ... 4316#p4316
Post Reply