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

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

wallymountz

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

Post by wallymountz » Sat Jun 10, 2017 4:53 am

Hello ZvezdanD:

Okay, you are correct that I misunderstood you.

I took a screen shot as you requested, but I don't see any way to attach a file. I tried to paste it into this text box, but it will not allow me to do that.

Back to your suggestion for the Old Path. The Old Path only has a drop down box from an arrow and none of those choices matches what you are telling to put there. It is not possible to paste a new path there either, so I don't know what to do.

Here is one full path from the library that will not play: C:\Users\Wally\AppData\Roaming\MediaMonkey\MediaMonkey\Owner\Music\Playlists\F04\10cc.m4a

I tried to follow this path in Explorer but the path stops here: C:\Users\Wally\AppData\Roaming\MediaMonkey

This is where the database is stored. I see now that the DB has increased in size from about 9.1 mb to 12.7 mb.

I then did a search of My PC from Explorer for one word from a song title in my library: rubber. The search says nothing is found. Shouldn't that be contained in the database?

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

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

Post by ZvezdanD » Mon Jun 12, 2017 2:54 am

wallymountz wrote:I took a screen shot as you requested, but I don't see any way to attach a file.
You could use some Web site for sharing image files like Flickr. Just remember to use the original size of the image without any size reduction when taking its link.
wallymountz wrote:The Old Path only has a drop down box from an arrow and none of those choices matches what you are telling to put there.

The Old path combo box shows all folders from the library that contain references to media files in them or in some of their sub-folders. I told you that you should have specified "C:\Users\Wally\AppData\Roaming\MediaMonkey\Users\Wally\AppData\Roaming\MediaMonkey\Wally\AppData\Roaming\MediaMonkey\Users\Wally\AppData\Roaming\MediaMonkey\" in it, but that should have been done before you updated your library. I really don't know what you did with it in the meantime.
wallymountz wrote:I then did a search of My PC from Explorer for one word from a song title in my library: rubber. The search says nothing is found.
Do you have media files on your drive at all? Where do you have the "10cc.m4a" file stored?

By the way, the media files are not physically contained in the database/library. The database/library contains only references to the media files and those references could mismatch the actual media files if you moved them outside of the program or if you upgrade you drive or change its serial number.

Also, you should not search your PC for words from a Title, but from Filename.
Magic Nodes 4.3.2/5.1 RegExp Find & Replace 4.4.8/5.1  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1/5.3.6  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.7/4.0  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.3/2.2.2  Inherit Child Playlists 1.0.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

wallymountz

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

Post by wallymountz » Wed Aug 02, 2017 12:12 pm

I have created a Dropbox with all the information you asked for. I just need your email address to share this with you.

Thank you.

Wally

pb2rdf
Posts: 2
Joined: Sun Dec 30, 2012 10:16 am

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

Post by pb2rdf » Sat Nov 25, 2017 4:44 pm

thks for this script !
Helped me a lot within 1 second to change the path from 1 HD to another HD in the MediaMonkey Database :D :D :D :D :D :D

Peter

tom stearns
Posts: 46
Joined: Tue Feb 09, 2010 7:36 pm

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

Post by tom stearns » Sun Apr 08, 2018 6:05 pm

I'm confused by your "Usage" comments and would appreciate clarification.

Here's the situation:

I have a 1TB external HDD and an instance of Media Monkey on a laptop which has correct paths to those files. All of the contents of that 1TB drive have been copied onto a new, 2TB drive to provide room for future expansion. The MM program doesn't recognize the files on the new 2TB drive, apparently because the drive ID is incorrect. Hence I wish to run your utility but I am uncertain how I tell the "Update Location of Missing Files" program where the files were and where they are now.

The screenshot on the second page of your instructions shows "Old Drive" , "Old PAth" and "New Path". How do I fill these windows with the correct information?

Since the music files already exist on the 2TB or "New Path" I assume I would only check "Update paths in database..."; there is no need to check "Copy files...."

What is the purpose of the "Backup" choice?

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

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

Post by ZvezdanD » Mon Apr 09, 2018 12:54 am

tom stearns wrote:The screenshot on the second page of your instructions shows "Old Drive" , "Old PAth" and "New Path". How do I fill these windows with the correct information?

Since the music files already exist on the 2TB or "New Path" I assume I would only check "Update paths in database..."; there is no need to check "Copy files...."

What is the purpose of the "Backup" choice?
With the Old drive and Old path combo boxes you should set the old location of files (source) and with the New path text box you should set the new location of files (destination).

The Old drive combo box shows all drives containing media files that are added to the database (Library). When you choose some drive from that combo box, the Old path combo box will be filled with all folders from that drive containing files in the database including all their parent folders until the root of drive.

With the Old path combo box you are choosing the base folder that you want to update.

In the New path text box you should specify the base folder which would replace the old one after applied the Update option.

The Backup button allows you to save a copy of the current (active) database to some safe place.
Magic Nodes 4.3.2/5.1 RegExp Find & Replace 4.4.8/5.1  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1/5.3.6  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.7/4.0  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.3/2.2.2  Inherit Child Playlists 1.0.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

banquo
Posts: 33
Joined: Mon Dec 01, 2008 4:18 pm

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

Post by banquo » Tue Jul 03, 2018 9:23 pm

Hi,
I manually copied my music files from one drive to another and then ran the (free) script to change my library location to the new drive. Both drives are still in the system. MM now recognizes the files at their new location, but it didn’t “forget” the old location like I wanted. E.g., if I search for a song, it’s shown on both drives. Also, I can’t turn off file monitoring for the music folder at the old location. Even though I unticked its box in the file monitor, there’s still a circular arrow symbol next to it, indicating it’s still being monitored.

Any suggestions how I can make MM forget about the old folder location and stop monitoring it? I'm running MM version 4.2.10.1864

Lowlander
Posts: 44374
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

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

Post by Lowlander » Tue Jul 03, 2018 10:31 pm

Folder Monitoring is likely why you see the duplication. You need to select the folder on the right side of the Add/Rescan Files dialog and then deselect both options on top (also right side). Left side is selection for manual scanning.

This won't remove the duplication, that can be done by removing the drive from the Collection > Location sub-node.
Lowlander (MediaMonkey user since 2003)

banquo
Posts: 33
Joined: Mon Dec 01, 2008 4:18 pm

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

Post by banquo » Wed Jul 04, 2018 11:14 am

Ah – I didn’t realize I could remove a Location sub-node; I thought it just showed the whole system. After doing that, not only did the duplicate files disappear, so did the file monitoring problem. All fixed – thanks, Lowlander!

Post Reply