Am not really sure how this thing works.. but was wondering what if the path of the files changed? Would it be able to update it correctly? how about if the format changed from mp3 to flac? just curious..
sounds really cool though.
I think that I answered on this in the Description and What is new sections of the first post of this thread, as well as in the several further posts, but here it is again. The track from the backup file is considered as matched with the track from the current database file if they have same:musicmann wrote:Am not really sure how this thing works.. but was wondering what if the path of the files changed? Would it be able to update it correctly? how about if the format changed from mp3 to flac?
This script is not intended to make backups, just to restore mentioned data from some existing backup file. You could make backup files using trixmoto's Backup script or manually by simply copying of MM.DB file to some safe storage.musicmann wrote:will definitely back up my files using this too.. as a 2nd failsafe..

Hey, thanks for the kind words. By the way, this addon cannot import ratings, but I think it is not necessary since ratings are stored inside of audio files. However, if someone really need such possibility, please let me know.wutzin wrote:I absolutely love this script!!! No more worrying about losing data if you screw up your library. Simply start from scratch, rescan all your folders and then let this beast import all your ratings, playcounts, playlists, dateAdded to your sparkling-new library.
Works perfectly for me and saves me a LOT of trouble (somehow I manage to corrupt my library pretty regularly..)
Well, if you are still interested, I think that you have playlists with the same name on the level. This addon cannot handle such case, but you could try updated version (1.4.1) which at least doesn't generate the error message in such situation:debu wrote:I've installed your script and get the following messages after selecting the old database and clicking restore:
Do you have any idea what these messages are about?
You, my friend, are not reading description section from the first post nor the previous posts from this same page?Lowlander wrote:Do you need the checksums or can it sync play count based on file path?
I am not sure what you mean with that? You could always rename current database, move your backup MM.DB file to the MM database folder, open MM with that file and restore play counts from the previous current DB to the backup file, so I assume this is "yes" to your question.Lowlander wrote:Also can it sync playcounts both ways?
Well , it cannot handle tracks if they don't exist. It could only merge data between matched track. If your current database doesn't contain some track which is contained in the backup DB file, then there is nothing to restore/merge. Are you suggesting that I should add an option to import tracks from the backup DB file that are not contained in the current database file?Lowlander wrote:How does it handle when files aren't in one of the databases (I don't want them added)?
I clearly missed it.ZvezdanD wrote:You, my friend, are not reading description section from the first post nor the previous posts from this same page?![]()
No, I don't want it to add tracks that weren't in the database.ZvezdanD wrote:Are you suggesting that I should add an option to import tracks from the backup DB file that are not contained in the current database file?
No, it will not add play counts twice if you run add-on twice. It will compare playing dates from Played tables of backup and current DB files and if they are same it will not count it.Lowlander wrote:If you run this script twice does it add play counts twice or does it also see if the played date already exists and thus skip it?
This should not happen. It would be nice if you post screen-shots, or at least to write the number of the line where error occurred.Lowlander wrote:I did get 4 MediaMonkey error messages popping up on 3 occasions while running the script.