edit paths en masse

Post a reply

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

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

Topic review
   

Expand view Topic review: edit paths en masse

Re: edit paths en masse

by Lowlander » Sat Jan 31, 2015 12:38 pm

Re: edit paths en masse

by Guest » Sat Jan 31, 2015 10:26 am

tadcook,

I just dummy installed this addon using the .mmip without any problem.

It can then be found in Tools > Scripts > Update Location of Files in Database...

If it doesn't show, then try a manual install of the files:

First change the extension of the downloaded file from .mmip to .zip

Now extract that (in place).

The extracted folder contains:

App.ico
Install.ini (not needed here)
Licence.txt (Information only)
Uninstall.ini
Uninstall.vbs
UpdateLocationOfFiles.vbs

Now copy/move UpdateLocationOfFiles.vbs to AppData\Roaming\MediaMonkey\Scripts - in your user folder.

In the same Scripts folder, you'll see Scripts.ini

Open and add the following to the end of that file and save it:

Code: Select all

[UpdateLocationOfFiles]
Filename=UpdateLocationOfFiles.vbs
Procname=UpdateLocationDialog
Order=91
DisplayName=Update Location of Files in Database...
Description=Update drive ID and/or base paths in database, e.g. after upgrading hard disk
Language=VBScript
ScriptType=0
That's all you need, but if you want to create an optional uninstaller:

Go to AppData\Roaming\MediaMonkey\Extensions

Create a new folder in Extensions called UpdateLocationOfFiles and copy/move the following (previously

extracted) files to it:

App.ico
Uninstall.ini
Uninstall.vbs

Now, go to AppData\Roaming\MediaMonkey\Extensions.ini

Add the following to the end of that file and save:

Code: Select all

[UpdateLocationOfFiles]
Title=Update Location of Files in Database
Description=Update drive ID and/or base paths in database, by Zvezdan Dimitrijevic
VersionMajor=1
VersionMinor=3
VersionRelease=3
VersionBuild=0
Type=script
UpdateURL=http://solair.eunet.rs/~zvezdand/UpdateLocationOfFiles.xml
Start MM.

Re: edit paths en masse

by MMFrLife » Sat Jan 31, 2015 8:55 am

Re: edit paths en masse

by tadcook » Sat Jan 31, 2015 8:41 am

No, it is not the same drive, it just has the same data.

The Western Digital Passport drive failed, but the mp3 data has been restored from backup to a new Lacie drive.

Re: edit paths en masse

by MMFrLife » Sat Jan 31, 2015 8:30 am

Is My Passport and F: the same drive?
If so, try "locate moved/missing" files after changing the letter to F:\ in Windows, not database .

Re: edit paths en masse

by tadcook » Sat Jan 31, 2015 8:21 am

Thank you. But as I noted here, I cannot install it, despite repeated attempts:

http://www.mediamonkey.com/forum/viewto ... =1&t=79042

Re: edit paths en masse

by Guest » Sat Jan 31, 2015 7:02 am

edit paths en masse

by tadcook » Fri Jan 30, 2015 11:27 pm

I've restored all of my files from backups, and many are in new locations or have paths that don't match what is in the MM database.

For example, when I search for B.B. King, all of the paths are shown like this in the database:

[My Passport]\MUSIC\B.B. King\The Vintage Years (disc2)\06 King B.B. - Don't You Want A Man Like Me.mp3

I want to change all of the [My Passport]\MUSIC\ locations in the database to F:\MUSIC\

I thought I could use Auto-Organize Files to do this, but when I open Auto-Organize I have these two options:

Move and rename files to new destination based on file tags.

or

Copy files to new destination based on file tags.


But I don't want to do either of those things (copy, move or rename). The files are now where I need them, but I need to change all the paths that begin with [My Passport]\MUSIC\ to F:\MUSIC\

I cannot figure out how to do this. I think I need something like this, but I guess this is an add-on or script, which I haven't found:

http://i.imgur.com/xInJz6c.png

Top