Ubutnu 10.04 and JukeBox - Help required

Need help? Post your questions here.

Moderator: moderators

Ubutnu 10.04 and JukeBox - Help required

Postby alicharles » Sat Oct 30, 2010 5:13 pm

Ubutnu 10.04 and JukeBox - Help required

Having searched for several hours, I have yet been able to find any answers. Although there have been some claims, no-one ever actually answers the question.

Is there a confirmed solution to getting Jukebox Player working on Ubuntu 10.04 (or other)

The external player options work on the local machine but just no audio using jukebox feature. I have looked at routing the java sound in the sound.properties, no joy.

Other aspects of this application/service development is active and I consider very successful and well done to the dev members for providing.

I have been happy to donate.

Are there any members with any contributions to solve this?

I am using a purpose built media PC with the correct Java versions. The latest version of the .deb installer.

If there is other info that is useful please let me know

Many Thanks and looking forward to getting this application running



[10/30/10 12:23:49 PM BST] INFO JukeboxService Starting jukebox player on behalf of local
[10/30/10 12:23:49 PM BST] DEBUG JukeboxService stateUpdated : OPENING:-1:java.io.BufferedInputStream@19ea9a
[10/30/10 12:23:49 PM BST] INFO PlaylistInputStream local listening to "14 Tracks Scannign The Scene/1-Party_Machine.mp3"
[10/30/10 12:23:49 PM BST] DEBUG JukeboxService opened : {mp3.id3tag.track=1/14, mp3.crc=false, mp3.id3tag.orchestra=Boomkat, mp3.copyright=false, album=14 tracks: Scanning the scene, mp3.channels=2, mp3.version.mpeg=1, date=2010, mp3.id3tag.genre=Soundtracks / Library / Early Electronic, mp3.framesize.bytes=1040, author=Bruce Haack, title=Party Machine, mp3.version.layer=3, mp3.vbr.scale=0, mp3.bitrate.nominal.bps=320000, mp3.version.encoding=MPEG1L3, audio.type=MP3, mp3.id3tag.v2=java.io.ByteArrayInputStream@3c3ee9, vbr=false, mp3.id3tag.v2.version=3, mp3.padding=false, audio.framerate.fps=38.28125, audio.channels=2, mp3.framerate.fps=38.28125, mp3.header.pos=25621, mp3.frequency.hz=44100, basicplayer.sourcedataline=org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine@1c4390a, bitrate=320000, mp3.id3tag.grouping=Boomkat, mp3.mode=1, mp3.vbr=false,
[10/30/10 12:31:03 PM BST] DEBUG JukeboxService stateUpdated : OPENED:-1
[10/30/10 12:31:03 PM BST] WARN JukeboxService Error in BasicPlayer.play()
[10/30/10 12:32:21 PM BST] ERROR JukeboxService Error in BasicPlayer.setGain()
[10/30/10 12:33:21 PM BST] ERROR JukeboxService Error in BasicPlayer.setGain()
[10/30/10 12:33:31 PM BST] INFO JukeboxService Starting jukebox player on behalf of local
[10/30/10 12:33:31 PM BST] DEBUG JukeboxService stateUpdated : OPENING:-1:java.io.BufferedInputStream@b53bf3
[10/30/10 12:33:31 PM BST] INFO PlaylistInputStream local listening to "14 Tracks Scannign The Scene/1-Party_Machine.mp3"
[10/30/10 12:33:31 PM BST] DEBUG JukeboxService opened : {mp3.id3tag.track=1/14, mp3.crc=false, mp3.id3tag.orchestra=Boomkat, mp3.copyright=false, album=14 tracks: Scanning the scene, mp3.channels=2, mp3.version.mpeg=1, date=2010, mp3.id3tag.genre=Soundtracks / Library / Early Electronic, mp3.framesize.bytes=1040, author=Bruce Haack, title=Party Machine, mp3.version.layer=3, mp3.vbr.scale=0, mp3.bitrate.nominal.bps=320000, mp3.version.encoding=MPEG1L3, audio.type=MP3, mp3.id3tag.v2=java.io.ByteArrayInputStream@1ad5960, vbr=false, mp3.id3tag.v2.version=3, mp3.padding=false, audio.framerate.fps=38.28125, audio.channels=2, mp3.framerate.fps=38.28125, mp3.header.pos=25621, mp3.frequency.hz=44100, basicplayer.sourcedataline=org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine@1250601, bitrate=320000, mp3.id3tag.grouping=Boomkat, mp3.mode=1, mp3.vbr=false, audio.samplerate.hz=44100.0, mp3.original=true}
[10/30/10 12:33:31 PM BST] DEBUG JukeboxService stateUpdated : OPENED:-1
[10/30/10 12:33:31 PM BST] WARN JukeboxService Error in BasicPlayer.play()
[10/30/10 12:35:10 PM BST] ERROR JukeboxService Error in BasicPlayer.setGain()




[2010-10-30 12:31:03,445] WARN JukeboxService - Error in BasicPlayer.play()
javax.sound.sampled.LineUnavailableException
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openImpl(PulseAudioMixer.java:714)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:588)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:584)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.open(PulseAudioMixer.java:579)
at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:95)
at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:75)
at javazoom.jlgui.basicplayer.BasicPlayer.openLine(Unknown Source)
at javazoom.jlgui.basicplayer.BasicPlayer.initLine(Unknown Source)
at javazoom.jlgui.basicplayer.BasicPlayer.startPlayback(Unknown Source)
at javazoom.jlgui.basicplayer.BasicPlayer.play(Unknown Source)
at net.sourceforge.subsonic.service.JukeboxService$JuxeboxPlayer.play(JukeboxService.java:154)
at net.sourceforge.subsonic.service.JukeboxService.play(JukeboxService.java:76)
at net.sourceforge.subsonic.ajax.PlaylistService.convert(PlaylistService.java:268)
at net.sourceforge.subsonic.ajax.PlaylistService.doStart(PlaylistService.java:79)
at net.sourceforge.subsonic.ajax.PlaylistService.start(PlaylistService.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
alicharles
 
Posts: 3
Joined: Sat Oct 30, 2010 11:44 am

Postby Exrace » Sat Nov 20, 2010 2:09 pm

What version of Subsonic?
Can you play files on this PC outside of subsonic?
I assume you have X setup on this Linux setup.
Confirm a desktop app can play files.

Judging from the errors you look to be missing some support for audio files that subsonic is looking for.
Exrace
 
Posts: 218
Joined: Thu Nov 11, 2010 5:02 am

Postby oeh » Sat Nov 20, 2010 5:29 pm

If you do a forum search for this topic. I'm quite certain you'll find some
answers to this question.
Regards
OEH ;-}
User avatar
oeh
 
Posts: 89
Joined: Wed Apr 21, 2010 9:26 pm
Location: Oslo Norway

Postby alicharles » Sat Nov 20, 2010 5:39 pm

Hi, Thanks for taking time here

subsonic
Version 4.1 (build 1806) – 10 September 2010
Server jetty-6.1.x, java 1.6.0_18, Linux

This box also runs boxee and songbird and my myth back end (all of which work fine and play audio, VLC plays audio without issue) but I am thinking the subsonic audio device is probably being taken/used but one of these applications! I am not sure how to test this further

So I tested it on a vanilla install of Ubuntu 9.10 and 10.04 with a few tweaks for the dependencies etc and still same issue of no audio in Subsonic Jukebox

X is setup

Do you have a Linux setup with subsonic working in jukebox mode? What is your build?

Ali
alicharles
 
Posts: 3
Joined: Sat Oct 30, 2010 11:44 am

Postby Exrace » Sat Nov 20, 2010 10:00 pm

Good point on another software taking over the sound device.
That could be part of the issue.
Exrace
 
Posts: 218
Joined: Thu Nov 11, 2010 5:02 am

Postby andrewpetre » Fri Dec 10, 2010 12:07 am

I'm also getting the following error with jukebox:

ERROR JukeboxService Error in BasicPlayer.setGain()

New vanilla build ubuntu 10.10 desktop. Music plays fine at the console in flash player, but never when the player is defined as 'Jukebox'.

If I change back to Web player, it plays normally on the same machine, same hardware.
andrewpetre
 
Posts: 2
Joined: Fri Dec 10, 2010 12:04 am

Postby seanpkeown » Fri Dec 10, 2010 12:59 am

I found this while looking through the forum.

http://forum.subsonic.org/forum/viewtopic.php?p=11581


gygys wrote:If you're using Ubuntu 10.04+, the Sun JDK is hidden away. So you'll need to:
Code: Select all
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update   # update to know about new repository
sudo apt-get install sun-java6-jdk
before you
Code: Select all
sudo update-alternatives --config java
to the Sun installation.


It seemed to work on my virtual machine.
~ Sean K
seanpkeown
 
Posts: 100
Joined: Tue Jun 09, 2009 10:41 pm

Postby andrewpetre » Fri Dec 10, 2010 2:30 am

Crazy. I JUST did that and was coming back to update with the same.

Sun Java fixed it for me... O.o

I did the uninstall of Open products through the Synaptics Package Manager (System, Administration, Synaptic...) and found the Sun packages in there as well.

The other documents I found about uninstall / reinstall seemed really cryptic, but I'm only doing Linux for this product.
andrewpetre
 
Posts: 2
Joined: Fri Dec 10, 2010 12:04 am


Return to Help

Who is online

Users browsing this forum: No registered users and 22 guests