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 jacobthe4th » Wed Jun 13, 2012 6:22 pm

Hakko,

OK, yeah, my memory is set to 500MB at least, perhaps even 1GB. I am having trouble logging into my server remotely to check (on the road). I had it at 1GB in the past and then noticed it never went past around 300MB ever, so I pared it back, I think. Either way, I can increase it. I will also update to the newer version, it is in fact running 0.5.34.

I will give it another go, once I am local to my server this evening. I will look for the other log file, too. (musiccabinet.log)

I hope the weather in Sweden is nice. I spent two summers in Göteborg ('97 & '98), working at the Volvo Torslanda facility, and loved it. Midsommardagen is a blast.

Thanks for your speedy reply.

Cheers,

- J
Subsonic V6.1.6 User - Lifetime Donation

- WHS 2011 (HP EX 490 - e7500 with 4GB RAM, 16TB HDD)
- 2,039 artists
- 9,121 albums
- 120,791 songs

All FLAC, All the time...
User avatar
jacobthe4th
 
Posts: 41
Joined: Thu Oct 07, 2010 2:23 pm
Location: US

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

Postby hakko » Wed Jun 13, 2012 6:25 pm

Good news! Thanks to Ultraviolet, I realized that under some (unclear, rare) circumstances, last.fm returns artist biographies that don't conform to the official specification. Up to this point, they have caused the import to stall, and fail to insert the recently fetched biographies.

This has now hopefully been addressed in version 0.5.45, which you can download from http://dilerium.se/musiccabinet/subsonic.war. This affects all users, although it seems quite rare. It's a pure bugfix release but I still recommend everyone to start using it.

Jacob: since you also ran into this issue, you could (if you like), connect to your postgres server using the pgAdmin tool, and execute this sql command in the MusicCabinet database:

Code: Select all
delete from library.webservice_history where calltype_id = 5 and artist_id not in (select artist_id from music.artistinfo)


If you do, all missing artist biographies will get fetched the next time you update the search index. If you don't, you'll have to wait for two weeks to have them fetched and updated by the search index. (MusicCabinet will consider them fetched and adhere to the last.fm caching rules, even though inserting them failed.)

and yes, the weather here is great and midsommardagen is just a few weeks away! thank you. :)
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 Jun 13, 2012 6:35 pm

Also: anyone using 0.5.45+ who'd like to help out making this better, please search for musiccabinet.log in your temp directory (the location will vary on different platforms), and if it contains ERROR rows, send it to me in a PM and I'll have a look. Thanks!
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby jacobthe4th » Wed Jun 13, 2012 9:03 pm

Hakko,

I have to say this is SOOOOOOOO Awesome! I have been waiting for a way to do this for a while now. Love it, thank you!!!

Based on other peoples posts:

1.) Yes, I'd like to see the Wiki link return to the album page. I use it regularly to help fill in the missing TAG info.

2.) Could you make the playlist length configurable, via either the Settings--> Music Cabinet page, or the Settings--> Personal page.

Thanks for your help. I updated the build (from 0.5.43 to 0.5.45) and ran the query and it ran like a top.

Sleep well,

- J
Subsonic V6.1.6 User - Lifetime Donation

- WHS 2011 (HP EX 490 - e7500 with 4GB RAM, 16TB HDD)
- 2,039 artists
- 9,121 albums
- 120,791 songs

All FLAC, All the time...
User avatar
jacobthe4th
 
Posts: 41
Joined: Thu Oct 07, 2010 2:23 pm
Location: US

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

Postby hakko » Wed Jun 13, 2012 9:15 pm

yay! thanks!

1.) ... what Wiki link? I'm confused now

2.) isn't it configurable from Settings -> MusicCabinet? or do I miss something?

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

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

Postby jacobthe4th » Wed Jun 13, 2012 9:31 pm

1.) Sorry I was referring to the Wikipedia link that used to show up on the Album page, with the Google, allmusic, and Last.fm on Sindre's base subsonic project.

For Example:

Image

2.) LOL, I'm an idiot. I hadn't looked back at the Music Cabinet tab AFTER the genre and radio tabs were populated. All is clear.

Thanks Again.
Subsonic V6.1.6 User - Lifetime Donation

- WHS 2011 (HP EX 490 - e7500 with 4GB RAM, 16TB HDD)
- 2,039 artists
- 9,121 albums
- 120,791 songs

All FLAC, All the time...
User avatar
jacobthe4th
 
Posts: 41
Joined: Thu Oct 07, 2010 2:23 pm
Location: US

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

Postby hakko » Wed Jun 13, 2012 9:41 pm

1. Ah sorry now I get it. I felt it was just cluttering but I guess I should put it back but make it configurable to use!

2. Oh well, it's a bit confusing how that page changes behavior depending on what MusicCabinet is doing. Good it got solved quickly!
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 » Thu Jun 14, 2012 5:38 pm

So --- Thanks to Hakko's direction I was able to get things setup.

Setup postgresql database on my SageTV Server
granted access to ports via firewall
modified the
pg_hba.conf file to allow a connection from my unraid/subsonic server

Popped open the war file in eclipse
modified the connection string
rebuilt the war
deployed
restarted subsonic services
BAM!

working. I am currently in the process of building the database.

Thanks for the help all.

I will gladly help anyone with a simliar setup as It took a few steps to get it running.

thanks!
PiX64
 
Posts: 15
Joined: Wed Jun 08, 2011 7:58 pm

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

Postby hakko » Thu Jun 14, 2012 6:05 pm

I like stories with a (hopefully) happy ending like this! Good call about the postgres configuration - it's very secured by default. I hope you noticed that MusicCabinet versions prior to 0.5.45 have a bug that could possibly under some circumstances stall the import of artist biographies?

Also, for less tech savvy people reading this, it shouldn't be necessary to install Eclipse and rebuild the subsonic.war - just open it using WinZip or whatever and update the connection string in the xml file, put it back and you're ready to replace your current 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 PiX64 » Thu Jun 14, 2012 6:23 pm

I tried opening the war with textwrangler, and with the default archive application on my mac, but each time i tried to edit and save it told me that I had to save off the file into a seperate location. Apparently it didn't want me to pop open a war and modify its contents... since i do dev among other things, I just opened it in eclipse changes and rebuilt.

I did not try on windows with winzip er whatever...that may do the trick.

Thanks again!
PiX64
 
Posts: 15
Joined: Wed Jun 08, 2011 7:58 pm

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

Postby Pcace » Sun Jun 17, 2012 1:43 pm

Hey, in the 4.7 beta there are a few nice features i would really like to have in my subsonic, but i do not want to miss musiccabinet. Is there a possibility to use Musiccabinet on Subsonic 4.7?


Thanks

Pcace
Pcace
 
Posts: 117
Joined: Tue Nov 29, 2011 2:44 pm

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

Postby hakko » Sun Jun 17, 2012 5:36 pm

Not really, sadly. From a technical standpoint, MusicCabinet and Subsonic 4.7b have turned in quite different directions from the common starting point which is 4.6. It would be possible to perform a merge but it's not very straight-forward and I'm not sure if 4.7b is stable enough to build on yet.

What in particular do you want from 4.7?
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby jacobthe4th » Tue Jun 19, 2012 2:49 pm

Hakko,

I know this question is difficult to answer having been involved in a few Open Source projects myself. I understand the issues of building the mods that become further from the mainline branch. Have you had any discussions with Sindre about bringing the Music Cabinet functionality into his mainline? You've done a lot of really good work here. I know that there are certain aspects (ie. Postgre) that would limit this possibility, but since I inserted your mod, the users of my server (including myself) have been really enjoying the subsonic server, especially the Play Artist Radio portion. Having the possibility for this functionality in the mobile devices would be an incredible feature. It's no stretch to assume those who have used products like Pandora, Last.fm and the like have these same thoughts.

Well, anyway, no real new ideas in this post, just me rambling.

Thanks again for all your work. Until something comes along, I believe I will be content with SS4.6 with Music Cabinet.
Last edited by jacobthe4th on Tue Jun 19, 2012 3:58 pm, edited 1 time in total.
Subsonic V6.1.6 User - Lifetime Donation

- WHS 2011 (HP EX 490 - e7500 with 4GB RAM, 16TB HDD)
- 2,039 artists
- 9,121 albums
- 120,791 songs

All FLAC, All the time...
User avatar
jacobthe4th
 
Posts: 41
Joined: Thu Oct 07, 2010 2:23 pm
Location: US

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

Postby hakko » Tue Jun 19, 2012 3:15 pm

Thanks! It's very rewarding to get feedback like that.

The terms of service for the last.fm API which I'm using states that their data is available solely for non-commercial purposes. For that reason, I've removed all ads from Subsonic and the limitations that forces people to donate (sharing, 30 day limit for streaming to mobile devices etc). I haven't asked Sindre and he hasn't asked me, but I'm pretty sure he wouldn't be impressed about that part.

I'd rather hope that more developers would like to get involved now when the MusicCabinet code is there. It's a pretty good platform for adding new interesting functionality actually. And it's available for anyone to play with at github.

Exposing the MusicCabinet functionality through the REST API and adding it to mobile devices wouldn't be that hard, for example. I'd be super happy if another developer took on that.

I also believe that now when everyone's running a Postgres server, a few things can be done more efficiently inside Subsonic. The media file meta data handling would benefit from being taken care of by Postgres, for example. I think the MusicCabinet project will diverge more and more from the official Subsonic. With the help of others, it could become pretty awesome, much better than something built by a single developer.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby Aktarus » Tue Jun 19, 2012 3:58 pm

Hello,

I nice feature to add could be the ability to customize the album layout in the personnal setting
Choose the number of rows and column will be nice !!!

MERCI :)
Aktarus
 
Posts: 50
Joined: Fri Feb 10, 2012 3:09 pm

PreviousNext

Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 2 guests