Restore/Synchronize Database 3.1.2 (2013-08-31) [MM3+]

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-08-04[M

Post by ZvezdanD »

ggibby wrote:I'm only 95% sure the MM.db I'm linking to has the Playlists (long story), is there a way to verify?
1. close MM if it is opened;
2. rename current (active) MM.DB file to e.g. MM.new;
3. copy backup file to the same location as the current MM.DB file;
4. start MM and verify it;
5. close MM, delete MM.DB and rename MM.new to MM.DB.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-08-04[M

Post by ZvezdanD »

martialartsguy wrote:there's still the exception in auto playlists where some of the tracks are off (see http://www.mediamonkey.com/forum/viewto ... 5&start=75, starting with 3rd comment down).
Are you absolutely sure about that? I think that I have removed that problem: http://www.mediamonkey.com/forum/viewto ... 38#p268838
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
martialartsguy
Posts: 312
Joined: Mon Apr 03, 2006 9:11 am
Location: Denver, CO

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-08-04[M

Post by martialartsguy »

ZvezdanD wrote: Are you absolutely sure about that? I think that I have removed that problem: http://www.mediamonkey.com/forum/viewto ... 38#p268838
Yup. For some reason, some autoplaylists still don't update correctly (most do however). They either have a blank album or the incorrect album. I'm still in the mid-process of reinstalling MM4, so I could try again & send you the .db if you're interested.
MM Gold since 2006
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-08-04[M

Post by ZvezdanD »

martialartsguy wrote:They either have a blank album or the incorrect album. I'm still in the mid-process of reinstalling MM4, so I could try again & send you the .db if you're interested.
I don't understand how playlists could have blank album. Yes, I am interested to try to reproduce that problem.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
ggibby
Posts: 90
Joined: Mon Feb 07, 2005 10:36 pm
Location: Truckee, CA

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-08-04[M

Post by ggibby »

ZvezdanD wrote:<snip>
5. close MM, delete MM.DB and rename MM.new to MM.DB.
I did that, and realized that this solves my problem completely.
Sorry, but I won't be testing the Playlist import script now...

-G
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-08-04[M

Post by ZvezdanD »

martialartsguy wrote:For some reason, some autoplaylists still don't update correctly (most do however).
Thanks for the report. There is the new release: v2.1.2 - 2011-11-15
* Fixed: auto-playlists with the condition: Album "equal/doesn't equal" ..., when backup is not a copy of the current database.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
cmatte
Posts: 18
Joined: Sat Nov 05, 2011 6:07 am

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-08-04[M

Post by cmatte »

ZvezdanD wrote:
cmatte wrote:The script found only ~600 tracks matched on ~4400 for me on mm4, so it restored only "something". It's quite strange, after just a system reinstall and zero changes to the files itself.
Could you upload your backup and current database files, so I could try to reproduce that problem?
Sorry for the late answer.
I think this happened because I had just started a db recreation with the same options activated, auto-organizing included, but I didn't notice it was set differently! So I think it didn't found matches due to a mass file naming change. Anyway I solved restoring my old db back, saving my playlists (re-matching every track myself), deleting old db, made mm recreate a new one and just import the just-saved playlists.
Thanks for your help and sorry for bothering, it was my fault quite surely :wink:
kiwichick
Posts: 331
Joined: Tue Jul 21, 2009 6:35 am

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-11-15[M

Post by kiwichick »

I love this addon!! It came in so handy during all the MM4 beta testing. I had to start from scratch several times and I have LOTS of playlists (especially auto-playlists) that I didn't want to lose. This does a great job, but the "Playlist in Main Window" addon won't display playlist details for playlists that have been restored. Songs newly added to the playlists after being restored won't display either.
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-11-15[M

Post by ZvezdanD »

kiwichick wrote:the "Playlist in Main Window" addon won't display playlist details for playlists that have been restored.
If you are building the database from the scratch then you could choose the "Clear Playlists and PlaylistSongs tables before restoring data" option and in that case I think you wouldn't have that problem with the mentioned add-on. However, both Static playlists and Auto-playlists should be selected for restoration and you need to have installed the latest version of this add-on (2.1.2).
kiwichick wrote:Songs newly added to the playlists after being restored won't display either.
I am not sure that understand what you want to say. Songs added to the playlists should be displayed as usual. If you are still talking about the "Playlist in Main Window" add-on, then it is another problem which, I suppose, wouldn't exist if you apply the previous suggestion.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-11-15[M

Post by nynaevelan »

ZvezdanD wrote: If you are building the database from the scratch then you could choose the "Clear Playlists and PlaylistSongs tables before restoring data" option and in that case I think you wouldn't have that problem with the mentioned add-on. However, both Static playlists and Auto-playlists should be selected for restoration and you need to have installed the latest version of this add-on (2.1.2).
I tried your suggestion on my existing database by restoring playlist table with auto and static playlists selected and the Playlistsinmainwindow script still will not update on any of the imported playlists from the script, it will only update on new playlists created natively in MM.
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-11-15[M

Post by ZvezdanD »

nynaevelan wrote:I tried your suggestion on my existing database by restoring playlist table with auto and static playlists selected and the Playlistsinmainwindow script still will not update on any of the imported playlists from the script, it will only update on new playlists created natively in MM.
Well, then you should ask Bex about it since I don't use his add-on, neither I know how it works internally. Doesn't his script have some Refresh or Update option or something like that? Maybe you should try to re-install his script after restoring playlists with this add-on - in that case his script shouldn't/couldn't differentiate the restored playlists from the newly created ones.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
kiwichick
Posts: 331
Joined: Tue Jul 21, 2009 6:35 am

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-11-15[M

Post by kiwichick »

nynaevelan wrote:I tried your suggestion on my existing database by restoring playlist table with auto and static playlists selected and the Playlistsinmainwindow script still will not update on any of the imported playlists from the script, it will only update on new playlists created natively in MM.
Agreed.
Last edited by kiwichick on Wed Dec 07, 2011 5:08 pm, edited 1 time in total.
kiwichick
Posts: 331
Joined: Tue Jul 21, 2009 6:35 am

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-11-15[M

Post by kiwichick »

ZvezdanD wrote:... you should ask Bex about it
I have posted a few times on Bex's thread, since October, but he doesn't appear to have been there for quite some time.
kiwichick
Posts: 331
Joined: Tue Jul 21, 2009 6:35 am

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-11-15[M

Post by kiwichick »

ZvezdanD wrote:Doesn't his script have some Refresh or Update option or something like that? Maybe you should try to re-install his script after restoring playlists with this add-on - in that case his script shouldn't/couldn't differentiate the restored playlists from the newly created ones.
Yes it does have an update function. Have tried all those kinds of things but still not luck. It's very strange.
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Restore PlayHistory/Playlists/Metadata 2.1 (2011-11-15[M

Post by nynaevelan »

Same here, I think I will reinstall MM3 and do some tests with the two scripts there to see if maybe this is something that is MM4 related, maybe something changed and that is why his script is not seeing the previous playlists. I do know he said a while back that he is very busy at work and he doesn't know when he will be able to update his scripts for MM4.

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
Post Reply