Page 1 of 1

Re: MusicCabinet announcements

PostPosted: Sun Oct 07, 2012 5:36 pm
by GJ51
I just tested it on Android app, latest Subsonic app. Works as advertised! Great work.

Re: MusicCabinet announcements

PostPosted: Tue Oct 09, 2012 1:10 pm
by odt
The genre radio works perfectly although it took me a while to figure it out regardless of the instructions above :) Thanks a bunch!

[announcement] MusicCabinet 0.7.11 released

PostPosted: Tue Oct 09, 2012 6:04 pm
by hakko
Main feature: genre radio, artist radio, related artists and genre browsing are now integrated in mobile clients, see viewtopic.php?f=4&t=9777&p=46929#p46929.

Feel free to discuss the release in this thread.

Re: [announcement] MusicCabinet 0.7.11 released

PostPosted: Tue Oct 09, 2012 10:47 pm
by jfmus
hakko,

Any chance top tracks are going to be implemented into the mobile app? Love what you have done with the rest, it is shaping up to be a killer streaming solution for my collection. Just wanted to say thanks for all of the work! Keeps getting better every release. Also noticed one minor bug. The album art is not appearing in the mobile app (isub) when you play Artist Radio. Once the list starts playing the background image is the default for isub.

Thanks again,

jfmus

Re: [announcement] MusicCabinet 0.7.11 released

PostPosted: Tue Oct 09, 2012 10:51 pm
by Caleb
This is from the locked post where I posted the NullPointerException:
hakko wrote:Thanks for the report! What exactly were you doing when it happened? Have you recently removed files from your media library? It looks like a "dead link", as if a file that no longer exists is being references, and I'm curious how and why.


It's possible. I manage my library in foobar, and sometimes I access MusicCabinet to check some stuff. It just happened again:
Code: Select all
java.lang.NullPointerException
   at net.sourceforge.subsonic.service.MediaFileService.getMediaFile(MediaFileService.java:58)
   at net.sourceforge.subsonic.controller.NowPlayingController.handleRequestInternal(NowPlayingController.java:54)
   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:900)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
   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.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
   at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
   at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
   at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
   at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
   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)


It was the first thing that appeared as soon as I visited the mod.

Btw, some parts of my library are on another network computer. It's currently connected to the network and is accessible (it also was when I got the nullptr exception).

Re: [announcement] MusicCabinet 0.7.11 released

PostPosted: Wed Oct 10, 2012 7:22 am
by precipitous
@hakko: MusicCabinet 0.7.11 appears to have broken the ability to use Songbird as an external player again. Symptoms are the same as the last time when this happened. Other than that the release seems to be working great.

Re: [announcement] MusicCabinet 0.7.11 released

PostPosted: Wed Oct 10, 2012 9:01 am
by hakko
Caleb and precipitous: I believe I have enough information to look into your issues. Thanks for reporting.

Re: [announcement] MusicCabinet 0.7.11 released

PostPosted: Thu Oct 11, 2012 6:13 pm
by hakko
precipitous: I can't reproduce this at the moment (I get songs to play in Foobar at work using 0.7.11). Could you try clearing cookies? Subsonic seems to store which player to use in a cookie, I'm wondering if that has borked.

Re: [announcement] MusicCabinet 0.7.11 released

PostPosted: Thu Oct 11, 2012 6:40 pm
by precipitous
hakko wrote:precipitous: I can't reproduce this at the moment (I get songs to play in Foobar at work using 0.7.11). Could you try clearing cookies? Subsonic seems to store which player to use in a cookie, I'm wondering if that has borked.

@hakko - Clearing the Subsonic cookie from Firefox resolved the issue... Thank you for the great tip!

Re: [announcement] MusicCabinet 0.7.11 released

PostPosted: Thu Oct 11, 2012 6:52 pm
by hakko
Not a beautiful solution but well..

Re: [announcement] MusicCabinet 0.7.11 released

PostPosted: Fri Oct 26, 2012 9:27 pm
by precipitous
I recently had to replace my hard drive, so I had to re-install everything from scratch. When I set up Subsonic/MusicCabinet everything went normally. I input my postgre password and ran the initial first use scan and again, everything went perfectly... I have been running without any problems for a few days, but now I have encountered a really weird situation. I added several new files to my music collection, but they did not show up in MusicCabinet, so I assumed I needed to run another full scan. When I went to do this I discovered that I no longer have any of the regular links available in the Settings pages to run a scan. Also, on the Settings > MusicCabinet page the display reads:

MusicCabinet configuration

The search index is being created. Depending on the size of your music library, this could take a while.

Progress:

1 directories found during search
6 new files read for meta-data
artist relations [not started]
artist top tracks [not started]
artist tags [not started]
artist biographies [not started]
album descriptions [not started]
tag descriptions [not started]
weekly group artist charts [not started]
tag top artists [not started]
user top artist periods [not started]
user recommended artists [not started]
scrobbled tracks statistics [not started]

even though I have not started a scan... Clicking the Refresh button has no effect even though it has been several hours since I logged in.

Do you know what would cause this behavior?

Re: [announcement] MusicCabinet 0.7.11 released

PostPosted: Sat Oct 27, 2012 12:20 am
by precipitous
precipitous wrote:I recently had to replace my hard drive, so I had to re-install everything from scratch. When I set up Subsonic/MusicCabinet everything went normally. I input my postgre password and ran the initial first use scan and again, everything went perfectly... I have been running without any problems for a few days, but now I have encountered a really weird situation. I added several new files to my music collection, but they did not show up in MusicCabinet, so I assumed I needed to run another full scan. When I went to do this I discovered that I no longer have any of the regular links available in the Settings pages to run a scan. Also, on the Settings > MusicCabinet page the display reads:

MusicCabinet configuration

The search index is being created. Depending on the size of your music library, this could take a while.

Progress:

1 directories found during search
6 new files read for meta-data
artist relations [not started]
artist top tracks [not started]
artist tags [not started]
artist biographies [not started]
album descriptions [not started]
tag descriptions [not started]
weekly group artist charts [not started]
tag top artists [not started]
user top artist periods [not started]
user recommended artists [not started]
scrobbled tracks statistics [not started]

even though I have not started a scan... Clicking the Refresh button has no effect even though it has been several hours since I logged in.

Do you know what would cause this behavior?

Update: A reboot seems to have solved the problem... For future reference though - would this have been caused by postgresql hanging or by something else? If anyone knows I would be very interested...

Re: [announcement] MusicCabinet 0.7.11 released

PostPosted: Sat Oct 27, 2012 4:37 am
by hakko
I hope the hard drive swap was controlled so you didn't lose a lot of music!

For future reference:

(1) it is possible to backup the PostgreSQL data, or to export it from one computer to another, if you don't want to re-import everything from last.fm.
http://www.postgresql.org/docs/9.1/stat ... gdump.html

(2) I'm sure there are a few odd bugs left that haven't yet been found/reported. However, to find them, it's normally not enough to get a report saying that "the import stalled". If the system hangs like that, try gathering log files that would hold more information about it. From the About view, there's a section called "Bug reports". It gives the path to subsonic.log and musiccabinet.log. If something goes terribly wrong, include these files in your bug report! They're overwritten on system restart (to not clutter your system), so be sure to get immediately. That also helps to identify the situation where something failed.

Regards

Re: [announcement] MusicCabinet 0.7.11 released

PostPosted: Sat Oct 27, 2012 6:17 am
by precipitous
hakko wrote:I hope the hard drive swap was controlled so you didn't lose a lot of music!

For future reference:

(1) it is possible to backup the PostgreSQL data, or to export it from one computer to another, if you don't want to re-import everything from last.fm.
http://www.postgresql.org/docs/9.1/stat ... gdump.html

(2) I'm sure there are a few odd bugs left that haven't yet been found/reported. However, to find them, it's normally not enough to get a report saying that "the import stalled". If the system hangs like that, try gathering log files that would hold more information about it. From the About view, there's a section called "Bug reports". It gives the path to subsonic.log and musiccabinet.log. If something goes terribly wrong, include these files in your bug report! They're overwritten on system restart (to not clutter your system), so be sure to get immediately. That also helps to identify the situation where something failed.

Regards

@hakko: Thank you for the good advice! MusicCabinet appears to be back to normal now, so all is good. Swapping drives went perfectly too. Thankfully the disc utility in Ubuntu had warned me of a hard drive problem before it became critical, so I was able to rescue everything without any loss of data. Normally I run daily backups to an external drive too, but that one recently died and needs to be replaced also!

Cheers!