Native Flac support and more control over Users accounts

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Native Flac support and more control over Users accounts

Postby mynameis905 » Sat Feb 05, 2011 9:35 pm

Hello! First thank you for this program. It's brilliant!

My entire library is ripped to FLAC and I would love to be able to listen to those files on my home network in their full resolution without the transcode to mp3. I would be able to quit using Winamp all together and just use Subsonic all the time whether I'm at home or on the go.

I would also like to be able to control which music folders each user can see and access. Same goes for playlists. I don't want to have everything exposed to all users, all the time.

Thanks for considering!
mynameis905
 
Posts: 6
Joined: Sat Jan 15, 2011 10:03 pm

Postby ccandreva » Sun Feb 06, 2011 2:43 pm

Native support would be great, but you can work around this, by setting up a transcoder for flac to wav:

Step 1: ffmpeg -loglevel error -v 0 -i %s -f wav -
Step 2: lame --decode - -

The second step shouldn't be strictly necessary, but I've found that Subsonic doesn't work with the direct output of fmpeg, only from lame. That lame command acts as a pass-through and doesn't change the stream at all.

I think the reason there isn't native support is that Java itself doesn't have that support. IMHO, the best solution would be for the Jukebox player to control an external player directly. I know both mplayer and VLC can accept commands from a pipe, so it should be possible (and cross-platform) to do this with either.
User avatar
ccandreva
 
Posts: 104
Joined: Fri May 28, 2010 8:22 pm

Postby mynameis905 » Wed Feb 09, 2011 5:43 am

Thanks! Had a little trouble at first. I think there might be an extra hyphen in Step 2 or maybe I was doing something wrong but got it to work once I removed one of the leading hyphens from Step 2.

lame -decode - -

Anyway, seems to work great now. Thanks!
mynameis905
 
Posts: 6
Joined: Sat Jan 15, 2011 10:03 pm

Postby ccandreva » Wed Feb 09, 2011 1:18 pm

That may be a difference on Windows. On Unix, long-form options take a '--', single letter options a '-'. I know my setup has the '--decode'

Glad it works for you.
User avatar
ccandreva
 
Posts: 104
Joined: Fri May 28, 2010 8:22 pm

Postby mynameis905 » Tue Mar 01, 2011 4:36 am

I just wanted to do a quick follow up on this. After I spent a bit more time with this I realized that having two hypens (--decode - -) does work but only in an external player, not the web player. Having a single leading hypen (-decode - -) appears to work in the web player but when you look at the log it's just doing a default 128k mp3 instead of a wav.

I would still love to see native FLAC support in the web player if that's possible.

Thanks again!
mynameis905
 
Posts: 6
Joined: Sat Jan 15, 2011 10:03 pm

Postby muiz » Tue Jul 19, 2011 1:50 am

thx now my flac work again with lame -decode - -
muiz
 
Posts: 86
Joined: Wed Feb 02, 2011 11:52 am


Return to Feature Requests

Who is online

Users browsing this forum: Bing [Bot] and 32 guests