2325 Database and Settings are not imported from MMW4

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

Snofru
Posts: 185
Joined: Tue Dec 27, 2016 8:12 am

2325 Database and Settings are not imported from MMW4

Post by Snofru »

Both MMW4 and MMW5 are installed as portable. I have deleted the MediaMonkey 5 folder and installed 5.0.0.2325 as Debug.exe. I was asked to use settings and database from MMW4 and said yes. MMW5 starts as normal but nothing was imported from MMW4.
This has worked without issue with 2316.

I can download a DebugView log from here.
MMW Version 4.1.31.1919 Portable
MMW Version 5.0.0.2415 Portable
Samsung Galaxy S9 and Sony NW-A105 with MMA Beta 1.4.2.0952
rusty
Posts: 7565
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

Re: 2325 Database and Settings are not imported from MMW4

Post by rusty »

Thanks!
fyi, I tested MM5 portable installation / DB import from a non-portable installation and it worked correctly. Hopefully the devs can find something in the log.

-Rusty

EDIT: I had misread your post and assumed that you were trying to updated the DB from an MM4 'normal' installation, a usecase that MM supports. MM does _not_ support importing MM4 settings from a different portable installation--only from an MM4 non-portable installation.
Ludek
Posts: 4020
Joined: Fri Mar 09, 2007 9:00 am

Re: 2325 Database and Settings are not imported from MMW4

Post by Ludek »

Hi, in the log I see that it
Imported MediaMonkey.ini from MM4: C:\Users\Peter\AppData\Roaming\MediaMonkey\MediaMonkey.ini -> D:\MediaMonkey 5\Portable\MediaMonkey.ini
MM4IniPath exists: C:\Users\Peter\AppData\Roaming\MediaMonkey\MediaMonkey.ini, and includes DBName: C:\Users\Peter\AppData\Roaming\MediaMonkey\MM.DB

But subsequently I don't see the "Copying MM4 > MM5 database" debug message.
Checking the conditions it looks that the file C:\Users\Peter\AppData\Roaming\MediaMonkey\MM.DB does not exist ?
Can you check C:\Users\Peter\AppData\Roaming\MediaMonkey\MM.DB for existence ?
Lowlander
Posts: 49800
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: 2325 Database and Settings are not imported from MMW4

Post by Lowlander »

If you want to use the database from an MMW4 Portable install you should remove the MM5.DB from the MM5 Portable install after installation and put the MMW4 MM.DB in that location.

You may have had MediaMonkey installed as a regular install (uninstalling it wouldn't have removed the database file).


Note: If you install MM4 Portable on top of a MMW4 Portable you should get the database from MMW4 updated into MM5.
Lowlander (MediaMonkey user since 2003)
Snofru
Posts: 185
Joined: Tue Dec 27, 2016 8:12 am

Re: 2325 Database and Settings are not imported from MMW4

Post by Snofru »

Thanks to all of you, the combination of the information you gave made it clear to me:

I did have installed MMW4 as a regular version but switched to portable more than a year ago. I have deleted the MM.db file long ago (and forgot about it) but not the other files in Appdata\Roaming. Maybe the remaining .ini file made MMW5 look into this folder?

I now deleted everything concerning MediaMonkey from AppData and the settings and database are imported correctly.

The question that remains for me (maybe purely academic) why it worked with 2316 and not with 2325.
MMW Version 4.1.31.1919 Portable
MMW Version 5.0.0.2415 Portable
Samsung Galaxy S9 and Sony NW-A105 with MMA Beta 1.4.2.0952
Ludek
Posts: 4020
Joined: Fri Mar 09, 2007 9:00 am

Re: 2325 Database and Settings are not imported from MMW4

Post by Ludek »

Snofru wrote: Mon Mar 15, 2021 11:36 am Thanks to all of you, the combination of the information you gave made it clear to me:

I did have installed MMW4 as a regular version but switched to portable more than a year ago. I have deleted the MM.db file long ago (and forgot about it) but not the other files in Appdata\Roaming. Maybe the remaining .ini file made MMW5 look into this folder?

I now deleted everything concerning MediaMonkey from AppData and the settings and database are imported correctly.
Thanks, this confirms what I've seen in the log.
Snofru wrote: Mon Mar 15, 2021 11:36 am The question that remains for me (maybe purely academic) why it worked with 2316 and not with 2325.
That's really strange, as there haven't been a single change in this area between 2316 and 2325 (at least I am not aware of any).
Did you install to the same directory as MM4 portable or to a different folder? I guess that's the difference?
Snofru
Posts: 185
Joined: Tue Dec 27, 2016 8:12 am

Re: 2325 Database and Settings are not imported from MMW4

Post by Snofru »

I always install MMW4 and MMW5 in different folders (didn't change between 2316 and 2325):

D:\MediaMonkey 4\MediaMonkey and

D:\MediaMonkey 5
MMW Version 4.1.31.1919 Portable
MMW Version 5.0.0.2415 Portable
Samsung Galaxy S9 and Sony NW-A105 with MMA Beta 1.4.2.0952
Lowlander
Posts: 49800
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: 2325 Database and Settings are not imported from MMW4

Post by Lowlander »

A portable install doesn't import the database of a different portable install unless you have link to MediaMonkey.exe on the Desktop.

Installing a Portable Install on top of a Portable Install (to update) it does use the database.
Lowlander (MediaMonkey user since 2003)
IanRTaylorUK
Posts: 143
Joined: Fri Dec 27, 2019 4:41 pm

Re: 2325 Database and Settings are not imported from MMW4

Post by IanRTaylorUK »

Lowlander wrote: Mon Mar 15, 2021 2:12 pm A portable install doesn't import the database of a different portable install unless you have link to MediaMonkey.exe on the Desktop.

Installing a Portable Install on top of a Portable Install (to update) it does use the database.
Interesting!

So what is likely to happen when you have several Desktop links, such as:
Media Monkey 4 1919 (Normal Installation in C:\Program Files (x86)\MediaMonkey )
Media Monkey 4 1919 (Portable Installation in C:\MediaMonkey 4 1919)
Media Monkey 5 1916 (Portable Installation in C:\MediaMonkey 5 2316)

When installing Media Monkey 5 2325 (as a portable installation in C:\MediaMonkey 5 2325) - when it asks about importing the MMW 4 database - will it use the normal or portable installation?
Ian Taylor
MM4W 4.1.29.1919 (Portable 12Feb2021) on Windows 10 Pro 64 Bit (v21H1 Build 19043.1055)
Add-Ons:Export / Import Playlists for Child Nodes; Magic Nodes; RegExp Find and Replace; Tagging Inconsistencies
Music library of 33,019 files (D:\) backed up to OneDrive
MMA 1.4.4.0952 on Sony Xperia XZ with Android 8 & ~14,750 Tracks
MMA 1.4.4.0952 on Samsung Tab S5e with Android 9 & ~14,750 Tracks
XZ synchronised with MM4W using USB; S5e synchronised with MM4W using USB
Trying MM5W 5.0.1.2416 (Normal 15Jun2021) on same Windows 10 PC with a copy of media files (E:\) (and separate library database for each major version!)
Ludek
Posts: 4020
Joined: Fri Mar 09, 2007 9:00 am

Re: 2325 Database and Settings are not imported from MMW4

Post by Ludek »

Normal is preferred and if it fails to locate then it searches desktop for a link to MediaMonkey.exe
It cannot search whole PC for a portable install (would be too slow)
1001Musik
Posts: 76
Joined: Mon Dec 28, 2020 2:19 am

Re: 2325 Database and Settings are not imported from MMW4

Post by 1001Musik »

Lowlander wrote: Mon Mar 15, 2021 11:24 am If you want to use the database from an MMW4 Portable install you should remove the MM5.DB from the MM5 Portable install after installation and put the MMW4 MM.DB in that location.
That's how I do it and it works. Only the naming of the user-defined fields is not adopted. I have to do this manually after every new version of MM5.
WiFi Syncing
MM Gold 4.1.31.1919 auf Windows 10 Pro 64 Bit "portable Installation" auf externe Festplatte
MM Gold 5.0.0.2325 Beta "portable Installation" auf externe Festplatte
MM Android 1.4.3.0948 Pro auf folgenden Geräten

Phones: Huawei P30 Pro Android 10.0 / Tablet: Samsung Galaxy Tab S4 Android 10
Lowlander
Posts: 49800
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: 2325 Database and Settings are not imported from MMW4

Post by Lowlander »

I believe that Custom field names are in the MediaMonkey.ini.
Lowlander (MediaMonkey user since 2003)
IanRTaylorUK
Posts: 143
Joined: Fri Dec 27, 2019 4:41 pm

Re: 2325 Database and Settings are not imported from MMW4

Post by IanRTaylorUK »

Ludek wrote: Mon Mar 15, 2021 3:56 pm Normal is preferred and if it fails to locate then it searches desktop for a link to MediaMonkey.exe
It cannot search whole PC for a portable install (would be too slow)
That makes sense. Removing the MM5.DB and using the "chosen" MMW4 MM.DB seems the most controlled way.

The other thing that is time consuming is populating the Publishers and Composers tile images. I have taken to "folder" matching the older version's Portable/ArtistImages sub-folders with the new version. This is simply because I install each portable version in a separate folder as I can then compare more easily and revert to the old version if needed.
Ian Taylor
MM4W 4.1.29.1919 (Portable 12Feb2021) on Windows 10 Pro 64 Bit (v21H1 Build 19043.1055)
Add-Ons:Export / Import Playlists for Child Nodes; Magic Nodes; RegExp Find and Replace; Tagging Inconsistencies
Music library of 33,019 files (D:\) backed up to OneDrive
MMA 1.4.4.0952 on Sony Xperia XZ with Android 8 & ~14,750 Tracks
MMA 1.4.4.0952 on Samsung Tab S5e with Android 9 & ~14,750 Tracks
XZ synchronised with MM4W using USB; S5e synchronised with MM4W using USB
Trying MM5W 5.0.1.2416 (Normal 15Jun2021) on same Windows 10 PC with a copy of media files (E:\) (and separate library database for each major version!)
Post Reply