Page 1 of 1

[Solved] Jukebox mode not working (ubuntu 14.04)

PostPosted: Fri Jul 24, 2015 1:58 pm
by dbozec
Hi,

I'm trying to get jukebox working on my ubuntu 14.04.
I tried several thing found on the web without success.

My version of Subsonic is 5.2.1

I configured my sound card with this line in /var/subsonic/subsonic.sh after -verbose:gc :
Code: Select all
  '-Djavax.sound.sampled.SourceDataLine=#PCH [plughw:0,0]' \


I added links to ffmpeg and lame in /var/subsonic/transcode

I added my user and root to audio group

Despite this I still don't get any sound. Worse, my android app reacts strangely by starting to play few seconds then getting back to the start of the track and so on.


Do you have any clue on how to fix this ?

Re: Jukebox mode not working (ubuntu 14.04)

PostPosted: Fri Jul 24, 2015 2:10 pm
by dbozec
Looking at the about scrren I saw this line in logs :
Code: Select all
[7/24/15 3:42:49 PM CEST]    ERROR   JukeboxService   Error in jukebox: javax.sound.sampled.LineUnavailableException

I'm just unable to find how to fix this.

Re: Jukebox mode not working (ubuntu 14.04)

PostPosted: Thu Jul 30, 2015 2:17 pm
by dbozec
Nobody can help me ?

Re: Jukebox mode not working (ubuntu 14.04)

PostPosted: Sat Aug 08, 2015 8:13 pm
by enix
You may need to change your Java. Oracle java7 is what I have. Jukebox mode used to work fine for me. Now some audio comes out high pitched. Which is why I'm here. But the audio/volume works.

I'm also on 14.04

Re: Jukebox mode not working (ubuntu 14.04)

PostPosted: Sun Aug 16, 2015 2:50 pm
by dbozec
Thanks a lot!
It works perfectly now :D