PlayHistory & StatsYou find download link and installation instructions at the bottom of this post.
This script creates a “Play History & Stat” node which reveals how you have played your collection in MM..
It’s like Last-FM but more advanced and stored locally.

In the “Per Week (Chart)” node. You will find all your played songs divided per week sorted descending on playcount and last played. The numbers in parenthesis are total played songs that week. Clicking on a week node will of course fill the main window with the played tracks that week:

The “Per Month (Chart)” works exactly as the week node but is per month instead:

In the “Top 100’s” node you’ll find top 100’s played Songs, Artists and Albums:

But there are more. In the Statistic node you can browse your played songs in many advanced ways. 8)
Check out what music you have played in the Spring or on Thursdays or in the mornings, either by all times, last week, last month, per a specific year, etc. You even have a Party Music node which gives you songs played on Friday & Saturday evenings. :D
The "Per XXX" & "Party music" nodes are configurable and can be renamed to your liking in the settings.

The script is more fun the longer you have had MediaMonkey since then you actually have data to fill the nodes with. But as times goes, more nodes will automatically be created.
There are more info in the script header. Pls read it.

This is my first script.
Comments, suggestions and bug reports are welcome!

Ver 3.8 (2008-02-1) [MM3 only]
- Added possibility to change "Top 100's node" to any number directly in the node
- Fixed various small bugs (and a rather big one)

Ver 3.7 (2008-02-1) [MM3 only]
- Added possibility to apply any configured filter to the script
- Fixed script didn't use local time when building nodes
- Changed the "Top 100's" node so it's based on total playcount instead of the PlayHistory table only
- Reworked the Option Sheet
- Numerous small fixes

Ver 3.6.1 (2008-01-24) [MM3 only]
- Fixed other "Persons" than Artist was considered in all Artist-Nodes

Installation Instructions: - New Install or upgrade:Avoid "Product installation error"
- Vista/Win 7 Users:
- - To be able to install scripts you must Run MM as administrator.
- - It means that you must right click the MM icon and "Run as administrator" even if you are logged in as an administrator.
- All Users:
- - Check in your task manager that you only have one instance of MediaMonkey.exe running.
1. Download the .mmip file and double click it.
2. Restart MediaMonkey if needed
3. Now you will see a new node at the end within each collection: "PlayHistory & Stats". Expand it have fun.
4. First use of either Chart-Node takes 1-2 minutes due to creation/update of a Week-table.
5. Also go to Tools->Options->Library->PlayHistory & Stats and alter the settings to your liking.

Last edited by Bex on Sat Feb 07, 2009 9:54 am, edited 65 times in total.

Thanks guys!
@DiddeLeeDoo
I'm exicted too. But I still have alot to learn...

@paulmt
Glad you liked it!

@rovingcowboy
You dont need to export to playlists since you can play it from the node.
Unless you want to sort the songs in correct order but the calculated playcount is not possible to export.
Yes, you have all your weekly/montly chart hitlist in this script and they never go away. Unless you clear your library or delete some played songs.

Try it out and please also leave some comments.
If anyone have a request, let me know and we'll see if I can implement it!

To other scripters:
I developed a new technique to add tracks to the main window which dramatically increases the adding speed, especially on advanced/nested SQL's. It also (sort of) solves the sorting of the tracks in the main window.
Study the four last SDB.MainTracksWindow codes to see what I've done.