Page 1 of 1

[SOLVED] Jukebox Mode Problems

PostPosted: Fri Jan 06, 2012 8:54 pm
by speedemonV12
Hello, I am trying to run subsonic on my PC at home that runs as a server. Streaming works fine (on Windows not on Mac if you've read my other post lol). But this is another issue, I try to play a file using jukebox mode and this is the error I get.

Any Ideas?
I can play the file if I am streaming it from other computers, and if I find the file in Explorer on the server PC and play it, it plays fine via VLC.

Code: Select all
[2012-01-06 15:49:38,570] ERROR JukeboxService - Error in jukebox: javax.sound.sampled.UnsupportedAudioFileException: file is not a supported file type
javax.sound.sampled.UnsupportedAudioFileException: file is not a supported file type
   at javax.sound.sampled.AudioSystem.getAudioFileFormat(Unknown Source)
   at net.sourceforge.subsonic.service.jukebox.AudioPlayer.<init>(AudioPlayer.java:59)
   at net.sourceforge.subsonic.service.JukeboxService.play(JukeboxService.java:106)
   at net.sourceforge.subsonic.service.JukeboxService.updateJukebox(JukeboxService.java:75)
   at net.sourceforge.subsonic.ajax.PlaylistService.convert(PlaylistService.java:307)
   at net.sourceforge.subsonic.ajax.PlaylistService.doSkip(PlaylistService.java:105)
   at net.sourceforge.subsonic.ajax.PlaylistService.skip(PlaylistService.java:98)
   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:205)
   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)

Re: Jukebox Mode Problems

PostPosted: Fri Jan 06, 2012 9:02 pm
by BKKKPewsey
And what sort of file are you trying to play?
:mrgreen:

Re: Jukebox Mode Problems

PostPosted: Sat Jan 07, 2012 1:01 am
by speedemonV12
ah, guess I should have mentioned that. It is an MP3. works fine over streaming and works fine with local playback using vlc.

Re: Jukebox Mode Problems

PostPosted: Sat Jan 07, 2012 2:09 am
by BKKKPewsey
Is it just 1 file that you are having trouble with or all mp3 in jukebox player?
:mrgreen:

Re: Jukebox Mode Problems

PostPosted: Sat Jan 07, 2012 9:42 pm
by speedemonV12
All files that I have tried have this problem. Same error.

Re: Jukebox Mode Problems

PostPosted: Sat Jan 07, 2012 10:04 pm
by BKKKPewsey
You certainly have a way of getting impossible problems - I wouldn't go out in a thunderstorm if I was you :lol:
Have you any non mp3 audio files that you can play (try) - I am hoping that something might pop up in a log that may give a clue :?

Re: Jukebox Mode Problems

PostPosted: Mon Jan 30, 2012 10:52 pm
by speedemonV12
This problem has been fixed. I had to at Lame to the encoders. Im sorry I didn't get back to y'all for so long, was out of town. But I am still having the same problem in my other thread.

Re: Jukebox Mode Problems

PostPosted: Sun Mar 04, 2012 9:00 pm
by goatboy
speedemonV12 wrote:This problem has been fixed. I had to at Lame to the encoders. Im sorry I didn't get back to y'all for so long, was out of town. But I am still having the same problem in my other thread.


hi.
please, con you tell me more about your trick?
i'm having subsonic standalone on freenas machine not working at all in jukebox mode. what do you mean with:"had to at Lame to the encoders"?
many thanks dude.

Paolo

Re: [SOLVED] Jukebox Mode Problems

PostPosted: Mon Mar 12, 2012 5:09 am
by jgbfree
Hey Paolo,

I was having the same issue. I think what speedemonV12 was saying was to "add" LAME to the transcode directory.
In my case I needed to add the ffmpeg.exe to the c:\subsonic\transode directory.
When I put it in there and tried the android remote control (or any player using the jukebox player) it worked.

I'm using the ffmpeg in settings -> transcoding and that is why it worked for me. It's probably a good idea to grab all encoders and stick them in you transcode directory. You may need them for other purposes.

Some other settings to check are settings -> players and look for your player (in my case android-jukebox) and make sure jukebox is selected.

View this link for the transode directory for different OS's and for a links to the encoder binaries/executables.
http://sourceforge.net/apps/mediawiki/s ... ranscoders

Hope that helps!
Justin

Re: [SOLVED] Jukebox Mode Problems

PostPosted: Mon Mar 12, 2012 9:29 am
by goatboy
mornin' Justin.
thank you for the answer. Few days ago i solved my problem, and, believe me, i understood was a very stupid trouble... a driver trouble. With a simple java routine founded over internet i had confirmation about missing of a mixer. So i've gone to find some driver for my very commercial sb live!, and i founded oss driver. i installed the driver, i checked the presence of a mixer on my system, i uninstalled and reinstalled java and... ta-daaaaaaa.
in my case wasn't a transcode problem. i don't know if freenas 7 have some embedded audio drivers or not, but i'm sure it don't have driver for my card.
thank you very very much for your help. i'm hoping our suggestions can be useful for other freenas user. ;)

P.S.: i'm waiting for tomorrow a new 1TB wd disk, and for today a sata controller. Yesterday i painted the old case owning the nas.
This week i will put @ work my new freenas system powered by subsonic, i'm so happy!!! :)
Here the specs:

Image

Bye all.