Moving MM to a new computer: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Introduction==
== Introduction ==
If you want to move MM to a new computer (or hard drive) but retain your database, follow these steps.  If these steps are followed correctly, all information that is maintained by your database will be retained, including PlayHistory, PlayCounts, Dates Added, PlayLists and all other fields within MM.


==Copying your database==
If you want to move MediaMonkey to a new computer (or hard drive) but retain your database, follow these steps. If these steps are followed correctly, all information that is maintained by your database will be retained, including PlayHistory, PlayCounts, Dates Added, PlayLists and all other fields within MM.
Your database is located at:


'''Windows XP''': C:\Documents and Settings\<USERNAME>\Local Settings\Application Data\MediaMonkey
== Preparation ==


or
Before performing the migration, it's suggested that you update the tags of your files on your old pc, so that they contain up-to-date metadata.<br>


'''Windows Vista / Windows 7''': C:\Users\<USERNAME>\AppData\Local\Mediamonkey
#Run MediaMonkey and select all files in your Library<br>
#Click Tools &gt; Advanced Tag Management &gt; Synchronize tags...<br>


and is called MM.DB (note that you will have to enable viewing of hidden Files and Folders to find this file).
== Copying your database ==


After installing MM on the new computer, put your database in the correct location (as noted above) on the new computer.
Then copy your original database to your new PC:<br>


#Find your database in Windows Explorer.&nbsp; It is located at either:<br>'''Windows XP''': C:\Documents and Settings\&lt;USERNAME&gt;\Local Settings\Application Data\MediaMonkey\MM.DB<br>'''Windows Vista / Windows 7''': C:\Users\&lt;USERNAME&gt;\AppData\Local\Mediamonkey\MM.DB<br>Note that you will have to enable viewing of hidden Files and Folders to find this file).
#Copy the file, and back it up.&nbsp; Then place another copy to the appropriate location on your new PC.<br>
#Optionally, you may also want to save your registry info as well, @ HKey_Current_ User\Software\Mediamonkey
#Install MediaMonkey to the new computer.<br>


Optionally, you may also want to save your registry info as well, @ HKey_Current_ User\Software\Mediamonkey
== Moving your music to the new PC ==


==Moving your music to the new PC==
Next, you'll have to copy the music from the old PC onto the new one:<br>
Next, you'll have to move all the music from the old PC onto the new one, making sure that the file directory for each track stays the same as on the old PC (with the exception of drive letter, though that can remain the same.)


==Installing the update drive-ID script==
#Copy all of the files, making sure that the file directory for each track stays the same as on the old PC (with the exception of drive letter, though that can remain the same.)
After you do all of that, install [http://www.mediamonkey.com/forum/viewtopic.php?t=8975 this script] to your new PC.  To install this script, first shut down MM.  Next, copy the contents in the 'Code:' box at the link provided into notepad.  Save the file as 'MM_HDDSerial.vbs' (without the quotes) in your C:\Program Files\MediaMonkey\Scripts folder.  Next, within that same folder, find 'Scripts.ini'.  Open this file with notepad and copy the following lines and paste them onto the end of the file, then save.


Copy these lines into Scripts.ini:
At this point, if you run MediaMonkey, all of the files will appear, but double-clicking any one of them won't play the files because the database is still pointing to the drive identifier of the old PC's drive. <br>


[HDDSerial]
== Updating the database to point to the correct drive ==
<br>FileName=MM_HDDSerial.vbs
<br>ProcName=Change_HDD_Serial
<br>Order=99
<br>DisplayName=Move Device Content
<br>Description=Corrects broken links after exchanged harddrive
<br>Language=VBScript
<br>ScriptType=0


==Running the script==
Next you'll have to modify the database to point to the new drive instead of the old one.&nbsp; There are 3 possible approaches to this:<br>
Now you're ready to run the script.  Open MM (if you are using Windows Vista or Windows 7, right click on the MM icon and choose "Run as administrator" even if your Windows user account has administrative rights) and run the script at Tools -> Scripts -> Move Device Content. If you receive any errors or the script doesn't appear under Tools -> Scripts, check that you have installed the script correctly, and/or try restarting MM. 


Running the script will change the drive-ID within the MediaMonkey database to recognize your new drive, and all your database information will be retained. If you can play your music from MM, and tracks do not 'grey out', then you have successfully moved your MM installation to a new computer.
#Run the '[http://www.mediamonkey.com/forum/viewtopic.php?f=2&t=63823 Update Location of Files in Database]' addon:<br>- Download and double-click the script to install it.<br>- Follow the instructions in the forum. <br>
#Install [http://www.mediamonkey.com/forum/viewtopic.php?t=8975 this script] to your new PC:<br>To install the script, first shut down MM. Next, copy the contents in the 'Code:' box at the link provided into notepad. Save the file as 'MM_HDDSerial.vbs' (without the quotes) in your C:\Program Files\MediaMonkey\Scripts folder. Next, within that same folder, find 'Scripts.ini'. Open this file with notepad and copy the following lines and paste them onto the end of the file, then save.<br>-Copy these lines into Scripts.ini:<br><br>[HDDSerial] <br>FileName=MM_HDDSerial.vbs <br>ProcName=Change_HDD_Serial <br>Order=99 <br>DisplayName=Move Device Content <br>Description=Corrects broken links after exchanged harddrive <br>Language=VBScript <br>ScriptType=0<br><br>-Now you're ready to run the script. Open MM (if you are using Windows Vista or Windows 7, right click on the MM icon and choose "Run as administrator" even if your Windows user account has administrative rights) and run the script at Tools -&gt; Scripts -&gt; Move Device Content. If you receive any errors or the script doesn't appear under Tools -&gt; Scripts, check that you have installed the script correctly, and/or try restarting MM.<br>Running the script will change the drive-ID within the MediaMonkey database to recognize your new drive, and all your database information will be retained. If you can play your music from MM, and tracks do not 'grey out', then you have successfully moved your MM installation to a new computer.
#If you have MediaMonkey Gold, you can use the Locate moved/missing files function:<br>-Select all the greyed out tracks.<br>-Click File &gt; Locate moved/missing tracks<br>This will attempt to find tracks on the new drive that match the filesize AND timestamp, or track metadata in the database.


 
<br>
==Alternative==
 
The Update Location of Files in Database addon is an alternative to the script and can also handle changed paths on the new drive: http://www.mediamonkey.com/forum/viewtopic.php?f=2&t=63823

Revision as of 14:27, 17 April 2012

Introduction

If you want to move MediaMonkey to a new computer (or hard drive) but retain your database, follow these steps. If these steps are followed correctly, all information that is maintained by your database will be retained, including PlayHistory, PlayCounts, Dates Added, PlayLists and all other fields within MM.

Preparation

Before performing the migration, it's suggested that you update the tags of your files on your old pc, so that they contain up-to-date metadata.

  1. Run MediaMonkey and select all files in your Library
  2. Click Tools > Advanced Tag Management > Synchronize tags...

Copying your database

Then copy your original database to your new PC:

  1. Find your database in Windows Explorer.  It is located at either:
    Windows XP: C:\Documents and Settings\<USERNAME>\Local Settings\Application Data\MediaMonkey\MM.DB
    Windows Vista / Windows 7: C:\Users\<USERNAME>\AppData\Local\Mediamonkey\MM.DB
    Note that you will have to enable viewing of hidden Files and Folders to find this file).
  2. Copy the file, and back it up.  Then place another copy to the appropriate location on your new PC.
  3. Optionally, you may also want to save your registry info as well, @ HKey_Current_ User\Software\Mediamonkey
  4. Install MediaMonkey to the new computer.

Moving your music to the new PC

Next, you'll have to copy the music from the old PC onto the new one:

  1. Copy all of the files, making sure that the file directory for each track stays the same as on the old PC (with the exception of drive letter, though that can remain the same.)

At this point, if you run MediaMonkey, all of the files will appear, but double-clicking any one of them won't play the files because the database is still pointing to the drive identifier of the old PC's drive.

Updating the database to point to the correct drive

Next you'll have to modify the database to point to the new drive instead of the old one.  There are 3 possible approaches to this:

  1. Run the 'Update Location of Files in Database' addon:
    - Download and double-click the script to install it.
    - Follow the instructions in the forum.
  2. Install this script to your new PC:
    To install the script, first shut down MM. Next, copy the contents in the 'Code:' box at the link provided into notepad. Save the file as 'MM_HDDSerial.vbs' (without the quotes) in your C:\Program Files\MediaMonkey\Scripts folder. Next, within that same folder, find 'Scripts.ini'. Open this file with notepad and copy the following lines and paste them onto the end of the file, then save.
    -Copy these lines into Scripts.ini:

    [HDDSerial]
    FileName=MM_HDDSerial.vbs
    ProcName=Change_HDD_Serial
    Order=99
    DisplayName=Move Device Content
    Description=Corrects broken links after exchanged harddrive
    Language=VBScript
    ScriptType=0

    -Now you're ready to run the script. Open MM (if you are using Windows Vista or Windows 7, right click on the MM icon and choose "Run as administrator" even if your Windows user account has administrative rights) and run the script at Tools -> Scripts -> Move Device Content. If you receive any errors or the script doesn't appear under Tools -> Scripts, check that you have installed the script correctly, and/or try restarting MM.
    Running the script will change the drive-ID within the MediaMonkey database to recognize your new drive, and all your database information will be retained. If you can play your music from MM, and tracks do not 'grey out', then you have successfully moved your MM installation to a new computer.
  3. If you have MediaMonkey Gold, you can use the Locate moved/missing files function:
    -Select all the greyed out tracks.
    -Click File > Locate moved/missing tracks
    This will attempt to find tracks on the new drive that match the filesize AND timestamp, or track metadata in the database.