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 » Mon Sep 17, 2012 8:51 pm

jake- wrote:
Error: argument of JOIN/ON must be type boolean, not integer
... on tt.tag_id
^


Really? Something seems wrong here. What does this give? select max(update_id) from util.musiccabinet_version ;

What PostgreSQL version are you running?
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- » Mon Sep 17, 2012 9:17 pm

hakko wrote:
jake- wrote:
Error: argument of JOIN/ON must be type boolean, not integer
... on tt.tag_id
^


Really? Something seems wrong here. What does this give? select max(update_id) from util.musiccabinet_version ;

What PostgreSQL version are you running?


max: 1027
Version 9.1
jake-
 
Posts: 40
Joined: Sat Oct 16, 2010 8:09 pm

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

Postby precipitous » Mon Sep 17, 2012 9:40 pm

hakko wrote:
precipitous wrote:Regarding integrating more Last.FM data and functionality - I would LOVE to have the ability to select and play Last.FM (user) group radio in MusicCabinet much like we can now play genre radio. They have some really amazing group radio stations available like Brainwashed, The Real Dark Ambient Group, Cold Meat Industry, etc.

@Hakko - Would such a thing be possible?


I'm happy to announce that Last.fm groups are now integrated into MusicCabinet/Subsonic. See viewtopic.php?f=4&t=9777&p=45742#p45742. To use it, go to Settings -> MusicCabinet -> Group settings, and add "Brainwashed" or some other group of your taste. Head over to Genres, and it should be displayed below your genre cloud. If it doesn't, go have a coffee, and come back and press Genres again, last.fm might just be slow.

Also, searching has been fixed for mobile clients (works on my iSub at least).

@hakko - I installed this latest build and am REALLY impressed with it. The ability to play tracks based on a specific Last.FM user group is an incredibly welcome addition - and it is working flawlessly! Great work on an already amazing product...
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 » Tue Sep 18, 2012 6:18 am

Thanks for the suggestion and helping out getting it to work! It turned out a paid last.fm account isn't necessary - I'm just fetching this at a weekly basis and combining it with the already existing information on popular tracks per artist in your library. So it doesn't mimic the last.fm radio exactly (I guess their algorithm isn't public). But we know what artists to use and how to weight them from the chart and that seems to be information enough for this purpose.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby wiobyrne » Tue Sep 18, 2012 1:04 pm

Hi Hakko,

I'm trying to rebuild my setup, and the link for the Windows installer on your site is not working: http://dilerium.se/musiccabinet/#installation

Can I access this elsewhere? Also, if it's a new install, should I reinstall Subsonic and get that up and running, and then use the WIndows installer...or just go from a Java install to the Windows installer of subsonic+MusicCabinet?

Thanks in advance.
wiobyrne
 
Posts: 34
Joined: Sun Apr 24, 2011 3:15 pm

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

Postby hakko » Tue Sep 18, 2012 1:16 pm

My bad. The windows installer should be back now. And you should be safe by doing a Java 7 install and then directly using the windows installer, without setting up Subsonic 4.7 inbetween.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby wiobyrne » Tue Sep 18, 2012 2:41 pm

Hi,

Not a problem at all. Thanks for setting it all up and building a terrific product. I'm still busy trying to work out the kinks and get it working. I don't want to give up on using this.

-Ian
wiobyrne
 
Posts: 34
Joined: Sun Apr 24, 2011 3:15 pm

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

Postby toif » Tue Sep 18, 2012 9:58 pm

Hi,

I'm having this below error on my both mac mountain lions and couldn't be able to fix it with recommendations in previous posts.

HTTP ERROR: 503

SERVICE_UNAVAILABLE
RequestURI=/index.view
Powered by jetty://


I installed Java7u7 on my clean mountain lion then installed postgresql. But when I installed subsonic, it didn't work and gave the error "No compatible version of Java 1.5+ is available" even though I have Java7u7 installed. Then I uninstalled Java7u7 and installed Java7u6, didn't work either. Then I installed Java 6 to run subsonic. It worked fine, but when I replace subsonic.war with yours, it gives the above error and not running at all.

Any suggestions? how am I gonna fix it?

thankss
toif
 
Posts: 22
Joined: Thu Sep 16, 2010 1:20 pm

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

Postby hakko » Tue Sep 18, 2012 10:09 pm

Do you start the application using the Subsonic.app? When I checked last time, there was no JavaApplicationStub for Java 7 applications on Mac, meaning, I can't create a nice Mac bundle right now. So on my Mac, I'm running the stand-alone version, and I start it using a subsonic.sh script. This gives the drawback of not having a nice icon in the upper right corner but having a java icon in the dock instead, so I'm hoping that Java 7 will gain more support on Macs (it was officially released only a couple of months ago if I remember correctly).

Are you familiar with unzipping an archive, setting execution rights on a script, reading through it and then running it? There's no simple drap-and-drop install for Macs right now because of the Java 6/7 situation.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby toif » Wed Sep 19, 2012 7:23 am

I was trying with Subsonic.app, but now I tried starting subsonic with .sh script.
It says it's started but still giving the same error when I go localhost:4040.
Started Subsonic [PID 7688, /var/subsonic/subsonic_sh.log]
toif
 
Posts: 22
Joined: Thu Sep 16, 2010 1:20 pm

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

Postby hakko » Wed Sep 19, 2012 7:33 am

And you're using both subsonic.war and subsonic-booter-jar-with-depencies.jar from the installation archive, not your old ones? What output does subsonic.sh give when you run 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 toif » Wed Sep 19, 2012 8:11 am

The log says "Unable to locate a Java Runtime to invoke". Because I disabled Java 6 and probably subsonic couldn't find where java7 is located.

Maybe I should edit this part in .sh script?
# Use JAVA_HOME if set, otherwise assume java is in the path.
JAVA=java
if [ -e "${JAVA_HOME}" ]
then
JAVA=${JAVA_HOME}/bin/java
fi

If so, how can I find where Java7 is located?
toif
 
Posts: 22
Joined: Thu Sep 16, 2010 1:20 pm

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

Postby Caleb » Wed Sep 19, 2012 10:27 am

hakko wrote:Thanks! This mod is complete replacement for the normal Subsonic server. So if you're using it, you're not really using Subsonic 4.7 beta3 anymore. I've incorporated some features from 4.7 (like the starring) into MusicCabinet, and left out others (like the playlist import).

This project is completely about creating a more advanced streaming music server for people with large music libraries, while Sindre seems more into video streaming right now. So I'd say that MusicCabinet and Subsonic are moving in different directions, and you just have to make a decision which one fits your needs best based on the different functionality they offer.


I see. Btw, why did you decide to use the monstrously huge PostgreSQL instead of something like http://www.h2database.com/html/main.html ?

I've used H2 before, and it's small, powerful and fast... PostgreSQL seems like an overkill, complicates the setup process and takes up more resources while it's running.
Caleb
 
Posts: 17
Joined: Fri Feb 12, 2010 11:37 pm

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

Postby hakko » Wed Sep 19, 2012 10:56 am

PostgreSQL is simply a better database. H2 doesn't support window functions which I use for the artist radio and genre radio, for example. It also doesn't support indexed LIKE searches (AFAIK), which I use when searching for recently added albums, starred items etc. Another reason is that I use the PostgreSQL data for other purposes (offline music player, various scripts) so I want Postgre to be up and running and not depend on Subsonic being available.

This is also quite embarrassing for H2 vs PostgreSQL: http://en.wikipedia.org/wiki/Comparison ... ms#Indexes
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 » Wed Sep 19, 2012 6:50 pm

toif wrote:If so, how can I find where Java7 is located?


In a Terminal window, you can run the command which java to tell which one is being used (which one is found first on path). You can also do java -version to see if it's expected outcome.

The path will depend on type of install (Oracle official / OpenJDK). Mine is in /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java.
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 1 guest