Author Topic: [PLUGIN] History/Stats  (Read 6987 times)

laite

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Gmusicbrowser-plugins by laite
[PLUGIN] History/Stats
« on: May 02, 2012, 11:42:03 »
WARNING: This plugin does NOT work with current gmusicbrowser release (v1.1.9)! If you wish to use this, you must get latest development version from GIT or wait until next release of gmusicbrowser.

Okay, now that's out of the way I'd like to introduce a new plugin! Basically it shows playhistory and some neat statistics about your library. Plugin relies heavily on new 'playhistory'-field (introduced in development version of gmb), so you must merge existing playcounts to new field if you wish to have statistics from the past, or start 'from the scratch' should you wish so. There is a 'merge fields' - button in the preferences for converting old playcounts to playhistory.

There is no README yet, but I think options should be pretty self-explanatory. Ask me here or in IRC if something's not clear or not working like supposed to.

And as always, this is an initial version, tested only by me, so look out for bugs etc.

Pictures!

Playhistory is shown for tracks and albums


You can have your very own TOP40-list in overview  8)


Statistics can be shown either in 'natural'...



...or 'last.fm' - style




Download from github: https://github.com/laite/gmusicbrowser-plugins/tree/master/historystats
or from direct link: https://raw.github.com/laite/gmusicbrowser-plugins/master/historystats/historystats.pm
Save *.png from 'icons'-folder to your ~/.config/gmusicbrowser/pix to use icons in overview-site.

-
Thanks,
laite
« Last Edit: May 03, 2012, 10:12:04 by laite »

mgrubert

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Re: [PLUGIN] History/Stats
« Reply #1 on: May 02, 2012, 13:02:28 »
Very nice.
Does it work with 1.1.9-1 ?

laite

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Gmusicbrowser-plugins by laite
Re: [PLUGIN] History/Stats
« Reply #2 on: May 02, 2012, 16:05:50 »
Very nice.
Does it work with 1.1.9-1 ?

I'm not sure what that is but my initial guess would be 'no'. You can check it yourself by opening file /usr/share/gmusicbrowser/gmusicbrowser_songs.pm in text editor and searching for 'playhistory'. If you find that, the plugin propably works.

If you're using ochosi's Ubuntu PPA-repository, he has promised to include history/stats - plugin automatically at some point, when possible.

zeltak

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: [PLUGIN] History/Stats
« Reply #3 on: May 02, 2012, 17:38:52 »
Hya

looks cool, love to see new plugins

How does one use it (on a non ubuntu system -arch), do i stick the pm file under ~/.config/gmusicbrowser/plugins? i tried tha tbut didnt work..any ideas?

best

Z

laite

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Gmusicbrowser-plugins by laite
Re: [PLUGIN] History/Stats
« Reply #4 on: May 02, 2012, 18:36:30 »
How does one use it (on a non ubuntu system -arch), do i stick the pm file under ~/.config/gmusicbrowser/plugins? i tried tha tbut didnt work..any ideas?

Yes, that should work IF you're using latest DEVELOPMENT version. I had a quick look but all the versions in AUR (even gmusicbrowser-git etc.) seemed to be too old to work.

If you're certain you have newest version, and history/stats still doesn't appear in preferences -> plugins, you could start gmusicbrowser from terminal emulator and see if there's some error messages.

zeltak

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: [PLUGIN] History/Stats
« Reply #5 on: May 03, 2012, 01:53:20 »
hi

sorry, just noticed the file was corrupt, it works now and its damm awesome!! thx alot for this really neat plugin

best

z
« Last Edit: May 03, 2012, 02:07:06 by zeltak »

lovecraft

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: [PLUGIN] History/Stats
« Reply #6 on: May 03, 2012, 17:28:26 »
Great plugin laite
Only a litlle problem with Statistics tab

« Last Edit: May 03, 2012, 17:32:53 by lovecraft »

laite

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Gmusicbrowser-plugins by laite
Re: [PLUGIN] History/Stats
« Reply #7 on: May 03, 2012, 17:35:03 »
Only a litlle problem with Statistics tab

Whoa, that's ... strange  ???

It seems that for some reason my "" (dummy text in title) gets info from translation header... I changed it to 'item', could you please try download plugin again from github and test if it works. Link: https://raw.github.com/laite/gmusicbrowser-plugins/master/historystats/historystats.pm

lovecraft

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: [PLUGIN] History/Stats
« Reply #8 on: May 03, 2012, 17:42:35 »
Perfect now  8)


mgrubert

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Re: [PLUGIN] History/Stats
« Reply #9 on: May 04, 2012, 02:17:18 »
No playhistory in 1.1.9-1.
Snif