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 hakko » Fri May 25, 2012 4:54 am

Thank you! I'm surprised about the error.. it sounds like it's using an old .jsp file, I changed that exactly to support people having the same artist in multiple media folders. But 0.5.42 Genres and Related artists works for me.

Could you first of all try cleaning your cache from preventing your browser from using old files? Then check at the about view where it says Version, and confirm that it says "Built with MusicCabinet plugin, version 0.5.42, on May 21, 2012"? If that doesn't work, you could also stop your Subsonic service, and remove any directory below <subsonic dir (probably c:/subsonic)>/jetty/, with a lower version number like 0.5.3x or what you've been using before. It shouldn't pick up anything from there, but just as a last resort. And then start again. Let me know how it works out! It's good to know the cause of every single error that occurs, to help make this better.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby hakko » Fri May 25, 2012 10:28 am

Minor update:

- Added browsing in genre view (still displays top 20 as default, but you can now browse to get top 20-40, 40-60 etc) as requested by TheWarden
- Added possibility to generate larger playlists from more view (100, 200, 500 items) as requested by Aktarus

This is version 0.5.43, available at http://dilerium.se/musiccabinet/subsonic.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 Ultraviolet » Fri May 25, 2012 2:32 pm

I'm being dense. What did the last version change? I'm running it, but I'm apparently not noticing the differences.
Ultraviolet
 
Posts: 62
Joined: Wed Jul 21, 2010 2:29 pm

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

Postby hakko » Fri May 25, 2012 2:45 pm

0.5.43? No biggie. When you go to Genres and select one of them, there used to be 20 top artists displayed. It still looks the same, but at the bottom of the page there's now a button saying "next". Press it to get to top 20-40 instead. You're now at "page 2" of that genre and it has a "previous" button (taking you to page 1) and a next button (taking you to page 3) etc.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby Ultraviolet » Fri May 25, 2012 3:17 pm

Ahh, that explains it. For some reason, I rarely have any top artists listed for my selected genre and haven't found one with more than 6 yet. Think I may need a new IP...at this point, I'm pretty sure last.fm hates me.
Ultraviolet
 
Posts: 62
Joined: Wed Jul 21, 2010 2:29 pm

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

Postby hakko » Fri May 25, 2012 3:24 pm

Hmm. What kind of music do you have, and do you update your search index nightly now? It totally depends on what you listen to, but a genre like "indie" for example should have loads of artists given the size of your library. If you'd want to, you could create an account for me in your Subsonic server and send me username/password in a PM here and I'll have a look. But I also totally understand if you want to keep your massive collection away from anyone outside your trust zone.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby Neil Hunt » Fri May 25, 2012 11:22 pm

hakko wrote:Could you first of all try cleaning your cache from preventing your browser from using old files? Then check at the about view where it says Version, and confirm that it says "Built with MusicCabinet plugin, version 0.5.42, on May 21, 2012"? If that doesn't work, you could also stop your Subsonic service, and remove any directory below <subsonic dir (probably c:/subsonic)>/jetty/, with a lower version number like 0.5.3x or what you've been using before. It shouldn't pick up anything from there, but just as a last resort. And then start again. Let me know how it works out! It's good to know the cause of every single error that occurs, to help make this better.


Thanks for the tips. Cleared cache, no effect. Checked version, was 0.5.42, on May 21, 2012. Stopped Subsonic service and removed everything under \webapp, installed version 0.5.43 and now the Genres work perfect but still getting the same "javax.servlet.jsp.el.ELException: Unable to find a value for "path" in object of class "com.github.hakko.musiccabinet.domain.model.aggr.ArtistRecommendation" using operator "."" error with Related artists. Weird.
Neil Hunt
 
Posts: 13
Joined: Thu May 24, 2012 7:57 pm

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

Postby hakko » Sat May 26, 2012 7:53 am

I need a closer look at how Subsonic loads and compiles jsps (and mostly, why old versions get picked up). But I'd actually say it doesn't help removing below /webapp, as the jsp files are placed under jetty/<BUILD_NUMBER>/jsp/org/apache/jsp/WEB_002dINF/jsp. Can you stop Subsonic, remove C:/subsonic/jetty entirely (there's nothing personal in there), and start again? That should do it.

What OS are you running btw?
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby hakko » Sat May 26, 2012 11:55 am

Thank you! I'm not sure if I get it, but if you and your friends want one last.fm account in common, why don't you create one at last.fm and then you could all register the username you've chosen from Settings -> Personal? Subsonic already has a built-in possibility to scrobble what you're listening to, so why not use that?

If you'd like every song to be scrobbled twice (once for your personal account, once for your common account) I'd suggest grabbing the code from github.com/hakko and adding that feature. Or register it at the Github issue tracker, if somebody else feels like implementing it. But for me personally, it's gonna end up far down on my list unfortunately, there are other more exciting unimplemented features with higher priority.

Regards
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby Neil Hunt » Sun May 27, 2012 11:10 pm

hakko wrote:I need a closer look at how Subsonic loads and compiles jsps (and mostly, why old versions get picked up). But I'd actually say it doesn't help removing below /webapp, as the jsp files are placed under jetty/<BUILD_NUMBER>/jsp/org/apache/jsp/WEB_002dINF/jsp. Can you stop Subsonic, remove C:/subsonic/jetty entirely (there's nothing personal in there), and start again? That should do it.

What OS are you running btw?


I decided to restore Subsonic from a recent backup, then installed your latest .war and now everything works as it should. I'm running Win XP.
Neil Hunt
 
Posts: 13
Joined: Thu May 24, 2012 7:57 pm

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

Postby crazyoldman » Mon May 28, 2012 2:07 pm

I'm running into a problem trying to get MusicCabinet working on my Ubuntu machine. I've installed Subsonic using the Ubuntu/Debian package provided on the main Subsonic page. I replaced subsonic.war (located inside /usr/share/subsonic) with your subsonic.war, but when starting the subsonic service and loading up the webpage, I receive the following friendly message:

Code: Select all
HTTP ERROR: 503

SERVICE_UNAVAILABLE
RequestURI=/index.view

Powered by jetty://


So, yeah. The subsonic_sh.log file, located inside /var/subsonic, seems to be full of errors. You can see this log here: http://pastebin.com/0rGUDvKJ

Any help would be appreciated, thanks!
crazyoldman
 
Posts: 2
Joined: Mon May 28, 2012 1:59 pm

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

Postby hakko » Mon May 28, 2012 2:25 pm

Thanks for the log and sorry about the error! My educated guess is that the Java class loading order behaves differently on different platforms, and that I need to consolidate project imports to avoid the risk of this happening. (Subsonic uses an old version of the Spring library and MusicCabinet uses a newer version. I never had any conflicts so I thought they could co-exist, but obviously they can't under certain circumstances.) I'll make this my #1 priority to fix, but I'm pretty busy at the moment so it might take a little while before I get back to you. I'll send you a PM once I have an update.

Regards
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby crazyoldman » Mon May 28, 2012 6:11 pm

Cool, I look forward to it!
crazyoldman
 
Posts: 2
Joined: Mon May 28, 2012 1:59 pm

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

Postby hakko » Tue Jun 05, 2012 9:38 pm

Thanks! Yes, the next time I release a new version (say 0.6.1), it will get expanded to /var/subsonic/jetty/0.6.1/ and playlist.jsp will get picked from there instead of from 0.5.37. So you'll have to manually update playlist.jsp again. Or, you could fork MusicCabinet from https://github.com/hakko, add your changes once, and whenever there's a new version you could just do "git pull" + "mvn package" and it'll integrate your changes with mine and then create a new subsonic.war file. That would be the programmer way of doing it.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby PiX64 » Tue Jun 12, 2012 1:24 am

Hey - This looks awesome!

I would like to start using this to try it out, but was wondering if anyone here as experience setting up postgres on an unraid machine? I currently use unraid for all file storage and my subsonic server. I have been poking around over at the unraid forum, as well as on google, but haven't found someone doing this.

Any suggestions?
PiX64
 
Posts: 15
Joined: Wed Jun 08, 2011 7:58 pm

PreviousNext

Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 3 guests