How To Transfer MM4 Database To Another Computer With MM5 [#16176]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: How To Transfer MM4 Database To Another Computer With MM5 [#16176]

Re: How To Transfer MM4 Database To Another Computer With MM5 [#16176]

by dypsis » Sat Feb 15, 2020 8:13 pm

Peke wrote: Sat Feb 15, 2020 7:31 pm Hi,
I am unable to replicate, can you tel us step by step what you do?
What can't you replicate?

If it is Scan at Startup, then just go to File > Add Rescan Files to the Library, then change the Schedule to Manual > OK.
Shut down MM5, then restart it. It will still scan at startup.

Re: How To Transfer MM4 Database To Another Computer With MM5 [#16176]

by Peke » Sat Feb 15, 2020 7:31 pm

Hi,
I am unable to replicate, can you tel us step by step what you do?

Re: How To Transfer MM4 Database To Another Computer With MM5 [#16176]

by dypsis » Sat Feb 15, 2020 4:09 pm

Ludek wrote: Sat Feb 15, 2020 3:27 am I haven't seen your DB yet, but if you are seeing duplicates like "d:\1\1.mp3" in library and "[]\1\1.mp3
then it means that you scanned the D:\ after the MM4 > MM5 database import without using "Localte moved/missing files..." at first.
You need to use "Localte moved/missing files..." before scanning! This way the existing entries will be paired with D:\ and you will not get duplicates.

Another (and probably easier) choice is to go to Music > Location > ... select the drive [] > right-click > Media Properties
and change the Location to D:\ and click OK

I mean this dialog: https://www.dropbox.com/s/ru2oy3vwpr2h1 ... 7.png?dl=0

Does it work this way?
Thanks Ludek.
I re-copied my database over, ensured that "Scan At Startup" was off.
I then went to Entire Library > Location, right clicked on the drive > Media Properties and selected D:\.
I was presented with a message that it won't take affect until after a restart.
I restarted, and all seems to be OK. 👍


By the way.
I can never turn off "Scan At Startup" via the MM5 GUI. It never sticks.
I always have to go to MediaMonkey.ini and turn it off there under the [AutoScan] settings.

Re: How To Transfer MM4 Database To Another Computer With MM5 [#16176]

by Ludek » Sat Feb 15, 2020 3:27 am

I haven't seen your DB yet, but if you are seeing duplicates like "d:\1\1.mp3" in library and "[]\1\1.mp3
then it means that you scanned the D:\ after the MM4 > MM5 database import without using "Localte moved/missing files..." at first.
You need to use "Localte moved/missing files..." before scanning! This way the existing entries will be paired with D:\ and you will not get duplicates.

Another (and probably easier) choice is to go to Music > Location > ... select the drive [] > right-click > Media Properties
and change the Location to D:\ and click OK

I mean this dialog: https://www.dropbox.com/s/ru2oy3vwpr2h1 ... 7.png?dl=0

Does it work this way?

Re: How To Transfer MM4 Database To Another Computer With MM5 [#16176]

by dypsis » Fri Feb 14, 2020 5:12 pm

Ludek wrote: Fri Feb 14, 2020 1:09 pm PM link with your database so that I can analyze what the unlocatable files are.
Is the MM4 and MM5 installed on the same PC or you moved from one computer to the other?
I used this method by Peke.
I am testing MM5 on a laptop. I had it working OK some time back, but the library got screwed up after one of the updates.

So, I used Peke's method again to transfer my 10 year old + MM4 database to MM5 on my laptop.
But it's all becoming too hard to achieve success. :-?

Do you have a better method of achieving this?
At some point in time, there will be others needing to know how to do it. :wink:

I will send you the MM5 database file from my laptop soon. 👍

Re: How To Transfer MM4 Database To Another Computer With MM5 [#16176]

by Ludek » Fri Feb 14, 2020 1:09 pm

PM link with your database so that I can analyze what the unlocatable files are.
Is the MM4 and MM5 installed on the same PC or you moved from one computer to the other?

Re: How To Transfer MM4 Database To Another Computer With MM5 [#16176]

by dypsis » Thu Feb 13, 2020 10:36 pm

If I try to play any of the [] tracks, it will play another random track from my Library.

The MM5 database is so flaky after updating from MM4.
If I just use a clean MM5 database, then all seems to be OK.

So, which one do you want me to try and delete?
The one with the correct data, but the corrupt link, or the one with the incorrect data with the good link?

What if I completely remove all tracks from the library, shut MM5 down, then add the new database and start MM5?

Re: How To Transfer MM4 Database To Another Computer With MM5 [#16176]

by Peke » Thu Feb 13, 2020 8:03 pm

Hi,
Based on that image it looks like you have duplicates of those files in which case MM5 will list them as non found due the fact that you search path where duplicates are.

eg. if you have "c:\1\1.mp3" in library and "[]\1\1.mp3" duplicate, so you try to locate it at "c:\1\" you will get that screen as "c:\1\1.mp3" is already in Library so it will ignore it. Thing you need to do is to delete "c:\1\1.mp3" from library and do locate search again which will pair "1.mp3" with new path and will not create duplicate.

Please let me know if it is unclear.

Re: How To Transfer MM4 Database To Another Computer With MM5 [#16176]

by dypsis » Thu Feb 13, 2020 5:08 pm

I'm still having problems upgrading my MM4 database to MM5.
I've been persisting with this for months, but it's still not working properly.

I used the portable method as described by Peke. But it gives me duplicates.
But what's worse than that, the duplicates with the valid data have an invalid path.

Here is an image of a small sample of my files showing the invalid path.

Image

[]\ should be D:\

Locate Moved / Missing Files doesn't find them.

Seriously, this needs to be made a whole lot easier.
There are other players that are so simple to do it.

By the way.
I can never turn off "Scan At Startup" via the MM5 GUI. It never sticks.
I always have to go to MediaMonkey.ini and turn it off there under the [AutoScan] settings.

Re: How To Transfer MM4 Database To Another Computer With MM5 [#16176]

by dypsis » Mon Dec 09, 2019 11:05 pm

Thanks, Peke. :)

Re: How To Transfer MM4 Database To Another Computer With MM5

by Peke » Mon Dec 09, 2019 6:14 pm

Hi,
Further improvements and more user friendly experience is added at https://www.ventismedia.com/mantis/view.php?id=16176 (devs only for now till framework gets shape)

Re: How To Transfer MM4 Database To Another Computer With MM5

by dypsis » Thu Dec 05, 2019 2:46 pm

That's easy just copying and replacing the MM4 database, Ludek.

Re: How To Transfer MM4 Database To Another Computer With MM5

by Ludek » Thu Dec 05, 2019 8:42 am

if you want to just copy the database (MM.DB) and not the settings (MediaMonkey.ini) then you can transfer the MM.DB file from the desktop to the laptop and replace it over MM5.DB file on the laptop, this will also auto-update the database to the MM5 format.

But I suppose that you moved also the music files from the desktop to the laptop? In that case you might want to use locate moved/missing files feature.

Another choice is to install MM5 on the desktop as _portable_ version (it will ask you to import MM4 database and settings) and then transfer the portable MM5 install to the laptop (just transfer whole the install folder).

Re: How To Transfer MM4 Database To Another Computer With MM5

by Barry4679 » Wed Dec 04, 2019 9:40 pm

dypsis wrote: Wed Dec 04, 2019 8:45 pm OK. So run MM4 and MM5 together, then once it has converted, copy the MM5 database over?
close :D

Read my first post again. ... after MM5 has made it's own converted copy your MM4 db, run the MM5 database backup ... it will save an export copy of the MM5 db.

Then copy the MM5 backup to the MM5 database location on your new computer ... and then Restore the backup.

nb. Maybe the MM5 database backup function saves to some export format? ... or maybe it is just a complete physical database copy? ... I don't know, but it doesn't matter. ... the point is that their database Restore function could be more safely be assumed to like the output from their own backup function.

It doesn't make any difference to what you are trying to achieve, and it does just complicate things for you, but you are asking to dive deep. Maybe MM Devs could comment on the following:
  • I do know there has been some migration, comparing MM4 to MM5, regarding what is stored in the MM database, and what is stored in the various config files for each edition
  • q1. When MM4 does its (optional) auto-import from MM4, does it import data just from the MM.db, or does it also get data from the ini file or any other MM4 files?
  • q2. Does the MM5 database backup|restore file contain just database info ... or does it also preserve some data from the persistent.json file?
  • q3. Is it ok to restore from a MM5 database file, or does it have to be from a MM5 backup file?
  • q4. Can MM5 restore from a MM4 database file ... ie. will MM5 detect that the database needs to be upgraded from MM4?

dypsis wrote: Wed Dec 04, 2019 8:45 pm Will it keep my MM4 programs and database in tact?
As I said earlier I have not tested the Restore function

But I have tested the MM5 auto-import function about a gazillion times, and I am confident that it does no damage to MM4 programs and database :D

Re: How To Transfer MM4 Database To Another Computer With MM5

by dypsis » Wed Dec 04, 2019 8:45 pm

OK. So run MM4 and MM5 together, then once it has converted, copy the MM5 database over?
Will it keep my MM4 programs and database in tact?

Top