Subsonic 4.7.beta3 released

Announcements and discussion of new releases.

Moderator: moderators

Re: Subsonic 4.7.beta3 released

Postby sindre_mehus » Sat Sep 08, 2012 6:52 am

Sparticuz wrote:I'm using --context-path in my subsonic args and minisub doesn't work from clicking the link. (it looks like it doesn't honor the --context-path). The link in 'More' goes to hostname/mini/index.html whereas it should honor the context path and go to hostname/subsonic/mini/index.html


Thanks for reporting this, I've fixed it now.

Regards,
Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Re: Random Play Que issue with 4.7 Beta 3

Postby sindre_mehus » Sat Sep 08, 2012 7:11 am

BKKKPewsey wrote:
sledwards wrote:The random play que feature recognizes all of my generes except for "Singer-Songwriter". It will not generate a playlist for this genre. I believe it may have to do with the "-" in the tag. Is there a work-around for this other than retagging all of my songs with this genre to exclude the dash?


I can reproduce :(
4.7b3 will not create a random playlist with a "-" in the genre (4.6 np)
Hope this gets fixed before X-MAS :roll:



Thanks, I've fixed this now :-)

Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Re: Subsonic 4.7.beta3 released

Postby jeanmalot » Sat Sep 08, 2012 10:09 pm

Hello,
Just tried beta 3 today. I have an issue with new artwork.
Whenever I download new artwork for an album, it will not show up on the album page.

While the thumbnail artwork on the artist page will show correctly*, on the album page I get the black square with the grey note jpg. But if I click on it (or click "zoom") the zoomed cover is there.
This happens only when I download missing artwork for an album. If the artwork is already there and I change it, it works fine.
Tried rescanning, logging out and back in, art is still missing from album page.

*in fact it will show correctly only if the current artist has more than one cover art, i.e. only if the thumbnail cover is 100px. If the size of the thumbnail is 200px, nothing will show up even in the artist page.
jeanmalot
 
Posts: 2
Joined: Sat Sep 08, 2012 9:49 pm

Re: Subsonic 4.7.beta3 released

Postby PieterB » Sun Sep 09, 2012 3:27 am

jeanmalot wrote:Whenever I download new artwork for an album, it will not show up on the album page.


Before you click 'back' - if you downloaded artwork through Subsonic - go to your browser's settings, and clear the cache. That's all. Or a little patience, that also works.

PB
PB
User avatar
PieterB
 
Posts: 107
Joined: Sat Nov 08, 2008 6:36 pm
Location: Delft, The Netherlands

Re: Subsonic 4.7.beta3 released

Postby bibi » Sun Sep 09, 2012 8:14 am

Hi,

I use a script based on this command "connexionhttps=$((netstat | grep ESTA)| grep -c https)" to know if someone is connected to my server with subsonic and make it sleep.
Since the update (beta 3), it doesnt work anymore (computer always on). Did you notice any issue with inactive connections.

Thanks,

Bibi
Last edited by bibi on Sun Sep 09, 2012 7:50 pm, edited 1 time in total.
bibi
 
Posts: 4
Joined: Tue Aug 21, 2012 9:48 am

Re: Subsonic 4.7.beta3 released

Postby jeanmalot » Sun Sep 09, 2012 9:01 am

That did the trick, Pieter. Thank you ! :D
jeanmalot
 
Posts: 2
Joined: Sat Sep 08, 2012 9:49 pm

Re: Subsonic 4.7.beta3 released

Postby sindre_mehus » Sun Sep 09, 2012 8:36 pm

BKKKPewsey wrote:
PieterB wrote:I just added comments to a an album. Of course saved the comment. Then I edited the tags. A minor edit, I changed the year. And my carefully crafted text had disappeared! To be sure, I repeated the sequence, and YES the comment disappeared again.

That IS a bug.

PB


I can confirm this - any tag edit removes the album comment :(


Thanks, I've fixed this now. It was a quite severe bug. Whenever a directory was rescanned due to a tag change or a file system change, the album comment and play statistics were lost.

Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Minor Bug?

Postby PieterB » Mon Sep 10, 2012 3:14 pm

I have a folder 'Fabric' with 44 sub-folders. All sub-folders have straight tracks, except Fabric 15, which has two sub-folders of its own: CD1 & CD2. In Subsonic (I have 'sort albums by year' off) all albums appear neatly in the expected order, except Fabric 15, which shows up as the first album in the list: Fabric 15, Fabric 1, Fabric 2, Fabric 3.....Fabric 44. Apparently this has to do with the fact that this folder does not have tracks in it, but two sub-folders.

I already mentioned the fact that if a folder has sub-folders, no artwork is shown from those sub-folders, and also (unlike the previous release) no artwork is shown if put in the main folder next to the sub-folders.

It seems that these two phenomena are interconnected.

PB
Last edited by PieterB on Mon Sep 10, 2012 5:01 pm, edited 2 times in total.
PB
User avatar
PieterB
 
Posts: 107
Joined: Sat Nov 08, 2008 6:36 pm
Location: Delft, The Netherlands

Re: Subsonic 4.7.beta3 released

Postby kyomi7502 » Mon Sep 10, 2012 4:04 pm

I'm having a problem in that when I create a new playlist in the play queue (by just clicking on the folders on the left and clicking "Add All" on the top) and then I save the playlist as "All" and then clear the play queue and try to click the "Play" button after clicking on the "All" link under playlists on the left... nothing will happen.

I tried exporting the playlist but it only exports as D:\shares\<path-to-music> which is no use unless I'm actually on the server playing music.. which doesn't make much sense. I was hoping the export would create a playlist that I could just double click on and start playing music remotely (each entry would be a http connection back to the server). I was using an old playlist from 4.6 (that I added everything to the play queue, clicked play and then saved the playlist from winamp) that was working just fine but since I had moved alot of stuff around there were a few errors of not finding the files so I tried to create a new playlist as mentioned on the first paragraph.

I have the player set to "External Player with Playlist", it would normally either auto-start winamp with that playlist or ask me if I want to save/open the playlist and then play fine after that. I haven't been able to get this to work yet... any ideas?

I'm not sure if this is something I can do on my end but when I play files that have no tag data all I get is "stream?player=3&id=1128&suffix=" when I play the file and after I play the file in winamp playlist. During 4.6 I think it just left it as the filename, if not, is it possible to just use the filename when there is no tag data?

For example, I extracted the music/sounds from Duke Nukem: Manhattan Project (yes, I know.. huge nerd :P) and they were in .ogg format with no tag data. While browsing subsonic they will just show up as "music - pc1". Also when I first use the playlist in winamp, it will show it as "music - pc1" until I try to play it, then it replaces it with "stream?player=3&id=1128&suffix=". I have noticed that there isn't this huge line of numbers in the entries now, just a much smaller line which is A LOT better, thanks :)
User avatar
kyomi7502
 
Posts: 69
Joined: Mon May 21, 2012 2:13 pm

Re: Subsonic 4.7.beta3 released

Postby baaldemon » Mon Sep 10, 2012 5:29 pm

I recently upgraded from 4.6 to 4.7beta3 and have run into a couple of issues and havent had much time to do a deep dive. But I am running on OpenSuse 11.4x64 (yes I need to upgrade soon) tomcat6 and can supply more details if needed. I will note that I have made a couple of changes from the base code, but not anything that I would believe could cause this. Ive made changes to Logger, added a seperate subsonic.err file where the stack traces are written to Ive been doing this change for quite a few versions. Ive modified AudioScrobbleService to not scrobble certain things, also done this for quite a few versions. The new changes Ive made is to the PodcastService and SettingsService, the changes I made here were to add a new setting to specify a time to do the podcast refresh.

So with that out of the way, heres the problems Im running into.

Code: Select all
[2012-09-09 00:38:39,787] INFO DaoHelper - Checking database schema.
[2012-09-09 00:38:48,724] INFO DaoHelper - Done checking database schema.
[2012-09-09 00:38:48,912] INFO VersionService - Resolved local Subsonic version to: 4.7.beta3
[2012-09-09 00:38:49,531] INFO MediaScannerService - Automatic media library scanning scheduled to run every 1 day(s), starting at Sun Sep 09 03:00:00 EDT 2012
[2012-09-09 00:38:51,268] INFO PodcastService - refStart ~~0830~~
[2012-09-09 00:38:51,269] INFO PodcastService - parsing Hour: 08
[2012-09-09 00:38:51,269] INFO PodcastService - parsing Minute: 30
[2012-09-09 00:38:51,269] INFO PodcastService - offSet: 28268731
[2012-09-09 00:38:51,269] INFO PodcastService - Automatic Podcast update scheduled to run every 24 hour(s), starting at Sun Sep 09 08:30:00 EDT 2012
[2012-09-09 00:38:52,848] INFO NetworkService - Deleted port mapping for port 60443
[2012-09-09 00:38:53,916] INFO DaoHelper - Checking database schema.
[b][2012-09-09 00:38:54,140] INFO Schema25 - Database table 'version' not found.  Creating it.
[2012-09-09 00:38:54,154] ERROR DaoHelper - Failed to initialize database. - see subsonic.err for full details[/b]
[2012-09-09 00:38:54,320] INFO VersionService - Resolved local Subsonic version to: 4.6
[2012-09-09 00:39:35,341] INFO VersionService - Resolved latest Subsonic final version to: 4.6
[2012-09-09 00:39:35,341] INFO VersionService - Resolved latest Subsonic beta version to: 4.7.beta3
[2012-09-09 00:43:14,368] INFO PlayerDao - Created player 99.


And if I pull up the error its a long stack trace basically caused by a database lock as seen in the truncated trace below
Code: Select all
[2012-09-09 00:38:54,154] ERROR DaoHelper - Failed to initialize database. - see subsonic.err for full details
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@2d6451a6[file =/var/subsonic/db/subsonic.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file [/var/subsonic/db/subsonic.lck] is presumably locked by another process.
        at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
....TRUNCATED....
Caused by: java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@2d6451a6[file =/var/subsonic/db/subsonic.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file [/var/subsonic/db/subsonic.lck] is presumably locked by another process.
        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
....TRUNCATED....


This error persists whenever I restart the server, so the table is never being updated properly. So the code seems to always be locking itself out of the ability to create the table.

Additionally I get the following error when logged in as admin and trying to navigate to settings->advnaced
Code: Select all
Exception    org.springframework.beans.NotReadablePropertyException
Message    Invalid property 'downsampleCommand' of bean class [net.sourceforge.subsonic.command.AdvancedSettingsCommand]: Bean property 'downsampleCommand' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
Java version    Sun Microsystems Inc. 1.6.0_35
Operating system    Linux 2.6.37.6-0.20-desktop
Server    Apache Tomcat/6.0.32
Memory    Used 153 of 713 MB
Stack trace    org.springframework.beans.NotReadablePropertyException: Invalid property 'downsampleCommand' of bean class [net.sourceforge.subsonic.command.AdvancedSettingsCommand]: Bean property 'downsampleCommand' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:540) at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:532) at org.springframework.validation.AbstractPropertyBindingResult.getActualFieldValue(AbstractPropertyBindingResult.java:79) at org.springframework.validation.AbstractBindingResult.getFieldValue(AbstractBindingResult.java:226) at org.springframework.web.servlet.support.BindStatus.(BindStatus.java:120) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getBindStatus(AbstractDataBoundFormElementTag.java:172) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getPropertyPath(AbstractDataBoundFormElementTag.java:192) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getName(AbstractDataBoundFormElementTag.java:158) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.autogenerateId(AbstractDataBoundFormElementTag.java:145) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.resolveId(AbstractDataBoundFormElementTag.java:136) at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.writeDefaultAttributes(AbstractDataBoundFormElementTag.java:120) at org.springframework.web.servlet.tags.form.AbstractHtmlElementTag.writeDefaultAttributes(AbstractHtmlElementTag.java:379) at org.springframework.web.servlet.tags.form.InputTag.writeTagContent(InputTag.java:139) at org.springframework.web.servlet.tags.form.AbstractFormTag.doStartTagInternal(AbstractFormTag.java:90) at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:77) at org.apache.jsp.WEB_002dINF.jsp.advancedSettings_jsp._jspx_meth_form_005finput_005f0(advancedSettings_jsp.java:803) at org.apache.jsp.WEB_002dINF.jsp.advancedSettings_jsp._jspx_meth_form_005fform_005f0(advancedSettings_jsp.java:556) at org.apache.jsp.WEB_002dINF.jsp.advancedSettings_jsp._jspService(advancedSettings_jsp.java:175) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:236) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902) 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:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 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.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:300) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662)


As I said I havent had much time to investigate yet, hoping to look deeper tonight but thought I would throw it out to the community to see if anyone else has seen these issues.

Thanks in advance
baaldemon
 
Posts: 99
Joined: Fri May 07, 2010 11:54 am

Re: Subsonic 4.7.beta3 released

Postby BKKKPewsey » Tue Sep 11, 2012 12:09 am

baaldemon wrote:And if I pull up the error its a long stack trace basically caused by a database lock as seen in the truncated trace below

Delete the .lck file in subsonic\db folder and restart SS.
See if that works :roll:
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: Subsonic 4.7.beta3 released

Postby baaldemon » Tue Sep 11, 2012 12:41 am

Sorry forgot to mention, happens even when I delete the lock file after tomcat has shut down and before I bring it back up. It is just recreating a new lock each time.
baaldemon
 
Posts: 99
Joined: Fri May 07, 2010 11:54 am

Re: Subsonic 4.7.beta3 released

Postby hakko » Tue Sep 11, 2012 6:17 am

I'd check the subsonic-servlet.xml + AdvancedSettingsCommand.java. The error indicates that you have a <bean id="advancedSettingsCommand"><property name="downsampleCommand"> that doesn't have a matching setDownloadSampleCommand(...) method in AdvancedSettingsCommand.java.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Subsonic 4.7.beta3 released

Postby sindre_mehus » Tue Sep 11, 2012 6:59 am

Delete the "work" directory in Tomcat.
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Sorting album tracks 4.7.beta3

Postby beat » Tue Sep 11, 2012 1:05 pm

Hi there,

I have installed the latest version of Subsonic recently ( 4.7.beta3 (build 3081)) and one of the changes bothers me a lot .
If there is no track number on the tag, album tracks are sorted in alphabetical order.
They used to be sorted by file name as well so if track number tag is missing, album tracks would still be sorted in correct order.

beat
beat
 
Posts: 5
Joined: Tue Apr 05, 2011 7:43 am

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 13 guests