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

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

Post by Jenkins » Sun Oct 04, 2015 4:48 am

Just successfully used this on a 1.5TB database with over 210,000 songs, worked flawlessly and considering the size of my DB, very fast too! :wink:

I love the option of checking if files exists on the destination!

Total time to update the 210k songs to new server UNC path from Old Network Mapped drive = 192secs :D (not including the "checking if exist" time of about the same)

Thanks a bunch ZvezdanD! Real life saver!

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

Post by ZvezdanD » Thu Sep 10, 2015 2:44 am

shanemorales wrote:Does this actually work? I can't even get it started. There is nothing to select in the old drive/path drop down boxes. Weak.

Yes, it actually works, as you could read from many posts of other users in this thread. If you don't have anything in the old/drive path combo boxes, that means that your database is empty. You should have database that contains files if you want to update their location (as the name of the add-on suggests).

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

Post by shanemorales » Wed Sep 09, 2015 6:23 pm

Does this actually work? I can't even get it started. There is nothing to select in the old drive/path drop down boxes. Weak.

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

Post by JoePublic » Tue Aug 25, 2015 6:34 pm

This is just a story of reassurance for anyone wanting to use ZvezdanD's script.

I acquired a new HDD and added it to my desktop PC, keeping the old one. I copied all my media folders to the new drive: 2 folders (and lots of sub folders) in the root directory. (That took quite awhile.) I reassigned my drive letters so that the old drive was D: and became W:, and the new drive was I: and became D:. (The new drive is taking place of the old, but I'm still using the old as a backup, so I did not delete the music files off of the old drive.)

I made a copy of my MM.DB file just in case. I downloaded and installed the script. I opened MMW 4.1.7. As expected, MM found all my music on the old drive, showing the new "W:" path. I selected a song and ran the script. It correctly displayed my old base path as "W:\" and spent 7 minutes scanning my music files. (I have 240,000 of them, 1654GB worth.) I filled in the new base path ("D:\"). It took a few minutes to show me the stats on the files on the new drive (the same number, happily). I waited until that was finished. I did NOT check either of the 2 check boxes. I pressed the Update button, and 0.53 seconds later (!), the MM database was updated. I closed and reopened MM, and everything looks peachy.

I took a look at the old MM.DB that I made a copy of and the newly updated live MM.DB: identical in size (618,758,144 bytes), which kind of surprises me a little. I thought there would be SOME difference in size. Now, after optimizing the library (which takes about a minute and a half... love that SSD C: drive), the MM.DB shrank slightly to 618,727,424 bytes, a difference of 28,720 bytes.

Thanks for the great script.

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

Post by nev » Mon Jun 22, 2015 6:15 am

Getting a 404 on the link to the script ?

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

Post by chrisjj » Sat Feb 21, 2015 5:22 am

ZvezdanD wrote:It seems that my decision to implement the initial auto-fill of the Old Path combo box based on the selected file in the main filelist is a reason for a lot of user confusions and I think that I will remove such option in the next version of the script.


Good to hear.

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

Post by ZvezdanD » Sat Feb 21, 2015 3:52 am

Selecting of missing file in the main filelist is not mandatory for work of this script, it is implemented just to auto-fill initially the Old Path combo box when you open the Update Location dialog box. If you read the rest of the Usage section from the download page you would read "The old drive/path could be set in the mentioned dialog box as well." So, if you wrongly select some file in the main filelist and open the Update Location dialog box, you always could change that selection in the Old Path combo box by yourself.

I have explained in this thread which files are actually updated, but here it is again. With the Old Path combo box you are choosing the base folder for updating. This means that you would get updated all files from that folder and its sub(-sub)-folders recursively. This also means that you should select the root of the drive in the Old Path combo box if you want to update all files from that disk. If you have the database referencing files stored on several drives, then you could update location of such files only for one drive at time. The Old location label shows how many files would be actually updated with the selected Old path.

It seems that my decision to implement the initial auto-fill of the Old Path combo box based on the selected file in the main filelist is a reason for a lot of user confusions and I think that I will remove such option in the next version of the script.

Top