Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

Post a reply

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

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

Topic review
   

Expand view Topic review: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

Re: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

by ZvezdanD » Tue Jan 05, 2021 1:23 am

ToxicRed wrote: ↑Mon Jan 04, 2021 7:51 am Hi! I made an account just to share my experience.
:) I am glad that you found my script useful.

By the way, the option "Update paths in database only for files that exist at new location" tells the add-on to check if the media files really exist at the specified New path before updating their location in the database. Otherwise, the add-on blindly updates these paths, even if the files are not there.

If that option is turned on, the add-on is checking the existence of each file, which could be time consuming. However, its use is recommended just to be sure that all files are correctly transferred to the new location.

Re: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

by ToxicRed » Mon Jan 04, 2021 7:51 am

Hi! I made an account just to share my experience.

I just transferred my music and MediaMonkey files across 3 drives (2 computers). I followed the instructions in the Wiki which involved copying all of my music files/folders from my first PC to a usb drive, and I also copied my database files. On the new PC I first moved the files to the new location, and then copied my database files into the new MediaMonkey appdata folder. In MediaMonkey, it showed all of my playlists, but the media files were greyed out.

And then I used your script to make everything work. I was confused at whether I needed to check the "update paths" option, but I decided not to.

I entered the old path and my new path, left both check boxes unchecked, and ran the script. In like, 1 second, everything updated and I've got my music and playlists intact! :D :D

THANKS! :D :D :D :D :D :D :D :D :D :D :D :D :D

Re: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

by ZvezdanD » Thu Dec 10, 2020 3:21 pm

Davidgoeson wrote: ↑Thu Dec 10, 2020 11:57 am Does the addon update Artwork location too in the database?
The Artwork paths are stored in the database as filenames only, without the drive\folders part. It seems that MM allows only artwork files in the same folder with the corresponding media files. So, if you have moved your artwork files together with media files, they should be visible after updating paths of media files in the database.

Re: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

by Davidgoeson » Thu Dec 10, 2020 11:57 am

Hi,
Does the addon update Artwork location too in the database?

It think it has not because art has disapeared from all of my Artwork tabs.

When I hit on Add it points to the old location, triggering an error since the files are no longer there.

Cheers!

Re: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

by dypsis » Wed Nov 25, 2020 1:56 am

Thank you for your private reply, ZvezdanD.
I tried to reply to your PM, but you have private messages disabled.

Take care. πŸ˜ƒπŸ˜‰

Re: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

by dypsis » Mon Nov 23, 2020 9:53 pm

Has anyone tried the enhanced version of this addon?
Does it offer any useful functionality?

Re: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

by pauliec » Mon Nov 02, 2020 3:25 pm

:( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :(

Re: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

by Lowlander » Mon Nov 02, 2020 3:21 pm

Yes, if you don't have a copy of the old database there is no way to recover.

Re: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

by pauliec » Mon Nov 02, 2020 3:08 pm

No, I only have the one mm.db on the system

I suppose I am out of luck?

//paul

Re: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

by Lowlander » Mon Nov 02, 2020 2:52 pm

Search your PC for mm.db (include hidden files) and see if you do have an old copy of the database on your PC.

Lots of Hard Work Lost

by pauliec » Mon Nov 02, 2020 2:23 pm

I recently moved my library from one external drive and lost all of my playlists and play counts

I followed the instructions for doing so and used the "Update Location of Files in Databaase" script, but I still lost all of my tracking data.

Any ideas to help ?

Re: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

by Lowlander » Mon Nov 02, 2020 2:22 pm

That means that you removed the files from the Library somewhere in the process.

It's best to use MediaMonkey to move the files, that way no fixing is required. Otherwise, make sure you don't scan the files on the new drive (even Folder Monitoring) and run this Addon on the files on the old drive to update them. This will point them to the right drive and you won't loose a thing.

A backup of the database is always a good idea. MediaMonkey 5 has an automated backup feature available.

Detailed instructions: https://www.mediamonkey.com/wiki/index. ... w_computer

Lots of Hard Work Lost

by pauliec » Mon Nov 02, 2020 2:05 pm

While trying to transfer files from one drive to another I lost all of my playlists and play counts.

Lot of history and hard work lost.

I had tried to use the "Update Location of Files in Database" script when I did this transfer.

I should have done the database backup as suggested

Re: Update Location of Files in Database 1.3 (2012-06-12) [MM2+]

by Unsunghero » Tue Sep 08, 2020 8:53 am

I am having problems getting this script to work as it is not giving me the option of the correct old path.

I am moving my MM instalation from an old computer to a new one. The location of my music library has not changed as it is on a NAS box, I'm only changing where MM is installed.

When I run the script the 'Update Location of Files in Database' dialogue box shows this information:

I get two old drive paths for some reason:

HD: Storage, ID=********, not accessible - This shows the old Location has 23491 media files, 0 existing + 23491 missing files
HD:, ID=********, not accessible - This shows the old Location has 25 media files, 0 existing + 25 missing files

My options for the old Path are:
?:\
?:\Users\
?:\Users\username\
?:\Users\username\Music\
?:\Users\username\Music\Artist
?:\Users\username\Music\Artist\Album\

When I select this old drive and old path as ?:\Users\username\Music\ and the New Path as M:\, I tells me new location 17345 existing + 6146 missing files

These old paths are not correct, as the old paths did not have \users\username\Music, it was simply G:\Music\Artist\Album which is the folder on my NAS, mapped to G:\

Is there a reason why the wrong old path would be displayed?

Thanks

Re: New Drive nothing works

by jkrafty » Fri Aug 16, 2019 10:45 pm

I downloaded and ran the script and it still isn't working. I didn't see any place in there to change the disk ID. How do you do that? The instructions didn't say either.

Top