Restore Play History/Date Added/Playlists
- MediaMonkey Add-on -
Version 1.4.1

by Zvezdan Dimitrijevic

This add-on is for use with MediaMonkey v3.x. It restores or merges the playing history (the Played table and Playcount + LastTimePlayed fields in the Songs table), the DateAdded field and/or the playlists (both auto-playlists and static ones in Playlists and PlaylistSongs tables) from some backup database file. It could restore/merge data for all tracks in the current database or just filtered ones.

This add-on restores/merges only data for tracks that are matched between current and backup database files. The track from the backup file is considered as matched with the track from the current database file if they have same: 1. full paths (folder\filename.extension) OR 2. checksums (made after click on Files To Edit / Duplicate Content) OR 3. filename with extension AND FileLength AND Album AND Year AND TrackNumber OR 4. filename without extension AND SongLength AND Artist AND Album AND Year AND TrackNumber.

The second and third criteria cover situations with modified track locations after backup. The fourth criterion further covers situations with different audio formats in backup and current databases, e.g. if the backup database contains .flac tracks and the current database contains .mp3 tracks with the same filename, song length and other mentioned tags. The 2-4. criteria have the true condition only if there are exactly two matched tracks - if there are three or more tracks matched with those criteria, they would return the false condition and such tracks should have same full paths to be considered as matched.

Warning: if you choose the Clear Played table... option, the current Played table and playstat fields would be overwritten after applying the Restore option! Same state for playlists and Clear Plalists... option. If you want to merge data, you should leave those options unchecked.

If you run this add-on twice with the same backup file, it will not add play counts twice - the add-on will compare playing dates from Played tables of backup and current database files and if they are same it will not count them. However, you need to have the correct Played tables with all play history in both database files, it is not enough to have filled just Playcount and LastTimePlayed fields in the Songs table.

For a discussion about this add-on, you could visit the related MediaMonkey forum thread.

Download:

Latest version of the add-on

You could also take a look on my other add-ons for MediaMonkey:
Visitors since
2009-08-19
free counters

Donation:

These add-ons are donationware. Their development took considerable amount of time, so if you found these add-ons useful and want to help their further development, it would be nice if you send some small donation. You could donate as much as you think that is appropriate using Moneybookers or direct bank wire transfer.

What is new:

v1.4.1 - 2009-11-16

v1.4 - 2009-08-28

v1.3 - 2009-08-26

v1.2 - 2009-08-23

v1.1.2 - 2009-08-21

v1.1.1 - 2009-08-21

v1.1 - 2009-08-21

v1.0 - 2009-08-19

Installation:

Just double-click on the RestorePlayHistory-xx.mmip file; if you are on Vista or Win7 make sure you have MM3 set to "Run as Administrator"; if you downloaded the installation package with IE7 and it changed its extension to a .zip, you should first change it back to a .mmip.

Usage:

Choose the Tools / Scripts / Restore Play History/Date Added/Playlists option, specify backup database file from which you want to restore data, turn on the Clear Played table... option if you want to restore data or turn it off if you want to merge data and wait for the add-on to finish. It is rather slow (~20 seconds).