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

Post a reply

Visual Confirmation

To prevent automated access and spam, you are required to confirm that you are human. Please place a check mark next to all images of monkeys or apes. If you cannot see any images, please contact the Board Administrator.

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) [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.

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?

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

Post by ZvezdanD » Fri Jun 09, 2017 3:11 pm

wallymountz wrote:I tried replacing the old path with C:\ but it wouldn't work.

I am not sure that you understood my suggestion. The Old path should have been:
C:\Users\Wally\AppData\Roaming\MediaMonkey\Users\Wally\AppData\Roaming\MediaMonkey\Wally\AppData\Roaming\MediaMonkey\Users\Wally\AppData\Roaming\MediaMonkey\

and the New path should have been:
C:\

wallymountz wrote:This seems to be a lot more reasonable, but it still won't play.

It won't play if the paths in databases are wrong, i.e. they don't match the real media files.

1. Please post a screenshot of the Update Location dialog box with your settings or at least specify what you entered into the Old path and the New path combo boxes.

2. Please specify the full path of one media file from the Library that won't play and specify the full path of the same file from the Windows Explorer.

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

Post by wallymountz » Fri Jun 09, 2017 10:30 am

Thank you for your suggestion.

I tried replacing the old path with C:\ but it wouldn't work.

I then put the new path where the actual database is in the script:

C:\Users\Wally\AppData\Roaming\MediaMonkey\

but still not playing.

I looked at the size of the DB and it was 15.5 mb. The original file was 9.7 mb, so I copied over the database again and tried the script. Still wouldn't play.

A sample of an entry of the new DB is now: C:\Users\Wally\AppData\Roaming\MediaMonkey\Owner\Music\Playlists\F04\10cc.m4a

This seems to be a lot more reasonable, but it still won't play.

Sorry for all the trouble, because somehow I know this is all my fault.

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

Post by ZvezdanD » Fri Jun 09, 2017 1:47 am

wallymountz wrote:Here is a path listed in MM altho it doesn't seem to exist:

C:\Users\Wally\AppData\Roaming\MediaMonkey\Users\Wally\AppData\Roaming\MediaMonkey\Wally\AppData\Roaming\MediaMonkey\Users\Wally\AppData\Roaming\MediaMonkey\Users\Owner\Music\Playlists\F05\10cc.m4a

That path is obviously wrong since you have "Users\Wally\AppData\Roaming\MediaMonkey" folders repeated several times. I don't know how you got that path, but it seems that your database file is seriously messed up.

If you have "C:\Users\Wally\AppData\Roaming\MediaMonkey\Users\Wally\AppData\Roaming\MediaMonkey\Wally\AppData\Roaming\MediaMonkey\Users\Wally\AppData\Roaming\MediaMonkey\" in the Old path combo box, maybe you could try to replace that path with the New path: "C:\".

If you still have a problem, please upload copy of your original database (before you applied this add-on) packed with Zip to some file server like Dropbox and send me a link to it using my e-mail, so I could try it by myself.

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

Post by wallymountz » Sat Jun 03, 2017 9:27 am

First let me say that I don't have a clue to what I'm doing.

Now I've tried to follow your instructions and some from the replies already posted but the tracks are greyed and will not play. It looks like the path listed is way off but I don't know what to do with it.

I am running Windows 10 and the latest MM Gold. I am trying to move the MM DB to my new computer. I've been asking for help from MM Help but now they've referred me to you.

I moved the DB over on a flash drive.

For "Old Drive" your script lists two choices:
1. HD:Windows (C:), ID=140354CD
2. FD: (D:), ID=C8F42413

Here is a path listed in MM altho it doesn't seem to exist:

C:\Users\Wally\AppData\Roaming\MediaMonkey\Users\Wally\AppData\Roaming\MediaMonkey\Wally\AppData\Roaming\MediaMonkey\Users\Wally\AppData\Roaming\MediaMonkey\Users\Owner\Music\Playlists\F05\10cc.m4a

Now, I'm to the point that I'm just clicking around because I have no idea what to do because nothing is working.

Thanks for any help you can provide.

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

Post by DuwayneWebPro » Wed Jan 25, 2017 1:19 pm

I donated and this script is a gem!! Thank you!!

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

Post by ZvezdanD » Mon Nov 28, 2016 4:42 pm

There is a new donation-only version, v2.0:
* Added: ability to update multiple locations at once, separating multiple paths in the input field using " or | (similar to Export/Import Playlists add-on);
* Added: option to move files from the old to the new location first (beside of the existing copy option);
* Added: option "Overwrite files with the same names at new location" (used with Copy/Move options);
* Added: option "Delete emptied folders" (used with the Move option);
* Added: option "Remove duplicates of updated files from database and merge their playing data" [MM3+].

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

Post by oneoffbeat » Sun Oct 02, 2016 4:44 pm

Thank you for your replies Zvezdan and Peke. I took time to diagnose the script further with Kaspersky's free scan and Virus Total online metascan and got convinced, it was just a false positive by F-secure - think I might be seeking to change my virus protection provider next time when the license expires.

I've been changing my harddisks rather frequently over the years and this extension gives the much sought for continuity to the library. Mediamonkey is by far the best music and media library for any home computer system and it just raised itself a notch higher for me using this script. Keep up the good work guys!

(Hope Mediamonkey might go 64-bit and Linux desktops too, since MS seems to be waving goodbye to it's more demanding desktop users with couple of recent OS developments - less worries about false virus detections at least.)

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

Post by ZvezdanD » Sun Oct 02, 2016 4:36 pm

Thanks Peke.

By the way, on the virustotal site you could see that this add-on file is safe tested by 54 popular anti-virus engines; the only one reporting a worm in it is F-Secure:
https://www.virustotal.com/en/file/16a3 ... 475442287/

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

Post by Peke » Sun Oct 02, 2016 4:19 pm

Hi,
Generally, all scripts especially Zvezdan are safe and always even you just suspect just go and file FALSE REPORT and they will reply you with results.

Personally in last few years preventing of Infection in all AV apps is silly as it is very very easy to mutate computer virus to not be detected.

Only safe way to keep things safe if Hardware Firewall on LAN Edge and Good Settings of System firewall.

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

Post by ZvezdanD » Sun Oct 02, 2016 1:44 pm

F-Secure is problematic reporting false alarms. Its author promised me that will update its database, but obviously didn't. If you are interested about it, please read the following thread:
viewtopic.php?p=425873#p425873

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

Post by oneoffbeat » Wed Sep 28, 2016 11:05 am

Got my library updated by this extension alright, but F-secure detected a worm in it [url]<a href="http://imgur.com/xhRbF3j"><img src="http://i.imgur.com/xhRbF3j.png?1" title="source: imgur.com" /></a>[/url], thus mixed feelings. Is there something that can prove this false positive or has the file been contaminated somehow? I downloaded the file many times on two separate computers and result was the same, infected .vbs file.

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

Post by ResumeMan » Sun Dec 20, 2015 11:41 pm

That.Was.Awesome.

I just converted to a new fileserver box, and I've set up all the network shares with different names. I just installed the script, clicked a few buttons, and 5 minutes later my database is now properly aligned! Just made a small donation, thank you for creating this.

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

Post by MMuser2011 » Sat Oct 24, 2015 5:05 am

This script really works great, thank you!

One big improvement would be, if we could select multiple Drive-Letters in one run.
It would be OK to enter manually the old path drive letters, separated by a comma.
"Old Path": V:\, W;\, X:\, Y:\, Z:\
"New Path": Select the new drive as it actually works.

In the current version (v1.4 not 1.3 as in the thread title), I have to repeat this step 5 times for the above 5 old drive letters..

Top