getmusicbee.com

MusicBee & Add-Ons => Plugins => Topic started by: Steven on September 06, 2012, 10:25:10 PM

Title: Last.fm Stats
Post by: Steven on September 06, 2012, 10:25:10 PM
I have created a plugin that displays playcount statistics from last.fm (similar to the foo_silk plugin). When installed the plugin creates a new tab in the "Playing Track" panel (viewable via the Now Playing node or as a separate tab configured via the Panel Layout button by the search box). It works with MusicBee 2 or above

(http://getmusicbee.com/images/forum/LastFmStats.png)

it can show the top 20/50/100 playcounts over 12 Months; 6 Months; 3 Months; 1 Month; 1 Week for your:
- albums
- artists
- tracks
right click on the panel to change the settings

Installation
for MusicBee version 3.0+:
unzip the plugin: http://www.mediafire.com/file/3td2dmt2hd6vdk1/mb_LastFmStatsPlugin.zip/file (http://www.mediafire.com/file/3td2dmt2hd6vdk1/mb_LastFmStatsPlugin.zip/file)
- copy the files to the Plugins sub-folder of MusicBee
Title: Re: Last.fm Stats
Post by: beeing good on September 06, 2012, 10:52:53 PM
Excellent, thanks so much Steven, looks really good.
Title: Re: Last.fm Stats
Post by: SimonBRT on September 07, 2012, 02:13:29 AM
very nice, thanks very much as always steven.  works perfectly.
Title: Re: Last.fm Stats
Post by: Iasc on September 07, 2012, 11:01:58 AM
nice one
Title: Re: Last.fm Stats
Post by: dgbx on September 07, 2012, 07:10:32 PM
Very cool plugin.  Thanks Steven.

One thing I've noticed.  I usually have 5 tabs open; Music, Playing Track, Visualizer, Now Playing, and Inbox.  If I click on the new tab "Last.fm Stats" in Now Playing, works great.  When I switch to the Playing Track tab, where the new "Last.fm Stats" tab is also visible, when I click on the "Last.fm Stats" tab, the panel remains blank.

Is this something in my setup?

Anyway, small thing as this new plugin rocks!
Title: Re: Last.fm Stats
Post by: Steven on September 08, 2012, 07:15:48 AM
Is this something in my setup?
if i understand the issue correctly this should fix it:
http://musicbee.niblseed.com/V2/MusicBee_Exe_Patched.zip

the plugin link in the first post is updated.
You can now configure the period in each columns as:
Overall; 12 Months; 6 Months; 3 Months; 1 Month; 1 Week

Also it appears last.fm has changed the api slightly for personal image sizes, so the plugin has been changed to accomodate that
Title: Re: Last.fm Stats
Post by: ma_t14 on September 08, 2012, 10:50:48 AM
I found a bug.

If you set it to show 50 or 100 items a number of items in the end is not shown and you cant scroll down to see them
Title: Re: Last.fm Stats
Post by: Steven on September 08, 2012, 11:10:06 AM
If you set it to show 50 or 100 items a number of items in the end is not shown and you cant scroll down to see them
the link in the first post has been updated to fix that
Title: Re: Last.fm Stats
Post by: dgbx on September 08, 2012, 05:05:08 PM
Thanks Steven.  The plugin now works perfectly with both the Playing Track tab and the Now Playing tab.  Plus the adjustable time periods for the three columns is a nice addition.
Title: Re: Last.fm Stats
Post by: birdman541 on September 10, 2012, 03:58:32 AM
Very  Nice thanx :D
Title: Re: Last.fm Stats
Post by: Steven on September 15, 2012, 07:14:40 PM
The plugin has been updated so you can now configure it to show 2-4 columns, and each column can now be set to show a specific data type
eg. column 1 shows Overall Artist; column 2 shows Overall Album; columns 3&4 hidden

see the first post for the updated plugin link
Title: Re: Last.fm Stats
Post by: Maleko12 on September 15, 2012, 08:11:07 PM
Hello, a minor bug.

When you first un-hide the 4th column, the 4th column appears with no information. However, when you change the duration (Overall, 12 Months, etc.), it shows everything as expected.

EDIT: Actually, it only happens when the 4th column has "1 Month Top Tracks" enabled. Nothing shows.
Title: Re: Last.fm Stats
Post by: Steven on September 15, 2012, 08:30:04 PM
strange - its only top tracks over 1month that has the problem as far as i can see, and its last.fm itself which is returning no data so nothing i can do about it
Title: Re: Last.fm Stats
Post by: Maleko12 on September 15, 2012, 11:10:37 PM
Ah OK. Just wanted to make sure it could be reproduced.
Title: Re: Last.fm Stats
Post by: Lightblur on September 16, 2012, 04:49:09 PM
Sorry guys but my Musicbee crashes when I start it if I put those two files in my plugin folder.. =( if I remove them then it works again..what can I do? I have windows 7 x64.. my Musicbee version is 2.0.4497
Title: Re: Last.fm Stats
Post by: Steven on September 16, 2012, 05:53:58 PM
Sorry guys but my Musicbee crashes when I start it if I put those two files in my plugin folder.. =( if I remove them then it works again..what can I do? I have windows 7 x64.. my Musicbee version is 2.0.4497
get the latest MusicBee version from the weekly updates topic
Title: Re: Last.fm Stats
Post by: Lightblur on September 16, 2012, 07:47:42 PM
The last one is 2.0 RC1 or MusicBee 2.0.4628? thank you for the reply!!!! =)
Title: Re: Last.fm Stats
Post by: Lightblur on September 16, 2012, 07:57:50 PM
The last one is 2.0 RC1 or MusicBee 2.0.4628? thank you for the reply!!!! =)

Ok sorry.. I'm stupid.. sorry ^^ it's 2.0RC1 (MusicBee 2.0.4636) thank you :D
Title: Re: Last.fm Stats
Post by: Steven on September 16, 2012, 08:42:00 PM
the artist/album/track text can now be clicked (left or right click) and can perform any of the following actions:
- open artist page on last.fm (valid only for artist links)
- find matching tracks (matches are opened in the library tab or a new tab if no library tab is open)
- find similar artists (valid only for artist links)

updated plugin:
http://www.mediafire.com/?566sk837vr524rw
updated musicbee.exe:
http://musicbee.niblseed.com/V2/MusicBee_Exe_Patched.zip
Title: Re: Last.fm Stats
Post by: beeing good on September 17, 2012, 02:54:03 AM
This is excellent Steven, an extremely handy tool.
Title: Re: Last.fm Stats
Post by: Spiron on September 23, 2012, 02:54:05 AM
Just tried to download this handy looking lugin and it's returning a file not found on mediafire.  A reupload is needed
Title: Re: Last.fm Stats
Post by: Steven on September 23, 2012, 07:21:21 AM
the first post is updated with the correct link now
Title: Re: Last.fm Stats
Post by: antiPOP on September 29, 2012, 09:09:24 PM
Finally you made it! Thanks a lot Steven, great job!
Title: Re: Last.fm Stats
Post by: brianon on December 13, 2012, 12:22:11 PM
Hi. I've copied the dll from the download (just one file in the download right ?) and placed it in the Plugins sub-folder.

I've restarted MusicBee bu am not seeing the Last.fm Stats tab on the bottom track & artist info panel. Other plugins I just installed are working ok such as Recommendations. Am I doing something incorrectly ?

Brian.


**I've the latest 2.0 MB beta installed.
Title: Re: Last.fm Stats
Post by: Iasc on December 13, 2012, 12:26:34 PM
Hi. I've copied the dll from the download (just one file in the download right ?) and placed it in the Plugins sub-folder.

I've restarted MusicBee bu am not seeing the Last.fm Stats tab on the bottom track & artist info panel. Other plugins I just installed are working ok such as Recommendations. Am I doing something incorrectly ?

Brian.


**I've the latest 2.0 MB beta installed.

welcome to the forum Brian.

have you enabled the plugin in preferences/plugins?
Title: Re: Last.fm Stats
Post by: brianon on December 13, 2012, 12:43:13 PM
Brilliant. Thanks for the reply. Working now.

I tried to enable it and it said it was blocked. I right clicked the dll properties->unblock (had to unblock as it said it came from another computer) and restarted musicbee and working great now. Thanks :)
Title: Re: Last.fm Stats
Post by: Iasc on December 13, 2012, 12:44:13 PM
no problem, happy to help.
Title: Re: Last.fm Stats
Post by: superstar19 on March 27, 2013, 01:16:02 AM
Just discovered this neat plug-in.  Thanks!
Title: Re: Last.fm Stats
Post by: boroda on June 26, 2013, 07:53:59 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 Stats
Post by: superstar19 on December 31, 2014, 05:15:37 PM
I've been using this plugin for over a year now, but I just noticed that it doesn't seem to update the artist info when a track by a different artist begins playing.  It continues to display the artist information for whatever artist was in the Now Playing list when Musicbee was launched.  If I close, and then re-launch, the artist info updates, but then doesn't continue to update during that session until I close/re-open.   I'm running MB 2.5.5447 and I believe the latest version of this plug-in which hasn't had a recent update according to this thread.  Any thoughts?
Title: Re: Last.fm Stats
Post by: mozartjune on January 05, 2015, 09:32:49 PM
Just out of curiosity, is there any way to refresh the stats without restarting MusicBee?
Title: Re: Last.fm Stats
Post by: superstar19 on January 06, 2015, 02:24:00 AM
Just out of curiosity, is there any way to refresh the stats without restarting MusicBee?
Not that I know of, but my issue is with the "Last.fm" tab of this window.  On my Muscibee set up, when I go to the "Playing Track" tab, there are 5 sub-tabs created by this plugin (Details, Last.fm, Wikipedia, youtube, Last.fm Stats).   The Last.fm tab features information on the artist currently playing as well as a photo show of band pictures and then Recent and Upcoming Releases.   But now that I'm going through this, I'm noticing that none of these other tabs (Details, Wiki,) are updating to the artist that is currently playing.
Title: Re: Last.fm Stats
Post by: superstar19 on January 08, 2015, 03:09:35 AM
I probably didn't put this in the proper thread.   My issue really isn't with the stats.  It's with the "Playing Track" tab which "Last.fm Stats" is one of the choices ,but the specific problem is that the "Details", "Last.fm", "Wikipedia", and "YouTube" functions don't update with the current playing artist like they used to do.
Title: Re: Last.fm Stats
Post by: Steven on January 08, 2015, 11:10:32 AM
that has nothing what to do with this plugin. I would say you have opened the panel for a specific artist by clicking on the artist in the Now Playing panel. Close the tab and open the "Playing Track" panel via the panel layout button
Title: Re: Last.fm Stats
Post by: superstar19 on January 09, 2015, 12:21:09 AM
Thanks.  That did the trick.  Apologize for putting this here.  For some reason I was thinking this plugin is what generated those features in the Playing Track tab.
Title: Re: Last.fm Stats
Post by: so_la_la on January 19, 2015, 09:13:18 PM
I still don't get where this plug-in is supposed to show up. All I get is this dialogue:
(http://i.imgur.com/rQEJBnk.png)
Title: Re: Last.fm Stats
Post by: Steven on January 19, 2015, 09:31:01 PM
see the instructions on the first post. The "Track and Artist" panel has since been renamed to "Playing Track" panel which is available in the "Now Playing" node or as a separate panel configured via the Panel Layout button by the search box
Title: Re: Last.fm Stats
Post by: so_la_la on January 19, 2015, 10:07:59 PM
I just dont find it. I don't have any option either in the "Playing Track" panel nor in the "Now Playing" node.
Title: Re: Last.fm Stats
Post by: Bee-liever on January 19, 2015, 11:36:30 PM
@ so_la_la
it should show up here
(http://i.cubeupload.com/HeJKsw.jpg)

you may need to restart your system.  If I remember correctly, I had too for it to show up when first installing the plugin
Title: Re: Last.fm Stats
Post by: so_la_la on January 20, 2015, 10:35:22 PM
SOLVED.
Thanks everyone for putting up with me!
Title: Re: Last.fm Stats
Post by: ChristopherE on January 25, 2015, 11:24:00 AM
The plugin has installed and is enabled but all I get is "unable to load from last.fm at this point in time". The internet is fine and I am logged in to the musicbee last.fm scrobbler. I am using 2.5 latest beta.
Title: Re: Last.fm Stats
Post by: Steven on January 29, 2015, 06:05:34 PM
just tried now and all working fine. Nothing has been changed on the MusicBee side and the last.fm api hasnt been changed.
If you still have problems, check you security software is not blocking musicbee. And you might try using the fiddler call to see what messages are being passed to/ from last.fm
Title: Re: Last.fm Stats
Post by: ChristopherE on January 29, 2015, 08:58:41 PM
Thanks for the reply. Disabled the Norton firewall and antivirus and still no show. What is the fiddler call?
Title: Re: Last.fm Stats
Post by: ChristopherE on January 29, 2015, 09:09:27 PM
Ok downloaded fiddler. Nice app!! Looks like no calls are being made to lastFm from using the tab at all. Not sure why as Norton is not stopping it.
Title: Re: Last.fm Stats
Post by: ChristopherE on January 29, 2015, 10:58:39 PM
One of the posts talks about two files. All I get when I download is a .dll. Looking at all the other plugins there is normally an xml file or other config files as well. Am I missing a files?
Title: Re: Last.fm Stats
Post by: ChristopherE on February 04, 2015, 09:40:26 AM
I fixed the issue with a clean install of Windows 8.1 and Musicbee.
Title: Re: Last.fm Stats
Post by: Bigmelwalter on April 05, 2015, 02:49:22 PM
Love this, It should be on the next update. +1 ::)
Title: Re: Last.fm Stats
Post by: vityatsoi on August 16, 2015, 12:22:54 PM
using rc3, windows 10. there's a problem - native musicbee lastfm plugin says my login/password are icorrect(((((
Title: Re: Last.fm Stats
Post by: psychoadept on August 16, 2015, 04:41:00 PM
last.fm is having issues right now.  search the forum and you will find other threads about it.
Title: Re: Last.fm Stats
Post by: holuschi on August 17, 2015, 08:46:32 AM
The same problem with me. Yes in the Last.fm forum other people have the problem: http://www.lastfm.de/group/Last.fm+Web+Services/forum/21604/_/2277482
Title: Re: Last.fm Stats
Post by: superstar19 on September 14, 2015, 08:45:14 PM
Not sure if this is an issue with the stats plugin or related to the last.fm issues mentioned above, but the column for "3 Months" is displaying my Overall stats.  This seems to be the only time period with an issue (Overall, 12, 6, 1 month all seem to be displaying correctly).   I first noticed this about 2 months ago, but didn't post anything about it due to the other issues.  Now I'm not so sure if this is related.  I'm using the latest 2.5 release.  Anybody else having same issue and is it with the plugin or caused by last.fm?
Title: Re: Last.fm Stats
Post by: dgbx on September 14, 2015, 11:14:53 PM
My stats are showing this also where 3 month is the same as overall.
Title: Re: Last.fm Stats
Post by: Faerch on December 12, 2015, 10:25:46 PM
Hi, great plugin, but i have an issue.

I run 3 columns one with overall top artist, one with overall top track and one with top track for the last month.

The two first works as they should, but the third one puts them in the correct order but puts in the overall values.

Is there a known fix for that?

http://imgur.com/MTLANJc
Title: Re: Last.fm Stats
Post by: eugenesv on January 03, 2016, 04:58:34 PM
Great plugin indeed!
Unfortunately, it doesn't seem to work in MusicBee3 (woks fine in MB2, system is Win10 x64).
Would you kindly update it to be MB3 compatible as well?
Thank you!
Title: Re: Last.fm Stats
Post by: Steven on January 03, 2016, 05:14:15 PM
for musicbee 3 only:
http://www.mediafire.com/download/mvb48tr92ed1vc6/mb_LastFmStatsPlugin%28for_MB_V3%29.zip
Title: Re: Last.fm Stats
Post by: eugenesv on January 03, 2016, 06:37:03 PM
for musicbee 3 only:
http://www.mediafire.com/download/mvb48tr92ed1vc6/mb_LastFmStatsPlugin%28for_MB_V3%29.zip

Thanks a lot for such a prompt response! It works nicely now!
Title: Re: Last.fm Stats
Post by: Luri on January 14, 2016, 03:00:45 AM
Hi, is it possible to make a version of this that displays stats from music listened to in the Musicbee library? This plugin is exactly what I wanted as I love this kind of stats and was hoping I could find something for that, but I don't use Last.fm, I just listen to the files in my library.
Title: Re: Last.fm Stats
Post by: Mephisto on January 14, 2016, 12:37:37 PM
Hi, any chance to see this addon added as a node in "services" category rather than a tab in the now playing bar? it would be probably more easy to use, especially with 50 or 100 elements displayed.
Title: Re: Last.fm Stats
Post by: psychoadept on January 14, 2016, 03:15:12 PM
Hi, is it possible to make a version of this that displays stats from music listened to in the Musicbee library? This plugin is exactly what I wanted as I love this kind of stats and was hoping I could find something for that, but I don't use Last.fm, I just listen to the files in my library.

There's a library report function that does that already.  If it's not detailed enough, try the Additional Tagging & Reporting Tools plugin.
Title: Re: Last.fm Stats
Post by: Luri on January 15, 2016, 01:54:18 AM
Hi, is it possible to make a version of this that displays stats from music listened to in the Musicbee library? This plugin is exactly what I wanted as I love this kind of stats and was hoping I could find something for that, but I don't use Last.fm, I just listen to the files in my library.

There's a library report function that does that already.  If it's not detailed enough, try the Additional Tagging & Reporting Tools plugin.

Ah, I see. Seems to only do all-time stats and not past month/year/etc but I guess I can live without that. Thanks!
Title: Re: Last.fm Stats
Post by: tomiork on January 15, 2016, 12:41:09 PM
Okay there's something I don't get...I just installed this plugin for Musicbee 3.0 but where can I found it? I don't have any new tab...

https://i.gyazo.com/dbb8075f5b4ce755ec66a9241c38a883.png
Title: Re: Last.fm Stats
Post by: Steven on January 15, 2016, 06:10:46 PM
Okay there's something I don't get...I just installed this plugin for Musicbee 3.0 but where can I found it? I don't have any new tab...
its only available in the Now Playing Bar which is an element that needs to be included in the Panel Layout.
at some point i will make it available as a node in Services
Title: Re: Last.fm Stats
Post by: rimfir on January 15, 2016, 08:28:14 PM
I don't use LastFM either but I would like to see something like this for the Music Library as well. Any chance that will happen?
Title: Re: Last.fm Stats
Post by: Steven on January 16, 2016, 04:05:30 PM
for musicbee 3 only
i have made a change so the Last.fm stats is now accessed from the Services node in the lest navigator and shows in the entire main panel
http://www.mediafire.com/download/mvb48tr92ed1vc6/mb_LastFmStatsPlugin%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 Stats
Post by: Mephisto on January 17, 2016, 03:37:41 PM
for musicbee 3 only
i have made a change so the Last.fm stats is now accessed from the Services node in the lest navigator and shows in the entire main panel
http://www.mediafire.com/download/mvb48tr92ed1vc6/mb_LastFmStatsPlugin%28for_MB_V3%29.zip

you will need the very latest MB3 version:
http://musicbee.niblseed.com/V3_0/MusicBee3_Patched.zip

Thanks a lot for doing that with the two Last.fm plugins.
Title: Re: Last.fm Stats
Post by: superstar19 on January 30, 2016, 06:26:58 AM
for musicbee 3 only
i have made a change so the Last.fm stats is now accessed from the Services node in the lest navigator and shows in the entire main panel
http://www.mediafire.com/download/mvb48tr92ed1vc6/mb_LastFmStatsPlugin%28for_MB_V3%29.zip

you will need the very latest MB3 version:
http://musicbee.niblseed.com/V3_0/MusicBee3_Patched.zip

Not sure what I'm doing wrong, but I've copied and installed the files in both zip files above, and I'm still not finding the stats in the Navigator.  Can anyone post an image of how this is supposed to look in MB3?
<EDIT> NEVERMIND!  I didn't have services turned on.  Everything's all set. Looks and runs great.
Title: Re: Last.fm Stats
Post by: Bee-liever on January 30, 2016, 06:31:37 AM
@ superstar19
You did put the extracted mb_LastFmStatsPlugin.dll in the Plugins sub-folder?

Just saw your edit - glad you got it working :)
Title: Re: Last.fm Stats
Post by: murve33 on February 23, 2016, 05:26:41 AM
Not sure if this is an issue with the stats plugin or related to the last.fm issues mentioned above, but the column for "3 Months" is displaying my Overall stats.  This seems to be the only time period with an issue (Overall, 12, 6, 1 month all seem to be displaying correctly).   I first noticed this about 2 months ago, but didn't post anything about it due to the other issues.  Now I'm not so sure if this is related.  I'm using the latest 2.5 release.  Anybody else having same issue and is it with the plugin or caused by last.fm?
I have this problem as well. It wasn't a big deal to me when last.fm was using their old site, but now that they updated I never go to last.fm and just use the MusicBee Last.fm stats plugin.
I'm running 2.5.5447 and just reinstalled the plugin. The problem still persists.
Title: Re: Last.fm Stats
Post by: Humphrzy on April 23, 2020, 12:47:23 PM
I have created a plugin that displays playcount statistics from last.fm (similar to the foo_silk plugin). When installed the plugin creates a new tab in the "Playing Track" panel (viewable via the Now Playing node or as a separate tab configured via the Panel Layout button by the search box). It works with MusicBee 2 or above

(http://getmusicbee.com/images/forum/LastFmStats.png)

it can show the top 20/50/100 playcounts over 12 Months; 6 Months; 3 Months; 1 Month; 1 Week for your:
- albums
- artists
- tracks
right click on the panel to change the settings

Installation
for MusicBee version 3.0+:
unzip the plugin: http://www.mediafire.com/file/3td2dmt2hd6vdk1/mb_LastFmStatsPlugin.zip/file (http://www.mediafire.com/file/3td2dmt2hd6vdk1/mb_LastFmStatsPlugin.zip/file)
- copy the files to the Plugins sub-folder of MusicBee


Thank you, Steven. The plug works smooth as butter on 2020 April. on Bee vers. 3.3.7367  (by the way could we rename MB version to reflect year and month) it is waaaaaaay more convening.

(https://i.imgur.com/yZIlwC9.png)