2 problems with Subsonic Player Android App

Need help? Post your questions here.

Moderator: moderators

2 problems with Subsonic Player Android App

Postby talonzme » Mon May 19, 2014 12:04 am

First issue. When running server version 4.8 the music would not play or download to phone. Settings does not give me the option to change the cache directory. I read about the changes in SDCard permissions with KitKat and the DSub player being the fix. I don't want to have to purchase another app to be able to play my music.
I upgraded the server to version 4.9 and now I get a SQL error when I try to open music in the library on the android app.
talonzme
 
Posts: 10
Joined: Sun May 18, 2014 11:13 pm

Re: 2 problems with Subsonic Player Android App

Postby Boulou » Tue May 20, 2014 3:27 pm

i can't change the directory either... :(

that's very annoying

using cyanogenmod 11 (android 4.4.2)
Boulou
 
Posts: 2
Joined: Fri Jan 24, 2014 10:28 am

Re: 2 problems with Subsonic Player Android App

Postby talonzme » Tue May 20, 2014 4:31 pm

Stock kitkat on note 3

Sent from my Note 3 using Tapatalk
talonzme
 
Posts: 10
Joined: Sun May 18, 2014 11:13 pm

Re: 2 problems with Subsonic Player Android App

Postby talonzme » Tue May 20, 2014 6:56 pm

Tested the Android app with the demo server and it works.

Sent from my Note 3 using Tapatalk
talonzme
 
Posts: 10
Joined: Sun May 18, 2014 11:13 pm

Re: 2 problems with Subsonic Player Android App

Postby talonzme » Wed May 21, 2014 6:38 pm

Is there a fix I need to perform on the server itself?

Sent from my Note 3 using Tapatalk
talonzme
 
Posts: 10
Joined: Sun May 18, 2014 11:13 pm

Re: 2 problems with Subsonic Player Android App

Postby daneren2005 » Wed May 21, 2014 9:00 pm

If you are getting sql errors, it is a problem with the server, not the app.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: 2 problems with Subsonic Player Android App

Postby talonzme » Wed May 21, 2014 9:29 pm

Bummer, I suppose that means an Uninstaller and reinstall

Sent from my Note 3 using Tapatalk
talonzme
 
Posts: 10
Joined: Sun May 18, 2014 11:13 pm

Re: 2 problems with Subsonic Player Android App

Postby talonzme » Thu May 22, 2014 9:56 pm

Below is the error log for the Subsonic server relating to the SQL error when accessed.

Code: Select all
Exception   org.springframework.jdbc.BadSqlGrammarException
Message   PreparedStatementCallback; bad SQL grammar [select name, song_count, album_count from genre order by song_count desc]; nested exception is java.sql.SQLException: Table not found in statement [select name, song_count, album_count from genre order by song_count desc]
Java version   Oracle Corporation 1.7.0_55
Operating system   Windows Server 2008 R2 6.1
Server   jetty-6.1.x
Memory   Used 46 of 75 MB
Stack trace   org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [select name, song_count, album_count from genre order by song_count desc]; nested exception is java.sql.SQLException: Table not found in statement [select name, song_count, album_count from genre order by song_count desc]
   at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:220)
   at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
   at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:607)
   at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:641)
   at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:670)
   at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:678)
   at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:710)
   at net.sourceforge.subsonic.dao.AbstractDao.query(AbstractDao.java:83)
   at net.sourceforge.subsonic.dao.MediaFileDao.getGenres(MediaFileDao.java:178)
   at net.sourceforge.subsonic.service.MediaFileService.getGenres(MediaFileService.java:239)
   at net.sourceforge.subsonic.controller.MoreController.handleRequestInternal(MoreController.java:66)
   at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
   at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
   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.headerComplete(HttpConnection.java:830)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
   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)
Caused by: java.sql.SQLException: Table not found in statement [select name, song_count, album_count from genre order by song_count desc]
   at org.hsqldb.jdbc.Util.throwError(Unknown Source)
   at org.hsqldb.jdbc.jdbcPreparedStatement.(Unknown Source)
   at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
   at org.springframework.jdbc.core.JdbcTemplate$SimplePreparedStatementCreator.createPreparedStatement(JdbcTemplate.java:1322)
   at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:585)
   ... 61 more
talonzme
 
Posts: 10
Joined: Sun May 18, 2014 11:13 pm

Re: 2 problems with Subsonic Player Android App

Postby talonzme » Mon May 26, 2014 7:18 pm

I have since tried uninstalling and reinstalling the Subsonic server with no benefit or resolution. The same error is still shown.
talonzme
 
Posts: 10
Joined: Sun May 18, 2014 11:13 pm

Re: 2 problems with Subsonic Player Android App

Postby talonzme » Tue Jun 24, 2014 6:28 pm

I did finally get it to work. I had to delete the existing db and backups and then reestablish the library in subsonic. Any apps that were connected had to be removed and reinstalled to get the db contents correct.

Sent from my SM-N900V using Tapatalk
talonzme
 
Posts: 10
Joined: Sun May 18, 2014 11:13 pm

Re: 2 problems with Subsonic Player Android App

Postby adamrabin » Wed Jun 25, 2014 6:04 pm

Has anybody had success regarding the inability to change the cache location in the Android app?
adamrabin
 
Posts: 5
Joined: Fri Feb 07, 2014 11:05 am

Re: 2 problems with Subsonic Player Android App

Postby talonzme » Wed Jun 25, 2014 6:05 pm

Not that I have seen

Sent from my SM-N900V using Tapatalk
talonzme
 
Posts: 10
Joined: Sun May 18, 2014 11:13 pm

Re: 2 problems with Subsonic Player Android App

Postby adamrabin » Thu Jun 26, 2014 1:00 pm

I switched to the UltraSonic app for Android. All set!
adamrabin
 
Posts: 5
Joined: Fri Feb 07, 2014 11:05 am


Return to Help

Who is online

Users browsing this forum: No registered users and 26 guests