How to integrate MusicCabinet into Subsonic on Mac

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

Moderator: moderators

How to integrate MusicCabinet into Subsonic on Mac

Postby dsync89 » Fri Oct 19, 2012 8:56 am

Hey guys, I have been an avid user of Ampache until I get to know SubSonic few days ago.

Currently I have TomCat6, Postgre (the .app version), and the original SubSonic (installed using WAR standalone method) running on my Mac OS 10.8.2. How can I integrate this wonderful mod to the existing ones? I had tried putting all the files inside the standalone zip into the webapps folder but it just wouldn't work. Perhaps I'm doing it the wrong way.
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: How to integrate MusicCabinet into Subsonic on Mac

Postby hakko » Fri Oct 19, 2012 2:29 pm

If you're running Tomcat6, it should be possible to just drop in this subsonic.war file: http://dilerium.se/musiccabinet/subsonic-0.7.11.war. I'm doing some experiments/optimizations, so the latest 0.7.12 version from the standalone zip won't work on Tomcat right now.

If you want it to run as a service not tied to Tomcat, you'd have to download this zip archive, set execution rights etc for the subsonic.sh script and then start it that way.

There's no Subsonic.app for MusicCabinet as there is for the default Subsonic. Last time I check, there was no JavaApplicationStub support for Java 7 in OS X yet.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: How to integrate MusicCabinet into Subsonic on Mac

Postby dsync89 » Fri Oct 19, 2012 3:04 pm

Thanks for the quick reply. I had tried to drop it into the webapps folder but it always come out with the following error...

Code: Select all
HTTP Status 503 - This application is not currently available

type Status report

message This application is not currently available

description The requested service (This application is not currently available) is not currently available.

Apache Tomcat/6.0.35


BTW I also tried out the standalone version. But I keep on getting the following error when launching it. I installed the postgre92 via macport following the guide http://phlippers.net/blog/2012/08/03/install-postgresql-9-dot-2-on-os-x-mountain-lion/, if that helps.
Code: Select all
FATAL:  database "musiccabinet" does not exist


EDIT: I got the standalone working right now. BTW is there any way to filter by album/genre/composer/year at the left column instead of file or artist?
Last edited by dsync89 on Fri Oct 19, 2012 3:38 pm, edited 1 time in total.
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: How to integrate MusicCabinet into Subsonic on Mac

Postby hakko » Fri Oct 19, 2012 3:28 pm

Could it be that your Tomcat is configured to run Java 6?

When running the standalone version, what happens if you point your browser to localhost:4040? It is expected that the database won't exist, it'll be created during the installation phase (which is initiated from the browser).
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: How to integrate MusicCabinet into Subsonic on Mac

Postby dsync89 » Fri Oct 19, 2012 3:40 pm

Thanks for the reply. Yea I've solved the db issue now. BTW what is supposed to be in the blank field?

Image

Uploaded with ImageShack.us
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: How to integrate MusicCabinet into Subsonic on Mac

Postby hakko » Fri Oct 19, 2012 3:44 pm

Once you've chosen which genres to use (from Settings -> MusicCabinet -> Tag settings), you can use it as a quick filter to only display artists matching a certain genre.

http://dilerium.se/musiccabinet/#genreFilter
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: How to integrate MusicCabinet into Subsonic on Mac

Postby dsync89 » Fri Oct 19, 2012 3:45 pm

I see. Now that was really great now! One more question though, is it possible to integrate it with the Madsonic mod? It would be awesome if possible.
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: How to integrate MusicCabinet into Subsonic on Mac

Postby hakko » Fri Oct 19, 2012 3:46 pm

The more music you have, the more useful will this mod become. For 70 artists, it might not help you a lot with suggestions on related artists etc, because you probably already know most of the artists that are in your library.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: How to integrate MusicCabinet into Subsonic on Mac

Postby hakko » Fri Oct 19, 2012 3:48 pm

It's not really possible to integrate MusicCabinet/Madsonic, as they are growing in different directions, solving different problems. So right now, you'd have to choose which one fits your needs best.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: How to integrate MusicCabinet into Subsonic on Mac

Postby dsync89 » Fri Oct 19, 2012 3:52 pm

I had only included some folder for test now. Will upload my full album after I had fully tested it :) Thanks for the effort to develop this mod!

EDIT: I noticed that the lyrics feature doesn't seemed to search for track. Is it possible to add more lyric source like the lyrics plugin available from foobar2k?
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: How to integrate MusicCabinet into Subsonic on Mac

Postby hakko » Fri Oct 19, 2012 3:59 pm

I see. You're welcome! Feel free to post feature requests if you come up with interesting ideas that would make this a better music streaming server. (although there are no guarantees on having them implemented, this is just a hobby project for me, written in my spare time)
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: How to integrate MusicCabinet into Subsonic on Mac

Postby dsync89 » Sat Oct 20, 2012 2:07 am

Hi there hakko, I've been noticing that I have a bunch of postgre fatal error code warning that there are too many connections. Further checking the Activity Monitor, I see that there are many postgre process being spawned. So I was wondering is there anything wrong with it?

In addition, the rating doesn't seemed to work too as nothing shown up upon query.

Code: Select all
FATAL:  sorry, too many clients already
FATAL:  sorry, too many clients already
FATAL:  sorry, too many clients already
FATAL:  sorry, too many clients already
FATAL:  sorry, too many clients already
...
musicScrape @ Music Cabinet Mod
http://musicscrape.zapto.org:8080
dsync89
 
Posts: 72
Joined: Fri Oct 19, 2012 8:51 am

Re: How to integrate MusicCabinet into Subsonic on Mac

Postby hakko » Sat Oct 20, 2012 10:14 am

Make sure there's only one subsonic/musiccabinet process running, and that you don't connect using a lot of other clients. I think the default max number of connections is around 100 and musiccabinet is using maybe 25, so you should be super fine unless you've started the service, forced killed it, restarted, forced killed etc. You can also use the pgAdmin tool to kill dead connections if necessary (but that's normally not needed at all).
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden


Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 33 guests