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 phantom4 » Wed Sep 19, 2012 10:39 pm

hakko wrote:
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.


I can't speak for Mountain Lion as I'm still running 10.7.4, but the way Apple wants you to deal with Java is to use the Java Preferences App (Applications > Utilities > Java Preferences). It will list all of the versions of Java installed and you can change the preferred order depending on which version you want Java applications and command line tools to use. If you need to set the JAVA_HOME environment variable, set it to JAVA_HOME=`/usr/libexec/java_home` (backticks, not single quotes). That will point to the version of Java you've put first in the list. If you only want to use Java 7, just move it to the top of the list in Java Preferences and you should be good to go.

In my case I have Java 5, 6, and 7 installed and decided to leave Apple's Java 6 as the default (for other apps), and point to Java 7 directly (/Library/Java/JavaVirtualMachines/jdk1.7.0_06.jdk/Contents/Home/bin) for subsonic.sh.
phantom4
 
Posts: 9
Joined: Thu Aug 25, 2011 6:46 pm

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

Postby maxxh » Thu Sep 20, 2012 2:07 am

I found a bug with the REST API when transcoding, which makes playing files on my Android impossible.

The rest/getMusicDirectory.view call currently returns something like this:
Code: Select all
<child id="1" parent="-1" title="So Far Away" album="Brothers in Arms" artist="Dire Straits" isDir="false" track="1" year="1985" coverArt="433a5..." size="33885186" contentType="audio/flac" suffix="flac" duration="311" bitrate="868" path="/mnt/files/music/Dire Straits - 1985 - Brothers in Arms [FLAC]/01 - So Far Away.flac"/>

The following two elements are missing, hence the file is stored as .flac on the phone and will not play (as it really is an mp3 file).
Code: Select all
transcodedSuffix="mp3" transcodedContentType="audio/mpeg"

Also, the path should be a relative path (without the /mnt/files/music/ in my case).

Here's a patch that restores this original subsonic behavior: http://pastie.org/private/f2ufvmlklhovdah7xjudbw
maxxh
 
Posts: 21
Joined: Sat Apr 16, 2011 9:22 pm
Location: Austria

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

Postby hakko » Thu Sep 20, 2012 6:10 am

Thanks. I appreciate that you take the time to go through the code (especially RESTController - it was ugly when I started porting it and it's not any better now) and give back to help everybody else. I'll include this together with your other fixes in the next release.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby odt » Thu Sep 20, 2012 9:12 am

Thanks for the wonderful last.fm integration - been a user on that site for 6 years and what you have done with MusicCabinet is much more of what I could possibly have imagined. It really has made me rediscover a lot of my music collection in the past day alone that I've been using it. So thanks again!

Also, one question/request - I have a huge amount of VA collections and often times I search for those albums by the name of an artist/track included there. Now after locating said album I would like to queue all tracks on it, not just the one track that is shown as the search result. Clicking the album name will not go to the full album but rather hide/show the one track on it. What can I do to have quick access to all tracks on this album, suggestions welcome.
odt
 
Posts: 30
Joined: Wed Sep 19, 2012 11:09 am

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

Postby vshaulsk » Thu Sep 20, 2012 11:16 am

Hello.... Thank you for this great addition/mod of subsonic. It is exactly what I have been looking for ......

I do have a question on one function:

Under the home section you have TOP ARTISTS and RECOMMENDED. However even after a full scan + registering to last.fm I still do not see anything in those sections. Is this normal or did I set up the system incorrectly????

Thank you !!!
vshaulsk
 
Posts: 3
Joined: Thu Sep 20, 2012 11:10 am

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

Postby hakko » Thu Sep 20, 2012 11:27 am

odt wrote: I have a huge amount of VA collections and often times I search for those albums by the name of an artist/track included there. Now after locating said album I would like to queue all tracks on it, not just the one track that is shown as the search result. Clicking the album name will not go to the full album but rather hide/show the one track on it. What can I do to have quick access to all tracks on this album, suggestions welcome.


I'm glad to hear you're enjoying this mod! And thanks for posting that feedback, it's fun as a developer to hear that other people benefit from all those hours that I've spent.

I've noticed your problem a couple of times myself - I search for an artist, it displays tracks from VA albums, and I actually get interested in the full VA album to see who's more on it. I've been thinking of adding a simple arrow (forward link) after the album name or something like that, that takes you to the VA page with that full album being shown. If you have other ideas on how to achieve this, just post them here and I'll consider them.
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 » Thu Sep 20, 2012 11:30 am

vshaulsk wrote:I do have a question on one function:

Under the home section you have TOP ARTISTS and RECOMMENDED. However even after a full scan + registering to last.fm I still do not see anything in those sections. Is this normal or did I set up the system incorrectly????


Thanks for your positive feedback!

Have you configured Subsonic/MusicCabinet with your personal last.fm account? From Settings -> Personal.

It might also be that if your account is brand new, last.fm simply doesn't have any top artists for you yet, and no recommendations as they don't know what you listen to. The more songs you scrobble to last.fm, the more accurate recommendations are they able to give you, based on your taste in music.

If songs that you listen to in Subsonic/MusicCabinet appear on your last.fm profile (on the last.fm website), than everything's correctly set up.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby vshaulsk » Fri Sep 21, 2012 11:05 am

Thank you for the answer.... My account is brand new so that is probably what is going on. I do see that artists are being added to it as I listen so it must be working !!!!

I will just wait and see what happens over time :)

hakko wrote:
vshaulsk wrote:I do have a question on one function:

Under the home section you have TOP ARTISTS and RECOMMENDED. However even after a full scan + registering to last.fm I still do not see anything in those sections. Is this normal or did I set up the system incorrectly????


Thanks for your positive feedback!

Have you configured Subsonic/MusicCabinet with your personal last.fm account? From Settings -> Personal.

It might also be that if your account is brand new, last.fm simply doesn't have any top artists for you yet, and no recommendations as they don't know what you listen to. The more songs you scrobble to last.fm, the more accurate recommendations are they able to give you, based on your taste in music.

If songs that you listen to in Subsonic/MusicCabinet appear on your last.fm profile (on the last.fm website), than everything's correctly set up.
vshaulsk
 
Posts: 3
Joined: Thu Sep 20, 2012 11:10 am

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

Postby torgull » Sat Sep 22, 2012 12:00 pm

hakko wrote:What I do wonder is: why do you use the file based mode in the left frame? This mod revolves around the last.fm integration but in file based mode, you get nothing out of that, just files and folders? The only reason I built it was to give people something to listen to while they scan their library for the first time. And so that people can access their movies, and newly added albums immediately. I never meant it to be a full-blown, real alternative.

I understand adding a whole directory to a music player like Foobar that is built around a super efficient playlist window which handles thousands of songs. But the Subsonic UI doesn't really work like that. Having a "Play all" button for your root media folder wouldn't behave very well in the web interface, I'm afraid. If you use the tag based interface, you get "Play all" for artists and albums at least?


I had a problem with single tracks in 1 folder. i use that for making cases with the best nr's of a genre. its easier when dj'ing to have a folder with single tracks then scrolling all folder in my music warehouse (800gb). i fixed that by tagging all single tracks and give them albumartist tag VA. now it does show up in file tree as 1 folder and i can push the play all button.

can music cabinet read multiple genres? i have started with checking all tags in my warehouse with mp3tag and discogs as database. i want to use the STYLE tag from discogs as genre. its more specific. I can use the , as separator or add multiple genre fields in the tag.. what is the best solution for multiple genres?
Last edited by torgull on Sat Sep 22, 2012 12:06 pm, edited 1 time in total.
Running VM Subsonic standalone, v4.6 on Debian with ESXi5.1 as host. 512mb memory limit
torgull
 
Posts: 17
Joined: Fri Oct 21, 2011 10:55 am

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

Postby torgull » Sat Sep 22, 2012 12:03 pm

hakko wrote:
odt wrote: I have a huge amount of VA collections and often times I search for those albums by the name of an artist/track included there. Now after locating said album I would like to queue all tracks on it, not just the one track that is shown as the search result. Clicking the album name will not go to the full album but rather hide/show the one track on it. What can I do to have quick access to all tracks on this album, suggestions welcome.


I'm glad to hear you're enjoying this mod! And thanks for posting that feedback, it's fun as a developer to hear that other people benefit from all those hours that I've spent.

I've noticed your problem a couple of times myself - I search for an artist, it displays tracks from VA albums, and I actually get interested in the full VA album to see who's more on it. I've been thinking of adding a simple arrow (forward link) after the album name or something like that, that takes you to the VA page with that full album being shown. If you have other ideas on how to achieve this, just post them here and I'll consider them.


a simple arrow would be great and solve the problem i'm encountering a lot as well
Running VM Subsonic standalone, v4.6 on Debian with ESXi5.1 as host. 512mb memory limit
torgull
 
Posts: 17
Joined: Fri Oct 21, 2011 10:55 am

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

Postby hakko » Sat Sep 22, 2012 12:38 pm

MusicCabinet is built on tags, not directories, so if you need to create your own "best of" collections album, i'd suggest:

- copy those tracks into a separate directory (for simplicity)
- change album artist + album name to Various Artists, Country Hits 2012 or whatever for all files. leave the artist + track title as it is
- scan and it should appear in the left frame, as Various Artists. when you click the artist link, your new Country Hits 2012 album should appear

Tags are currently organized per artist, not per track, and fetched from last.fm. Tags are associated with an artist together with a weight indicator, so an artist can be 100% disco and 70% pop. There's currently no interface for changing neither artist genres nor weight (only people with database skills can do that) but it's on my "when time permits" list.

ID3 tags are read when scanning your library, but there's no support for multiple genres (it's not supported in official specs) and they're not even used anywhere, yet. They're just saved for future use (they will come in handy sooner or later).

But for now, you'd have to find somebody with a bit of programming skills to read discogs style tags into the artist tag system rather than using last.fm.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby GJ51 » Tue Sep 25, 2012 3:16 pm

I've just started getting into testing Music Cabinet on my servers. I like it so far but would like to know if it is possible to edit or get a theme that uses the Black theme but with Cyan lettering for the foreground color.

Thanks for the mod.

Where's your "Donate" button?

A friend of mine loves the mod and wants to donate.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

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

Postby hakko » Tue Sep 25, 2012 4:40 pm

I'm glad you like it!

In general, I tend to stay away from front end design (I know my limits). So to get a new theme, you'd have to jump into the html sources yourself. It's not super complicated though - look in jetty\0.7.10\webapp\icons\ and jetty\0.7.10\webapp\WEB-INF\classes\net\sourceforge\subsonic\theme\. The best thing would be to make a completely new scheme based on the black one, but just edit foreground colors and also edit all the top row images using Gimp/Photoshop etc. If you make it look good, I'll be glad to include it in future releases.

I don't have a donate button - currently, I'm reasoning that I lack spare time, not money. I'd be happy if your friend wanted to donate any amount of money to charity instead, there are less fortunate people and animals who need it more than me. It would motivate me to hear that some NGO benefited from this job that I mainly do for fun.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

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

Postby maxxh » Thu Sep 27, 2012 1:50 pm

I have another experimental change: Updated JW Player JavaScript API from v4 to v5 (in WebPlayer).
It uses JW Player 5.10 and the JW Embedder instead of the old/deprecated SWFObject method.
This enables JW Player to use HTML5 for audio playback.

Unfortunately i am not happy with the HTML5 playback, so the default is still Flash.
Here is a diff: http://pastie.org/private/vk6pbgcpydjmn58ycqaoiq
Note: this change only affects audio playback, as i am not interested in the video part of subsonic.

I also tested JW Player 6 Beta 2. The HTML5 player seems to be more reliable. Another useful thing in v6 is the type=<mp3|aac|vorbis...> parameter (which enabled vorbis playback, although it doesn't work very good).
The reason i would stay with v5: the default v6 skin would need some changes (horizontal volume slider instead of a non-working vertical one, color changes to fit into the theme), and the player has to be initialized with a proper media file on setup (either load a random mp3 file or ship a dummy one).
maxxh
 
Posts: 21
Joined: Sat Apr 16, 2011 9:22 pm
Location: Austria

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

Postby hakko » Thu Sep 27, 2012 6:13 pm

Thanks! Do you happen to have a Github account? You could then push updates to this project, as I think you're contributing valuable input. I've added your previous fixes to the code base, but not published them yet.
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 27 guests