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 precipitous » Sun Jul 01, 2012 3:55 pm

crazyoldman wrote: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://



I am running Subsonic 4.6 in Ubuntu 12.04 and experiencing the same "Service Unavailable" error... This brings to mind two questions:

1. Is anyone successfully using MusicCabinet in Linux?
2. Could the problem be Java related? I ask this because I am using OpenJDK 6. Does MusicCabinet require version 7, or possibly the proprietary Sun Java packages instead of the open source OpenJDK ones?

I have been wanting something like MusicCabinet for a long time now, and am very excited to check it out... Any help getting it working would be greatly appreciated!
User avatar
precipitous
 
Posts: 91
Joined: Fri Aug 14, 2009 6:43 pm
Location: Santa Barbara CA USA

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

Postby hakko » Sun Jul 01, 2012 4:24 pm

Hi!

The "Service Unavailable" is most likely due to a conflict between Spring 2.5.6 (which Subsonic 4.6 is built on) and Spring 3.1 (which MusicCabinet is built on).

To get rid of that, I upgraded Subsonic to use Spring 3.1 as well. See the latter part of this long post for an explanation. viewtopic.php?f=4&t=9777#p42742

I asked crazyoldman to try it and he/she reported it to work well. I've been using it myself for a while without issues. Not sure about how well it works for mobile clients - user Ultraviolet reported an oddity that I haven't addressed yet.

So, shortly: try http://dilerium.se/musiccabinet/subsonic-beta.war (and rename to subsonic.war) but make sure to do a backup of your current settings beforehand - it upgrades the Subsonic password handling from using clear text passwords to salted hash sums, so there's no going back.

Java 7 is not required (yet). If you try the beta, please report further experiences in this thread!
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby jake- » Sun Jul 01, 2012 4:36 pm

Anybody else experiencing very slow responses from last.fm pic server?
jake-
 
Posts: 40
Joined: Sat Oct 16, 2010 8:09 pm

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

Postby hakko » Sun Jul 01, 2012 4:38 pm

Yeah, me too. Made me realize that it should be configurable whether to use last.fm or simply use local album artwork. Might even be a good idea to store the artist pictures locally (if that's allowed by the terms of service).
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby jake- » Sun Jul 01, 2012 5:14 pm

hakko wrote:Yeah, me too. Made me realize that it should be configurable whether to use last.fm or simply use local album artwork. Might even be a good idea to store the artist pictures locally (if that's allowed by the terms of service).


Falling back to local pictures after a timeout would definitely help
jake-
 
Posts: 40
Joined: Sat Oct 16, 2010 8:09 pm

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

Postby r0gue33 » Mon Jul 02, 2012 4:04 am

+1 for the album artwork. This mod is useful for the genre cloud and radio additions. My main problem is the album graphics. I would like to see an option for local pic store also.
r0gue33
r0gue33
 
Posts: 11
Joined: Sun Mar 07, 2010 3:16 am

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

Postby vollbr0t » Mon Jul 02, 2012 9:15 am

i experienced some problems with artist names that do contain special characters like "?" or ":"...
the albums of those artists (for example for the artist "Does it offend you, yeah?") can't be placed in an folder with the exact correct name ("Does it offend you, yeah?") because windows (yes, my server is running on a windows machine :P) does not allow those characters in foldernames. so the folders name is slightly different from the real artists name ("Does It Offend You, Yeah"). when i click on such an artist in the left frame, the artists albums will show up, but no information or last.fm stuff (like related artists, top tracks...) will be displayed. i suppose the sql-query with the folders-name (which is just a little bit different from the artist-name) does not return anything usefull. furthermore, when i have an artist with special characters in the playlist, and i click on the album in the playlist, it brings me to the correct artist-page with last.fm info.

some example artists with this problem:
artist name: "Crash:Conspiracy" ; folder name: "CrashConspiracy"
artist name: "...But Alive" ; folder name: "But Alive"
artist name: "Does It Offend You, Yeah?" folder name: "Does It Offend You, Yeah"
artist name: "D.A.F." folder name: "D.A.F"
artist name: "typ:t.u.r.b.o." folder name: "typ t.u.r.b.o"
artist name: "MIA." folder name: "MIA"
vollbr0t
 
Posts: 75
Joined: Wed Jan 19, 2011 6:35 pm

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

Postby hakko » Mon Jul 02, 2012 9:31 am

Hi! Most file systems have character limitations. I made it so that if you use an underscore character ( _ ) in a folder name, MusicCabinet will compare the folder name with the album artist / artist tag, and they'll be displayed instead if there's a close match. Like Crash_Conspiracy or D.A.F_

.. and I'm slowly working on a completely tagged based system to leave the 4.6 folder based handling behind, but that's quite a lot of work. It's gonna be so much better though!
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby vollbr0t » Mon Jul 02, 2012 11:45 am

yep, the underscore does the job :)

thanks!
vollbr0t
 
Posts: 75
Joined: Wed Jan 19, 2011 6:35 pm

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

Postby mea » Mon Jul 02, 2012 1:48 pm

hey hakko,

firstly, thanks for the incredible work you did with MusicCabinet.
I have a little problem. when I click on add last, sometimes, nothing happens.
enqueue seems to work correctly.
but both commands restarts the currently playing track. any idea how to fix this ? it's quite boring to have the playing track begining everytime you enqueue something :/

thanks !
mea
 
Posts: 48
Joined: Thu Mar 22, 2012 12:03 pm

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

Postby hakko » Mon Jul 02, 2012 2:20 pm

Oh, that definitely sounds like a bug. I never experienced it so I'd need some help on reproducing it though, to figure what's going wrong. Does it happen for all players? Do you use jukebox mode? Does it happen no matter of browser? If you could somehow narrow it down and tell "it's happening when I do X, but not when I do Y", that would be helpful!
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby calamitijo » Mon Jul 02, 2012 9:11 pm

Hello,
the thing i like very much in the 4.7 beta is the speed of the interface and other.
did your mod is fast???

Thanks for your job
calamitijo
 
Posts: 3
Joined: Mon Jul 02, 2012 9:07 pm

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

Postby hakko » Mon Jul 02, 2012 9:21 pm

Oh well. MusicCabinet 0.5 is built on top of Subsonic 4.6 (with an extra layer of meta-data caching to speed things up). It's hard to give an exact measurement, as MusicCabinet also displays all albums of an artist in the same window, opposed to Subsonic where you have to browse around to each individual album.

Subsonic 4.7 introduced a new way of storing meta-data of files in a database to increase speed. I'm currently writing a similar (hopefully better) solution myself, so MusicCabinet 0.6 will be faster than 0.5/4.6 and less memory-intense.

I guess the only way to be sure is to try it out yourself (or ask somebody who's running it kindly for a guest account).
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby cody_r_d » Mon Jul 02, 2012 9:33 pm

I have been messing with this all weekend and I really love it. You have answered most of all my questions with this mod and made it more user friendly to find new bands and similar artists. Thanks for all your hard work on this.

Do you think you can make a "upload" link on the main bar like I have seen on the Mashup Mod of 2.7?
Image

even made you a quick icon from your home icon if you wish to use it.

I also find it kind of annoying to have missing album art or artist art for bands that are not on Last.fm. Any plans to let us upload our own art for artists? Can we still use local cover art at some point?

Thanks again.
Cody
cody_r_d
 
Posts: 16
Joined: Tue Apr 19, 2011 8:39 pm
Location: Fresno CA

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

Postby hakko » Mon Jul 02, 2012 9:57 pm

Hi and thanks for your feedback!

I don't think I'll add any new features until 0.6 is stable (which will be a while, until then I'll only do bug fixes of previous versions). But thanks for providing the image! Where would the upload link go? To the upload section of the "More" page? It's actually pretty easy if you want to add it yourself - just play around with top.jsp.

Local cover art for artists is a good idea as well. Would definitely be good to integrate into Subsonic/MusicCabinet. The best work-around right now would be either:
1) Edit the artist, and save a modified biography. (This will make sure the biography doesn't get overwritten with last.fm updates.) Dig around in the postgresql database and change the artist image URL.
2) Or even better, upload artist images to last.fm! That would be pretty interesting. There's some caching rules involved but you should get them back into your Subsonic within a couple of weeks. You could also dig into the database to force the download.

The only reason I made last.fm images take precedence over local artwork is that my internet connection is so slow. : ) I should have made it configurable though. That'll happen, sooner or later.

I pretty much agree with everything you say, it's just a matter of prioritizing. It's quicker to say "it should be like this!" than to actually write the code, make test cases etc...
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 2 guests