MusicCabinet - artist radio, genre radio & related artists

Artist radio, genre radio & related artists. A Subsonic server for music nerds.

Moderator: moderators

Re: MusicCabinet - artist radio, genre radio & related artis

Postby CasN » Mon Oct 01, 2012 8:51 am

Hakko,

How can I uninstall your mod?
Would that be a question of simply re-installing Subsonic itself (tried that but that did not work properly, could not login anymore)?
Reason is that most people that use my site are not yet ready to fully tagged oriented working and hence prefer directory structure.
They do like other features such as related artist etcetera but for now, I prefer to revert.
Thanks in advance.
CasN
 
Posts: 35
Joined: Wed Jan 12, 2011 2:24 pm

Re: MusicCabinet - artist radio, genre radio & related artis

Postby hakko » Mon Oct 01, 2012 9:28 am

Hi! Before running the Subsonic 4.7 installer, you have to replace C:\Subsonic (or equiv) with the back-up you made before installing MusicCabinet.

The reason is that Subsonic 4.7 stores the passwords of all your users in clear text, while MusicCabinet stores them as salted hash sums (to make it harder for an intruder to steal them and try using them at other internet services).
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: MusicCabinet - artist radio, genre radio & related artis

Postby Caleb » Mon Oct 01, 2012 11:11 am

Hi,

Some tracks from albums that have "Album Artist" set to "Various Artists" using foobar2000 still show up as separate artists instead of being under "Various Artist". Here are examples of 2 FLAC files that have this problem:

https://www.dropbox.com/s/xe8cdxuq0w298 ... by%20.flac
https://www.dropbox.com/s/rcx0s1swfkghj ... in%27.flac
Caleb
 
Posts: 17
Joined: Fri Feb 12, 2010 11:37 pm

Re: MusicCabinet - artist radio, genre radio & related artis

Postby hakko » Mon Oct 01, 2012 9:03 pm

It looks to me as if you've written id3v2 tags to your FLAC files, instead of Vorbis tags. For id3v2, the tag name is not called "ALBUM ARTIST" which you're using, but "TPE2".
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: MusicCabinet - artist radio, genre radio & related artis

Postby franco244 » Tue Oct 02, 2012 1:38 am

I remember downloading MusicCabinet as a separate mod rather than it being completely embedded into subsonic. I enjoyed the mod much much more when it worked like that. It also allowed me to stream movies and TV shows, which I can't seem to do anymore. My music is organized by last.fm info as opposed to my actual directory which I enjoy more.

I would love to be able to go back to this setup over the new merged way.

Thanks! And keep up the great work! Awesome mod, just want some more leeway :)
franco244
 
Posts: 2
Joined: Tue Oct 02, 2012 1:33 am

Re: MusicCabinet - artist radio, genre radio & related artis

Postby hakko » Tue Oct 02, 2012 5:18 am

Movies/videos are accessible if you switch to "File based browsing" at the very bottom of the left frame (but that may be tedious, the purpose of this project is the create a more interesting streaming music server, not a general media server).

To go back to the previous setup, you'd have to do a clean install of everything (remove C:\Subsonic and start of with an empty Postgresql database), install Subsonic 4.6, then replace subsonic.war with http://dilerium.se/musiccabinet/subsonic-0.5.50b.war.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: MusicCabinet - artist radio, genre radio & related artis

Postby DarthNerdus » Tue Oct 02, 2012 3:32 pm

Loving the work! Just started using it.

Not so much a question specific to your mod, but through experience is there an iOS app that supports your build best? (Or even just that people unanimously like more? ;))
Jesse Read
Check out audiophoneapp.com
Questions? Email me at jread@invokedcode.net
DarthNerdus
 
Posts: 17
Joined: Tue Oct 02, 2012 7:46 am

Re: MusicCabinet - artist radio, genre radio & related artis

Postby hakko » Tue Oct 02, 2012 3:42 pm

I'm glad to hear! From what I've seen, iSub seems most popular. MusicCabinet itself tries to mimic the default Subsonic API, to maintain compatibility with existing apps. So all apps should work just as if you were running a Subsonic 4.6 server, there's no one that takes advantage of what I've added to the web interface.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: MusicCabinet - artist radio, genre radio & related artis

Postby DarthNerdus » Tue Oct 02, 2012 4:04 pm

hakko wrote:... there's no one that takes advantage of what I've added to the web interface.

Hopefully as your project gains popularity, that will happen! Thanks for the amazingly fast reply.
Jesse Read
Check out audiophoneapp.com
Questions? Email me at jread@invokedcode.net
DarthNerdus
 
Posts: 17
Joined: Tue Oct 02, 2012 7:46 am

Re: MusicCabinet - artist radio, genre radio & related artis

Postby franco244 » Tue Oct 02, 2012 9:05 pm

hakko wrote:Movies/videos are accessible if you switch to "File based browsing" at the very bottom of the left frame (but that may be tedious, the purpose of this project is the create a more interesting streaming music server, not a general media server).

To go back to the previous setup, you'd have to do a clean install of everything (remove C:\Subsonic and start of with an empty Postgresql database), install Subsonic 4.6, then replace subsonic.war with http://dilerium.se/musiccabinet/subsonic-0.5.50b.war.


Ah alright. Will that war work with subsonic 4.7 or no?
franco244
 
Posts: 2
Joined: Tue Oct 02, 2012 1:33 am

Re: MusicCabinet - artist radio, genre radio & related artis

Postby hakko » Tue Oct 02, 2012 9:18 pm

That war file is basically Subsonic 4.6 with MusicCabinet on top, so replacing subsonic.war from a Subsonic 4.7 install will take you back in time to 4.6. For technical reasons, it's not really possible to just drop in MusicCabinet support into any Subsonic server as they're integrated in so many different places.

If anyone feels like porting the MusicCabinet code into Subsonic 4.7, feel free to do so, but it would be a pretty complicated project to sync the Subsonic 4.7 db with the PostgreSQL db. It would probably be easier to add whatever feature you miss from Subsonic 4.7 into the latest MusicCabinet code base.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: MusicCabinet - artist radio, genre radio & related artis

Postby DarthNerdus » Wed Oct 03, 2012 7:52 am

Another question similar to my previous one.

I use both Windows and Mac OS X machines at various points throughout my day, I love the features that you've built in such as radio, et. al. but I'm wondering: Are there desktop clients that work with your branch? Or do you know of any good method of hooking up media keys to it? I'm very used to the play/pause button being accessible, not buried in my browser tabs.
Jesse Read
Check out audiophoneapp.com
Questions? Email me at jread@invokedcode.net
DarthNerdus
 
Posts: 17
Joined: Tue Oct 02, 2012 7:46 am

Re: MusicCabinet - artist radio, genre radio & related artis

Postby hakko » Wed Oct 03, 2012 8:25 am

The closest thing I can think of right now is using an external player such as Foobar or Songbird for the playback of music, instead of the embedded Flash player.

The only "desktop client" that I'm aware of is a project by my friend mang who wrote this: https://github.com/mang/mpdc#readme. It doesn't even require Subsonic to run, it just uses the MusicCabinet database to create artist radio playlists etc.

I actually wrote an iTunes plugin a while ago (which only works on MacOSX) that adds the artist radio, genre radio, related artists etc as new menu items inside iTunes, but it doesn't work straight out of the box. but here's the code anyway in case somebody wants to fiddle with it (it does require some coding skills though and it's not up-to-date, so it's more conceptually interesting): https://github.com/hakko/iTunes
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: MusicCabinet - artist radio, genre radio & related artis

Postby Caleb » Fri Oct 05, 2012 12:09 pm

I've just visited my MusicCabinet instance and got a Null Pointer Exception:
Code: Select all
Exception   java.lang.NullPointerException
Message   null
Java version   Oracle Corporation 1.7.0_07
Operating system   Windows 7 6.1
Server   jetty-6.1.x
Memory   Used 54 of 150 MB
Stack trace   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)
Caleb
 
Posts: 17
Joined: Fri Feb 12, 2010 11:37 pm

Re: MusicCabinet - artist radio, genre radio & related artis

Postby hakko » Fri Oct 05, 2012 12:26 pm

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.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

PreviousNext

Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 21 guests