Page 1 of 1

RAR decompress support?

PostPosted: Wed Feb 06, 2008 2:50 am
by mw
Having support for RAR decompression for uploaded content would be fantastic... ZIP support is very useful, but RAR would be even better.

I'm willing to pony up some more money to make it a priority ;)

Re: RAR decompress support?

PostPosted: Wed Feb 06, 2008 5:21 pm
by mars96
mw wrote:Having support for RAR decompression for uploaded content would be fantastic... ZIP support is very useful, but RAR would be even better.

I'm willing to pony up some more money to make it a priority ;)


ZIP and gzip are build into Java, so it's very easy to support. With RAR this is a little bit different.
To support other formats there has to be a configuration page like for the transcoding process where you have to specify the name of the tool and it's parameters.
It's still easy to implement but you need some more time to do it.

Update - 2007-07-27:
1.) There is a Java implementation of UnRAR available at sourceforge:
http://sourceforge.net/projects/java-unrar/

2.) I've not looked into the above code but it seems here is also an example how to use it:
http://forums.sun.com/thread.jspa?messa ... 37#9938837

With the above it's very easy to add RAR extraction support to subsonic.
You basically only need to add the libs and call the Java build-in unzip or if the file has the extension ".RAR" the unrar implementation from the sf.net project.

PostPosted: Sun Jul 11, 2010 3:01 pm
by fivestones
Has anybody done this? Any more specifics on how to get it running?

PostPosted: Tue Mar 01, 2011 7:40 pm
by 3R3
+1 for the feature request!
It's very annoying to force my dear uploaders not use their favourite archive format ;)
Also, RAR is just nice.

PostPosted: Mon Apr 11, 2011 9:42 am
by balu
+1, it would be a great addition

Re: RAR decompress support?

PostPosted: Mon Dec 05, 2011 12:12 am
by Thystan
Hey!

I'm currently using RarFileSource to play my .rar files without unrarring them first.

RarFIleSource creates a DirectShow filter. I am wondering if I can make Subsonic use this filter, to stream the video inside the .rar files.

Could I "learn" this DIrectShow filter to Subsonic directly? Or would I need extra software, like dsj ?
Dsj is a DirectShow <> Java wrapper: http://www.humatic.de/htools/dsj.htm

I did not open a new topic, because we are all trying to accomplish the same thing.
And I for one don't know how to edit Java at all.

Any help would be greatly appreciated.

Warm regards,
Thystan