Page 1 of 1

6.1.1 FLAC and JukeBox don't work [SOLVED]

PostPosted: Wed May 31, 2017 11:05 pm
by xnor
I just updated to the most recent subsonic release, 6.1.1, on debian.
Now neither FLAC nor Jukebox mode work.. I have the recommended transcode settings, my log shows me this:

(/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: /var/subsonic/transcode/ffmpeg: Syntax error: "(" unexpected

mp3 files seem to play fine via normal 'web' players.

help?

Re: 6.1.1 FLAC and JukeBox don't work

PostPosted: Thu Jun 01, 2017 12:44 am
by Jägs
This may have been fixed before I downloaded 6.1.1, but I'm running it on Ubuntu 16.04, and am having no problems with FLAC files.

Re: 6.1.1 FLAC and JukeBox don't work [SOLVED]

PostPosted: Thu Jun 01, 2017 4:24 pm
by xnor
Okay, oops.. I forgot that since I'm running on a raspi I had to copy my own build of ffmpeg over the subsonic shipped one. Just did that and its working again... Sorry for the noise!

once again,
if you are using a raspberry-pi, the shipped ffmpeg doesn't work.

Re: 6.1.1 FLAC and JukeBox don't work [SOLVED]

PostPosted: Sat Feb 10, 2018 9:03 pm
by tberman333
I'm having the same problem with a install of 6.1.3 on a Raspberry Pi. I just looked and could not find good instructions on how to replace the shipped ffmpeg. Can you share how you got around this problem?

Thanks!

Re: 6.1.1 FLAC and JukeBox don't work [SOLVED]

PostPosted: Sun Feb 11, 2018 3:13 pm
by tberman333
I was able to get this working... here is how in case anyone else is having problems.

1. installed FLAC on the PI using:

sudo apt-get update
sudo apt-get install flac

2. created symlinks to flac and lame for subsonic:

sudo ln -fs /usr/bin/flac /var/subsonic/transcode
sudo ln -fs /usr/bin/lame /var/subsonic/transcode

3. setup the following transcode rule for FLAC (note, first remove FLAC from the sources of the default ffmpeg transcode rule):

convert from: flac
convert to: mp3
step 1: flac --silent --decode --stdout %s
step 2: lame --silent -h -b %b -

restart subsonic service...

done!