[MM2+3] Change Drive-ID after moving Files to a new Drive

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: [MM2+3] Change Drive-ID after moving Files to a new Drive

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by wallymountz » Tue May 23, 2017 8:00 am

I am obviously doing something wrong. I just purchased a new computer and I am trying to move my MM files over, but none will play.

Here the script I changed and it will not run.

[140354CD]
FileName=140354CD.vbs
ProcName=140354CD
Order=99
DisplayName=Move Device Content
Description=Corrects broken links after exchanged harddrive
Language=VBScript
ScriptType=0
[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

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by wallymountz » Mon May 22, 2017 3:11 pm

Where do \i find the HD serial number?

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by Lowlander » Sat Apr 12, 2014 10:28 am

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by jb004 » Fri Apr 11, 2014 7:05 pm

I may be missing something but this thread allows me to add a menu item for the script but no actual script exists in the scripts folder and I get an error message to that effect. Am I missing something?

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by birthsuit » Wed Feb 22, 2012 1:23 am

If it wasn't for my 'slap forehead' thought, this would have gone smooth for me. lol

I followed the instructions from here: http://www.mediamonkey.com/wiki/index.p ... w_computer and for some reason Move Device Content wasn't showing up in Tools -> Scripts..So I spent all this time reading everyone's post trying to find a solution, then something made me remember that when I updated MediaMonkey to version 4, I didn't overwrite the original MediaMonkey folder. So in /Program Files folder, I have a Media Monkey folder, and under that folder, I have a MediaMonkey 4.0 folder. So instead of putting the MM_HDDSerial.vbs file and edited the Scripts.ini file under /MediaMonkey 4.0/Scripts, I was putting it in the old /MediaMonkey/Scripts folder. :lol:

When I then put the files under the right version folder, I saw "Move Device Content." But when I clicked it, I then got this error:
Error happened during script initialization: A script engine for the specified language can not be created.

I searched for that error in the post, and saw someone wrote "If you copy the code from the code box, you MUST remove the trailing spaces at the end of each line."

But they didn't mention which file the spaces needed to be removed from, but I checked Scripts.ini first and noticed the code I pasted from the code box in the beginning of this forum does have a space at the end of each line. And I know like .01% about scripts, and that's 'install it and they make something run' lol...I removed the spaces, saved it, restarted MM, Chose "Move device content", (didn't get the error anymore) choose the drive and it worked!

Staples button: "That was easy!"

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by ZvezdanD » Mon Jan 09, 2012 8:38 pm

reggie_mal wrote:Moving Music from network drive to laptop hdd

Hi guys,

I am trying to move from \\LS-XHLDEB\music to D:\music. The script doesn't show me any options in "from"

Any ideas?

Ta
There is the new Update Location of Files in Database add-on which allows updating of network paths to the ones with the drive letter, e.g. from \\LS-XHLDEB\music to D:\music. It could update the drive-id with the serial number as well, but you could also update just selected base folders to the another ones, e.g. you could update c:\Documents & Settings\User\Music\ to d:\Music\. And it has its own installer, so no more problem with adding lines to the .ini file, OS problems, ...

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by Macarena » Sun Dec 25, 2011 1:32 pm

This script should be an MM built-in function! You rock onkel_enno! Thank you!

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by moiss » Fri Dec 16, 2011 11:38 am

thx cnbehler!, this was the solution for the language-problem.

next failure: when script is running in the window "Move MediaMonkeys Device Content"
on the left "from..." it seem a little bit irrational, because there are four lines of not used directorys.
the right column "to" is correct.

I think mediamonkey is very nice, if used without changes and without iphone. but if you want simple actions as change hdd etc, you need a lot of time... MM it's very good as sourceforgesoftware but not as a comercial product.

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by cnbehler » Thu Dec 15, 2011 5:59 pm

I, too, had problems running the SCRIPT.INI and I got the initialization error:
Error happened during script initialization: A script engine for the specified language can not be created.

If you copy the code from the code box, you MUST remove the trailing spaces at the end of each line. It will then work fine! (Thanks to Kumo for figuring this out!)

See: http://www.mediamonkey.com/forum/viewto ... 2&start=15

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by moiss » Tue Dec 13, 2011 12:01 pm

thx, very much for this tip, that IE9 makes sometime troubles.
I have installed IE 8.0.6001 and never installed IE 9... because I use Chrome.
I think the fault is in MM 4.x and only developers could solve it.

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by Lowlander » Mon Dec 12, 2011 2:28 pm

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by moiss » Mon Dec 12, 2011 1:37 pm

thx for this tip.
http://www.mediamonkey.com/support/inde ... icleid=116

but windows makes no problem. scripts are running in xp, but some scripts don't run in MM. several postings in this forum are showing this, and until now it's not clear why.

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by Lowlander » Mon Dec 12, 2011 12:40 pm

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by moiss » Sun Dec 11, 2011 3:41 am

The Scrip.ini is working, some scipts are running correct. But the [HDDSerial] results in an error:
"Error happened during script initialization: A script engine for the specified language can not be created."
and the vbs MM_HDDSerial.vbs would't start from this script.
From a modified [Case]-Script the MM_HDDSerial.vbs starts without error an runs so to the end.
(eventhough, after this procedure, MM did't recognice the new drive!).

Another question is, why did't run the orignal [HDDSerial]? I can't found any diffence in syntax.
Also a question is, why does't MM show all scripts from scrip.ini in the option-script-menue?

I think this drive-procedure is not ready for broad use and costs a lot of time.

Re: [MM2+3] Change Drive-ID after moving Files to a new Driv

by reggie_mal » Tue Dec 06, 2011 6:16 pm

Moving Music from network drive to laptop hdd

Hi guys,

I am trying to move from \\LS-XHLDEB\music to D:\music. The script doesn't show me any options in "from"

Any ideas?

Ta

Top