[SOLVED] Jukebox Mode Problems

Need help? Post your questions here.

Moderator: moderators

[SOLVED] Jukebox Mode Problems

Postby speedemonV12 » Fri Jan 06, 2012 8:54 pm

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)
Last edited by speedemonV12 on Mon Jan 30, 2012 10:52 pm, edited 1 time in total.
speedemonV12
 
Posts: 9
Joined: Tue Jan 03, 2012 1:53 am

Re: Jukebox Mode Problems

Postby BKKKPewsey » Fri Jan 06, 2012 9:02 pm

And what sort of file are you trying to play?
: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 Mode Problems

Postby speedemonV12 » Sat Jan 07, 2012 1:01 am

ah, guess I should have mentioned that. It is an MP3. works fine over streaming and works fine with local playback using vlc.
speedemonV12
 
Posts: 9
Joined: Tue Jan 03, 2012 1:53 am

Re: Jukebox Mode Problems

Postby BKKKPewsey » Sat Jan 07, 2012 2:09 am

Is it just 1 file that you are having trouble with or all mp3 in jukebox player?
: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 Mode Problems

Postby speedemonV12 » Sat Jan 07, 2012 9:42 pm

All files that I have tried have this problem. Same error.
speedemonV12
 
Posts: 9
Joined: Tue Jan 03, 2012 1:53 am

Re: Jukebox Mode Problems

Postby BKKKPewsey » Sat Jan 07, 2012 10:04 pm

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 :?
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 Mode Problems

Postby speedemonV12 » Mon Jan 30, 2012 10:52 pm

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.
speedemonV12
 
Posts: 9
Joined: Tue Jan 03, 2012 1:53 am

Re: Jukebox Mode Problems

Postby goatboy » Sun Mar 04, 2012 9:00 pm

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
goatboy
 
Posts: 5
Joined: Sun Mar 04, 2012 7:54 pm

Re: [SOLVED] Jukebox Mode Problems

Postby jgbfree » Mon Mar 12, 2012 5:09 am

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
jgbfree
 
Posts: 2
Joined: Sun Feb 05, 2012 3:23 am

Re: [SOLVED] Jukebox Mode Problems

Postby goatboy » Mon Mar 12, 2012 9:29 am

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.
goatboy
 
Posts: 5
Joined: Sun Mar 04, 2012 7:54 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 17 guests