getmusicbee.com

MusicBee & Add-Ons => Plugins => Topic started by: Steven on October 01, 2012, 09:13:10 PM

Title: Last.fm Similar Artists/Tracks
Post by: Steven on October 01, 2012, 09:13:10 PM
I have implemented a plugin that shows recommended artists and tracks similar to the current playing track in the Track and Artist panel. You can perform a number of actions such as finding tracks by each artist in your library, opening the last.fm web page, queueing/playing the similar tracks if they are in your library, etc. You do not need to have a last.fm account to use this plugin.
Its inspired by the Last.fm Playing Track Data (http://getmusicbee.com/forum/index.php?topic=6914.0) website link done by Thorbjorn.

(http://getmusicbee.com/images/forum/RecommendedArtistsAndTracks.jpg)

You can click on an artist or a track, with the default or override action set from the right click context menu.

For artists the actions can be:
- open the last.fm artist web page
- find the tracks for that artist in your library (note that the displayed track count includes inbox files, which dont appear in the library filter)
- find the tracks for similar artists to the one clicked
- if you click using the middle mouse button, then a tab with the artist tracks in your library will be opened irrespective of the settings
For tracks the actions can be:
- as above for the track artist
- open the last.fm track web page
- if MB matches the track to one in your library:
    - play now (it actually queues the track next and plays immediately so as not to destroy your now playing list)
    - queue next
    - queue last/ random

Installation
for MusicBee 3.0+:
- unzip the plugin: http://www.mediafire.com/file/m8387radlr0fkv9/mb_LastFmRecommendationsPlugin.zip/file (http://www.mediafire.com/file/m8387radlr0fkv9/mb_LastFmRecommendationsPlugin.zip/file)
- copy the files to the Plugins sub-folder of MusicBee
Title: Re: Last.fm Recommendations
Post by: Thorbjorn on October 01, 2012, 09:31:41 PM
Hehe awesome Steven. It works great.

I was actually in the process of trying to make this into a plugin myself. Have never done any programming like this so was a hard learning curve. Looking through the API was almost greek to me at the beginning. Made me respect your work even more.

If anyone is interested to see my very early test it's here:
https://www.dropbox.com/s/kyfq90s32wpwm4s/mb_LastFMTrackDataDll.rar
And no, it can't compare to Stevens work of course :)

(http://i.imgur.com/z2yPL.png)
Title: Re: Last.fm Recommendations
Post by: beeing good on October 01, 2012, 09:40:44 PM
This is great, thanks a lot!
Title: Re: Last.fm Recommendations
Post by: Steven on October 01, 2012, 10:04:39 PM
small update - i added the option to open the last.fm page for the clicked track
Title: Re: Artist/ Track Recommendations
Post by: SimonBRT on October 02, 2012, 12:00:32 AM
this is excellent!  thanks.
Title: Re: Artist/ Track Recommendations
Post by: Alainn on October 02, 2012, 01:41:08 PM
I like this a lot, I'm using their actual pages less and less now. Would it be possible to also show the amount of plays I have for the recommended artists? That would come in use if you're exploring a genre.
Title: Re: Artist/ Track Recommendations
Post by: dgbx on October 02, 2012, 03:41:49 PM
Thank you Steven.  Another excellent addition to MusicBee.
Title: Re: Artist/ Track Recommendations
Post by: Bee-liever on October 03, 2012, 07:24:16 AM
Thank you Steven.  Another excellent addition to MusicBee.


What he said!

You keep coming up with great ideas. Thanks again
Title: Re: Last.fm Similar Artists/Tracks
Post by: desplantes on October 04, 2012, 06:41:31 AM
This is great, thanks a lot! +1 !!
Title: Re: Last.fm Similar Artists/Tracks
Post by: Alainn on October 05, 2012, 03:11:32 PM
Last.fm has introduced a new API-call a couple of days ago: artist.getInfo - http://www.last.fm/api/show/artist.getInfo

It provides the option to get the auto-corrected version of the artist name (very handy for cleaning up the local library), artist description from preferred language/locale, number of listeners/plays, the user's playcount for this artist and a whole lot more. It would be great to incorporate that.
Title: Re: Last.fm Similar Artists/Tracks
Post by: brianon on December 13, 2012, 03:20:05 PM
Superb plugin. Really love it. I used MediaMonkey for years and only moved to MB this year. Plugins like this make me ever happier I switched.

You return 5 Similar Artists each time right ? Anyway to increase this and/or also return them in sorted order ? Sorted by number of tracks available to you locally from the artist ? That would be great.
Title: Re: Last.fm Similar Artists/Tracks
Post by: jan-seng on January 26, 2013, 11:54:50 PM
I did not visit this forum a lot lately, Musicbee is already working great for me as it is.
So I was happily surprized to find this plug-in today, one from my wish list, fine work again from Stephen.
I had used Thorbjorn's webpage until now, which also worked OK.
I have 2 questions:
- like the previous poster: is it possible to configure the number of similar results?
- not all similar tracks shown are actually in my library. An indicator saying so with the found result would be nice.

Gerard
Title: Re: Last.fm Similar Artists/Tracks
Post by: jamburglar on February 15, 2013, 06:22:59 AM
Love this plugin, Steven.

One minor gripe -- would it be possible to distinguish between Similar Tracks that are actually in your library and those that are not found in your library? Perhaps the tracks that are not found could be grayed out/dimmer in color. I often have no idea which tracks are in my library and which are not so I end up getting the "track not found in your library" error/alert all the time.
Title: Re: Last.fm Similar Artists/Tracks
Post by: Steven on June 21, 2013, 06:27:44 PM
the plugin has been updated so similar tracks that are not in the library are displayed as dimmed
see the first post for the download link and instructions
Title: Re: Last.fm Similar Artists/Tracks
Post by: VX on June 23, 2013, 07:58:28 PM
This plugin seems quite interesting. Thanks for the update.
I have no a Last.FM account though. Is it mandatory to have one for the plugin to be used  ???
Title: Re: Last.fm Similar Artists/Tracks
Post by: jan-seng on June 23, 2013, 09:01:06 PM
Hi Steven,

Superb work as always  :) Thank you!
It works fine in Musicbee 2.0.4663.
A question: on some tracks I get a list of Similar Tracks returned, but on others none. But I do get Similar Artists all the time. Why is that?

Gerard
Title: Re: Last.fm Similar Artists/Tracks
Post by: boroda on June 26, 2013, 07:52:33 AM
Here is plugin's wiki page (http://musicbee.wikia.com/wiki/Last.fm_Plugins). Please update it if plugin is updated.
Title: Re: Last.fm Similar Artists/Tracks
Post by: psychoadept on July 27, 2013, 05:06:26 AM
I just noticed that this plugin will only use the display artist for searching, even if you try to switch it to another one using the Artist menu.
Title: Re: Last.fm Similar Artists/Tracks
Post by: jan-seng on August 14, 2013, 07:05:45 PM
I have this comment:
sometimes an artist is playing a song together with another artist. I have the individual artist(s) in my music library, but it is not found as a similar artist.
Example: 'Marc Glenroy' shows the combo 'Ed Starink Peter Weekers' as a similar artist. I have 'Ed Starink' in my music library, but he is not shown . . .
Title: Re: Last.fm Similar Artists/Tracks
Post by: raffraffraff on August 16, 2013, 02:40:51 PM
This plugin is an excellent idea, so it's really unfortunate that LastFM's recommendations are pants. No music service developer (in the whole universe) appears to understand that a similar track is not necessarily a track from the same genre or band. Or from a band that comes from the same town or genre. Yet that seems to be the only method used by LastFM.

Example: When I play "Tonight Tonight" by Smashing Pumpkins, I might add tracks that are uplifting, melodic, and maybe a little bit dramatic or 'athem' like. I could also throw in a suitable love song. Examples:

1. Bat For Lashes - Daniel
2. Elbow - One Day Like This
3. The Divine Comedy - Tonight We Fly
4. Aha - The Sun Always Shines On TV
5. INXS - Never Tear Us Apart

But instead it recommends:
1. The Smashing Pumpkins - Zero
2. The Smashing Pumpkins - Bullet With Butterfly Wings
3. Weezer - Buddy Holly
4. Beck - Loser
5. Soundgarden - Black Hole Sun
6. Weezer - Say It Ain't So

Now, you could put group 2 onto a playlist, but most of them don't really go with Tonight Tonight.  But the songs in the first group (which uses my own tags + algorithm) would have some hope of fitting together in the same playlist, perhaps with some judicial padding or editing.
Title: Re: Last.fm Similar Artists/Tracks
Post by: jan-seng on August 17, 2013, 03:23:38 PM
Re: raffraffraff

That's the reason I stick to Musicbee 2.0.4663, with MusicIP selected as AutoDJ for continuous playing.
It's not ideal either but works to my satisfaction.
To have a visual link back to my library and discover a new band every now and then, I use the Recommendations plugin.

Gerard
Title: Re: Last.fm Similar Artists/Tracks
Post by: ThY on September 08, 2013, 11:13:21 AM
This plugin is an excellent idea, so it's really unfortunate that LastFM's recommendations are pants. No music service developer (in the whole universe) appears to understand that a similar track is not necessarily a track from the same genre or band. Or from a band that comes from the same town or genre. Yet that seems to be the only method used by LastFM.

Example: When I play "Tonight Tonight" by Smashing Pumpkins, I might add tracks that are uplifting, melodic, and maybe a little bit dramatic or 'athem' like. I could also throw in a suitable love song. Examples:

1. Bat For Lashes - Daniel
2. Elbow - One Day Like This
3. The Divine Comedy - Tonight We Fly
4. Aha - The Sun Always Shines On TV
5. INXS - Never Tear Us Apart

But instead it recommends:
1. The Smashing Pumpkins - Zero
2. The Smashing Pumpkins - Bullet With Butterfly Wings
3. Weezer - Buddy Holly
4. Beck - Loser
5. Soundgarden - Black Hole Sun
6. Weezer - Say It Ain't So

Now, you could put group 2 onto a playlist, but most of them don't really go with Tonight Tonight.  But the songs in the first group (which uses my own tags + algorithm) would have some hope of fitting together in the same playlist, perhaps with some judicial padding or editing.

Hello, i understand what you're saying, i made a post with almost similar subject / request here (http://getmusicbee.com/forum/index.php?topic=7635.0).
My wish was to be able to listen to similar kind of tracks, using the genre tags.
The only thing that would need to be implemented is a function where we could indicate which genre is the "neighbor" of another.
Then enable a new shuffling option, or a new kind of playlist, where the tracks will only be played following a neighbor genre (or the same genre).

For people like me that doesn't tag my genres in a too much "blocky" way, with enough nuances, this system would be a great way to listen smoothly to a lot of songs.
Because you won't pass from an ambient song to an aggressive one.
It would just take some minutes to the user to configure relations between its genres.

What do you think about it ?
Title: Re: Last.fm Similar Artists/Tracks
Post by: raffraffraff on October 06, 2013, 03:32:20 PM
My wish was to be able to listen to similar kind of tracks, using the genre tags. The only thing that would need to be implemented is a function where we could indicate which genre is the "neighbor" of another.

I'd bet that the system you describe already exist, but the problem, as I see it, is that genres themselves are inadequate to describe music. There are some exceptions where a whole genre is pretty homogeneous in its sound and in its themes. To my ears, rap is one example. Its sound is generally beats + samples + rhyming speech. Its themes don't vary much outside violence, misogyny, self-importance or overindulgence. Aside from rap and a few other exceptions, genres pigeon hole bands too much. Most decent artists break free from their ascribed genre, sometimes several times per album. Therefore genres are useless.

LastFM tags for Karma Police as Indie, Rock and Alternative. What does that tell you? Nothing much really. My tags for Karma Police are: Piano, Male Vocals, Melancholy, Downtempo, Beautiful, Dark. However, very few other people tag their music using adjectives, so it's almost impossible for me to use them to discover new music that other people have tagged. I can, however, use them within my own collection to create a playlist that matches the mood I'm in. I'm willing to spend a lot of time tagging tracks - its is essentially a never ending task. But this is the only way I know how to listen to music. I would go as far as saying that if my NAS broke and my backups weren't working, given a choice between recovering my music files without metadata, or the metadata without the music, I'd take the latter. You can always get the audio files again, but years of meticulous tagging can't be replaced.
Title: Re: Last.fm Similar Artists/Tracks
Post by: redwing on October 07, 2013, 08:20:56 AM
My wish was to be able to listen to similar kind of tracks, using the genre tags. The only thing that would need to be implemented is a function where we could indicate which genre is the "neighbor" of another.

I'd bet that the system you describe already exist, but the problem, as I see it, is that genres themselves are inadequate to describe music. There are some exceptions where a whole genre is pretty homogeneous in its sound and in its themes. To my ears, rap is one example. Its sound is generally beats + samples + rhyming speech. Its themes don't vary much outside violence, misogyny, self-importance or overindulgence. Aside from rap and a few other exceptions, genres pigeon hole bands too much. Most decent artists break free from their ascribed genre, sometimes several times per album. Therefore genres are useless.

LastFM tags for Karma Police as Indie, Rock and Alternative. What does that tell you? Nothing much really. My tags for Karma Police are: Piano, Male Vocals, Melancholy, Downtempo, Beautiful, Dark. However, very few other people tag their music using adjectives, so it's almost impossible for me to use them to discover new music that other people have tagged. I can, however, use them within my own collection to create a playlist that matches the mood I'm in. I'm willing to spend a lot of time tagging tracks - its is essentially a never ending task. But this is the only way I know how to listen to music. I would go as far as saying that if my NAS broke and my backups weren't working, given a choice between recovering my music files without metadata, or the metadata without the music, I'd take the latter. You can always get the audio files again, but years of meticulous tagging can't be replaced.

I said the same thing a while ago :)

Sometimes tags are more precious than music files

I spent a good deal of time manually tagging my classical music collection, so I can understand how you feel about that.
Title: Re: Last.fm Similar Artists/Tracks
Post by: ThY on October 10, 2013, 06:57:54 PM
My wish was to be able to listen to similar kind of tracks, using the genre tags. The only thing that would need to be implemented is a function where we could indicate which genre is the "neighbor" of another.

I'd bet that the system you describe already exist, but the problem, as I see it, is that genres themselves are inadequate to describe music. There are some exceptions where a whole genre is pretty homogeneous in its sound and in its themes. To my ears, rap is one example. Its sound is generally beats + samples + rhyming speech. Its themes don't vary much outside violence, misogyny, self-importance or overindulgence. Aside from rap and a few other exceptions, genres pigeon hole bands too much. Most decent artists break free from their ascribed genre, sometimes several times per album. Therefore genres are useless.

LastFM tags for Karma Police as Indie, Rock and Alternative. What does that tell you? Nothing much really. My tags for Karma Police are: Piano, Male Vocals, Melancholy, Downtempo, Beautiful, Dark. However, very few other people tag their music using adjectives, so it's almost impossible for me to use them to discover new music that other people have tagged. I can, however, use them within my own collection to create a playlist that matches the mood I'm in. I'm willing to spend a lot of time tagging tracks - its is essentially a never ending task. But this is the only way I know how to listen to music. I would go as far as saying that if my NAS broke and my backups weren't working, given a choice between recovering my music files without metadata, or the metadata without the music, I'd take the latter. You can always get the audio files again, but years of meticulous tagging can't be replaced.

I said the same thing a while ago :)

Sometimes tags are more precious than music files

I spent a good deal of time manually tagging my classical music collection, so I can understand how you feel about that.

Maybe the system i described already exist in Musicbee, but nobody has been able to tell me where ^^
Other than that, i understand your explanation about the genre tags, i also tag mine, track by track and not by album or by artists.
But the fact is that having too many tags or too much complex tags come to not serve you as good as you think it will.
I mean it happened to be my case.
Over tagging my tracks one by one was fastidious and time-eating, when it finally appeared that, at a certain level, the things that differentiate a genre from an other were simply the group or the artist themselves ^^
Title: Re: Last.fm Similar Artists/Tracks
Post by: bhupatib on April 02, 2014, 11:17:05 AM
"You can click on an artist or a track, with the default or override action set from the right click context menu."

I don't any such options on right click.

(http://s12.postimg.org/yupuf8p4t/mb2.png) (http://postimage.org/)

The usual 'search>find similar' only shows me option from my library but not from Last.FM
I have properly installed the plugin and it shows up in the plugin screen.

UPDATE:
Found it! Sorry for the false alarm :)

(http://s7.postimg.org/sgticr92j/mb3.png) (http://postimage.org/)
Title: Re: Last.fm Similar Artists/Tracks
Post by: Moshi_ on April 02, 2014, 10:13:10 PM
Hey Steven!

Is this a bug?

I hardly get similar tracks listed and instead an artist picture from the last recommended artist is moved below the first recommended artist and no similar tracks.

(http://i.imgur.com/SzvIBOl.png)
Title: Re: Last.fm Similar Artists/Tracks
Post by: Space Octopus on August 23, 2014, 05:02:36 AM
 ;D I hope this works for me! If it does, it will be the greatest thing since sliced bread, seriously. It's something I really wanted & desperately miss about last.fm after they decided to be idiots & remove their main function (radio) and since I have SO much music, I suspect it would be great for me. <3
Title: Re: Last.fm Similar Artists/Tracks
Post by: Steven on January 03, 2016, 05:13:54 PM
for musicbee 3 only:
http://www.mediafire.com/download/dg2o1e9wnoky6ad/mb_LastFmRecommendationsPlugin_%28for_MB_V3%29.zip
Title: Re: Last.fm Similar Artists/Tracks
Post by: EffenBlue on January 09, 2016, 04:45:33 PM
OK what am I doing wrong?
I downloaded the v3 plugin and when I try to enable it an error pops up: 
Could not load file or assembly file:///C:\Program Files (x86)\MusicBee\Plugins\mb_LastFMRecommendationsPlugin.dll or one of its dependencies. Operation is not supported. (Execption from (it cuts off here)

Same thing happens for Addtional Tagging Tools  (Exception from HRESULT: 0x80131515)
and the v3 last.fm stats & web browser plugins as well      (Exception from HRESULT: (cuts off here)
Title: Re: Last.fm Similar Artists/Tracks
Post by: Stockinger on January 11, 2016, 03:59:24 PM
OK what am I doing wrong?
I downloaded the v3 plugin and when I try to enable it an error pops up: 
Could not load file or assembly file:///C:\Program Files (x86)\MusicBee\Plugins\mb_LastFMRecommendationsPlugin.dll or one of its dependencies. Operation is not supported. (Execption from (it cuts off here)

Same thing happens for Addtional Tagging Tools  (Exception from HRESULT: 0x80131515)
and the v3 last.fm stats & web browser plugins as well      (Exception from HRESULT: (cuts off here)

same here
Title: Re: Last.fm Similar Artists/Tracks
Post by: psychoadept on January 11, 2016, 04:41:54 PM
Maybe a silly question, but are you running MusicBee 3.0?
Title: Re: Last.fm Similar Artists/Tracks
Post by: Steven on January 11, 2016, 06:23:38 PM
assuming you guys are using the MBv3 version of this plugin
http://www.mediafire.com/download/dg2o1e9wnoky6ad/mb_LastFmRecommendationsPlugin_%28for_MB_V3%29.zip

then the next most likely thing is the plugin is probably blocked. In windows explorer, right click on the file/ Unblock
Title: Re: Last.fm Similar Artists/Tracks
Post by: EffenBlue on January 11, 2016, 10:26:32 PM
Maybe a silly question, but are you running MusicBee 3.0?
Yep, latest version.
assuming you guys are using the MBv3 version of this plugin
http://www.mediafire.com/download/dg2o1e9wnoky6ad/mb_LastFmRecommendationsPlugin_%28for_MB_V3%29.zip

then the next most likely thing is the plugin is probably blocked. In windows explorer, right click on the file/ Unblock

Yeah, those plugins were blocked. Thanks.
Title: Re: Last.fm Similar Artists/Tracks
Post by: Steven on January 16, 2016, 04:06:43 PM
for musicbee 3 only
i have made a change so the Last.fm recommendations panel is now accessed from the Services node in the lest navigator and shows in the entire main panel
http://www.mediafire.com/download/dg2o1e9wnoky6ad/mb_LastFmRecommendationsPlugin_%28for_MB_V3%29.zip

you will need the very latest MB3 version:
http://musicbee.niblseed.com/V3_0/MusicBee3_Patched.zip
Title: Re: Last.fm Similar Artists/Tracks
Post by: Beaker on May 14, 2016, 05:22:27 PM
Love this.. Great job..
Any chance you can increase the number of similar artists & similar tracks.

Thanks
 
Title: Re: Last.fm Similar Artists/Tracks
Post by: Beaker on June 05, 2016, 02:04:43 PM
I take the no reply as a not going to happen..
Title: Re: Last.fm Similar Artists/Tracks
Post by: holuschi on August 12, 2016, 03:45:25 PM
Thank you for the nice plugin. I often use it and found out, that it cannot find artist names with "&" e.g. Belle & Sebastian.
Title: Re: Last.fm Similar Artists/Tracks
Post by: berkua on October 27, 2016, 08:45:38 PM
I am using Musicbee 3, and I can't find how to implement the bottom panel like I used to have. I am attaching a photo.

Please let me know how I can get this back, because this panel is where the last.fm recommendations were, and other tabs that I liked to use.

Thanks!

(http://getmusicbee.com/images/forum/RecommendedArtistsAndTracks.jpg)
Title: Re: Last.fm Similar Artists/Tracks
Post by: redwing on October 27, 2016, 10:34:46 PM
I am using Musicbee 3, and I can't find how to implement the bottom panel like I used to have.

That used to be supported until v2.5 but no longer supported from v3 on as MB's web browser feature is now separated to a plugin. Instead you get web links from context menu in now playing tab that opens up the link in web browser tab (if you have installed the web browser plugin) or in your default web browser (without the plugin).
Title: Re: Last.fm Similar Artists/Tracks
Post by: barlet on September 08, 2017, 11:48:37 AM
Somehow this plugin stopped working today. Anyone has similar experience? Plugin got corrupted somehow and downloading again solved the problem
Title: Re: Last.fm Similar Artists/Tracks
Post by: vorward on March 30, 2018, 04:49:24 PM
Will this funtion ever come back to MusicBee?


I would love to see the Recommendations all the time in a PANEL and not only in a special TAB.
Title: Re: Last.fm Similar Artists/Tracks
Post by: Marco Cevoli on April 23, 2019, 03:49:26 PM
I'm resurrecting this old topic, because I'd like to know if you can indeed have the Last.fm related artist information on the Now Playing page/tab. This way we would have a view very similar to https://roonlabs.com/
Title: Re: Last.fm Similar Artists/Tracks
Post by: Jhag on October 18, 2019, 07:22:29 PM
Where can i find the Tracks and Artist Panel in Musicbee? Or can it be shown in another way? Tried the Panel settings, right click: nothing. Maybe i am to blind to see. I really like to use this incredible feature. The plugin is installedand activated, Musicbee Version 3.3.7165 P.

Could someone help, please? Thanks in advance!

Title: Re: Last.fm Similar Artists/Tracks
Post by: Ralf on November 21, 2019, 09:57:37 AM
Where can i find the Tracks and Artist Panel in Musicbee? Or can it be shown in another way? Tried the Panel settings, right click: nothing. Maybe i am to blind to see. I really like to use this incredible feature. The plugin is installedand activated, Musicbee Version 3.3.7165 P.

Could someone help, please? Thanks in advance!

Have your read #39? :-)