Jukebox: no sound?

Need help? Post your questions here.

Moderator: moderators

Jukebox: no sound?

Postby Jan304 » Fri Sep 02, 2011 3:16 pm

Hi all

I've had some issues with the jukebox function. Somehow some tracks refuse to play.

This what happens when I play some songs (it happens with quite a few albums I have in my collection):
Code: Select all
[2011-09-02 17:04:30,423] INFO JukeboxService - Starting jukebox player on behalf of Jan304
[2011-09-02 17:04:30,423] DEBUG JukeboxService - stateUpdated : OPENING:-1:java.io.BufferedInputStream@f60dc8
[2011-09-02 17:04:30,424] INFO PlaylistInputStream - Jan304 listening to "Avatar\02 - James Horner - Jake Enters His Avatar World.mp3"
[2011-09-02 17:04:30,436] WARN JukeboxService - Error in BasicPlayer.play()
java.io.IOException: Resetting to invalid mark
   at java.io.BufferedInputStream.reset(Unknown Source)
   at org.tritonus.share.sampled.file.TAudioFileReader.getAudioFileFormat(TAudioFileReader.java:195)
   at javax.sound.sampled.AudioSystem.getAudioFileFormat(Unknown Source)
   at net.sourceforge.subsonic.service.JukeboxService$JuxeboxPlayer$1.initAudioInputStream(JukeboxService.java:144)
   at javazoom.jlgui.basicplayer.BasicPlayer.initAudioInputStream(Unknown Source)
   at javazoom.jlgui.basicplayer.BasicPlayer.open(Unknown Source)
   at net.sourceforge.subsonic.service.JukeboxService$JuxeboxPlayer.play(JukeboxService.java:153)
   at net.sourceforge.subsonic.service.JukeboxService.play(JukeboxService.java:76)
   at net.sourceforge.subsonic.ajax.PlaylistService.convert(PlaylistService.java:288)
   at net.sourceforge.subsonic.ajax.PlaylistService.play(PlaylistService.java:120)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:740)
   at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:744)
   at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:593)
   at org.directwebremoting.dwrp.BaseCallHandler.handle(BaseCallHandler.java:90)
   at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:120)
   at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:141)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
   at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
   at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
   at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:43)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:54)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
   at org.mortbay.jetty.Server.handle(Server.java:313)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
   at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
   at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)


I've searched the forum and some people experienced similar problems (although not exactly the same) and tried setting a lower bitrate then the files. Since this particular file has 187 Kbps vbr I put it on 112Kbps. And then: it works!

Code: Select all
[2011-09-02 17:10:24,515] INFO JukeboxService - Starting jukebox player on behalf of Jan304
[2011-09-02 17:10:24,516] DEBUG JukeboxService - stateUpdated : OPENING:-1:java.io.BufferedInputStream@7ef006
[2011-09-02 17:10:24,517] INFO PlaylistInputStream - Jan304 listening to "Avatar\02 - James Horner - Jake Enters His Avatar World.mp3"
[2011-09-02 17:10:24,520] DEBUG TranscodeInputStream - Starting transcoder: [c:\subsonic\transcode\lame] [-S] [-h] [--resample] [44.1] [-b] [112] [--tt] [Jake enters his avatar world] [--ta] [James Horner] [--tl] [Avatar] [H:\Muziek\Muziek\Soundtracks\Avatar\02 - James Horner - Jake Enters His Avatar World.mp3] [-]
[2011-09-02 17:10:24,557] DEBUG JukeboxService - opened : {vbr=false, mp3.crc=false, mp3.copyright=false, mp3.padding=false, mp3.channels=2, mp3.version.mpeg=1, audio.framerate.fps=38.28125, audio.channels=2, mp3.framerate.fps=38.28125, mp3.framesize.bytes=361, mp3.version.layer=3, mp3.frequency.hz=44100, mp3.header.pos=0, mp3.bitrate.nominal.bps=112000, mp3.vbr.scale=0, mp3.version.encoding=MPEG1L3, basicplayer.sourcedataline=com.sun.media.sound.DirectAudioDevice$DirectSDL@1f47262, bitrate=112000, audio.type=MP3, mp3.mode=1, mp3.vbr=false, audio.samplerate.hz=44100.0, mp3.original=true}
[2011-09-02 17:10:24,558] DEBUG JukeboxService - stateUpdated : OPENED:-1
[2011-09-02 17:10:24,570] DEBUG JukeboxService - stateUpdated : GAIN:0.8199999928474426
[2011-09-02 17:10:24,571] DEBUG JukeboxService - stateUpdated : PLAYING:-1


It's seems quiet but it works. But this is a bad solution: it would reduce the quality of all my mp3's and require more CPU power.

I run the latest version of Subsonic and Sun Java. Can anybody help me? I'm happy to do some testing :)
Jan304
 
Posts: 4
Joined: Fri Sep 02, 2011 2:56 pm

Re: Jukebox: no sound?

Postby BKKKPewsey » Fri Sep 02, 2011 11:43 pm

Can you check if the mp3's that will not play have album art embedded in the tags.
If so remove the album art and try again at normal bitrate.
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Jukebox: no sound?

Postby Jan304 » Sat Sep 03, 2011 7:51 am

All my mp3's in my collection have album art embedded so... But I will try removing the art from the malfunctioning files and try again.

The files do work in all other programs I've tried before: Foobar, WMP, VLC,...
Jan304
 
Posts: 4
Joined: Fri Sep 02, 2011 2:56 pm

Re: Jukebox: no sound?

Postby Jan304 » Sat Sep 03, 2011 9:35 am

So I tried: no result. As I said before: all my files have embedded cover art but only a couple of albums (it's impossible to test all albums) refuse to play. Some of the files have variable bitrate, some not...

Other ideas?
Jan304
 
Posts: 4
Joined: Fri Sep 02, 2011 2:56 pm

Re: Jukebox: no sound?

Postby BKKKPewsey » Sat Sep 03, 2011 11:52 am

No further ideas from me :(
I have found a few mp3's which I couldn't play and did find those tracks had the artwork stored in the tag. On removal and having the art work linked to cover.jpg (or whatever) instead allowed them to play.

Edit: On further investigation I checked out 1 album that I know didn't play in jukebox.

    Checked the tracks played in web browser - no problem
    Tried to play in Jukebox - silence!
    Code: Select all
    [03/09/11 18:19:47 BST]   WARN   JukeboxService   Error in BasicPlayer.play()

    Using mediamonkey I removed the embedded album art - jukebox played ok
    Again using Mediamonkey embedded album art back to tags - jukebox played ok :?

So perhaps its not the album art that is the problem but the way it was tagged?
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Jukebox: no sound?

Postby Jan304 » Fri Dec 16, 2011 9:31 am

I just updated to the latest version (4.6 at the moment) and everything works. So, me happy... ;-)

In the changelog I found this entry:
New: Reimplemented jukebox. More robust and new features.


I guess it does help. Thank you Subsonic, now I can finally make full use of your great software :-)
Jan304
 
Posts: 4
Joined: Fri Sep 02, 2011 2:56 pm

Re: Jukebox: no sound?

Postby darrendavid » Sun Mar 18, 2012 10:33 pm

I'm having the same issue, but on Subsonic 4.6. Everything was working fine, now, no sound in jukebox mode. I've confirmed that the speakers are working and that the PC is correctly outputting sound, just nothing through Subsonic. No errors in the logs. Anything I can check?

Running:
Version 4.6 (build 2583) – December 6, 2011
Server jetty-6.1.x, java 1.6.0_31, Windows 7 (113.9 MB / 186.4 MB)

Thanks,
Darren
darrendavid
 
Posts: 4
Joined: Sun Mar 18, 2012 10:30 pm

Re: Jukebox: no sound?

Postby BKKKPewsey » Mon Mar 19, 2012 12:21 am

Try deleting the jukebox player and creating another one.

:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom


Return to Help

Who is online

Users browsing this forum: No registered users and 12 guests