Page 1 of 1
2 problems with Subsonic Player Android App

Posted:
Mon May 19, 2014 12:04 am
by talonzme
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.
Re: 2 problems with Subsonic Player Android App

Posted:
Tue May 20, 2014 3:27 pm
by Boulou
i can't change the directory either...

that's very annoying
using cyanogenmod 11 (android 4.4.2)
Re: 2 problems with Subsonic Player Android App

Posted:
Tue May 20, 2014 4:31 pm
by talonzme
Stock kitkat on note 3
Sent from my Note 3 using Tapatalk
Re: 2 problems with Subsonic Player Android App

Posted:
Tue May 20, 2014 6:56 pm
by talonzme
Tested the Android app with the demo server and it works.
Sent from my Note 3 using Tapatalk
Re: 2 problems with Subsonic Player Android App

Posted:
Wed May 21, 2014 6:38 pm
by talonzme
Is there a fix I need to perform on the server itself?
Sent from my Note 3 using Tapatalk
Re: 2 problems with Subsonic Player Android App

Posted:
Wed May 21, 2014 9:00 pm
by daneren2005
If you are getting sql errors, it is a problem with the server, not the app.
Re: 2 problems with Subsonic Player Android App

Posted:
Wed May 21, 2014 9:29 pm
by talonzme
Bummer, I suppose that means an Uninstaller and reinstall
Sent from my Note 3 using Tapatalk
Re: 2 problems with Subsonic Player Android App

Posted:
Thu May 22, 2014 9:56 pm
by talonzme
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
Re: 2 problems with Subsonic Player Android App

Posted:
Mon May 26, 2014 7:18 pm
by talonzme
I have since tried uninstalling and reinstalling the Subsonic server with no benefit or resolution. The same error is still shown.
Re: 2 problems with Subsonic Player Android App

Posted:
Tue Jun 24, 2014 6:28 pm
by talonzme
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
Re: 2 problems with Subsonic Player Android App

Posted:
Wed Jun 25, 2014 6:04 pm
by adamrabin
Has anybody had success regarding the inability to change the cache location in the Android app?
Re: 2 problems with Subsonic Player Android App

Posted:
Wed Jun 25, 2014 6:05 pm
by talonzme
Not that I have seen
Sent from my SM-N900V using Tapatalk
Re: 2 problems with Subsonic Player Android App

Posted:
Thu Jun 26, 2014 1:00 pm
by adamrabin
I switched to the UltraSonic app for Android. All set!