Moving MM to a new computer: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
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 MediaMonkey. This guide applies to changing computers, changing hard drives within the same computer and reinstalling Windows.
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 MediaMonkey. This guide applies to changing computers, changing hard drives within the same computer and reinstalling Windows.


The key part here is that MediaMonkey uses driveID to find your media files and not drive letter. This helps when using external drives which may have different drive letters when connected. However when you swap drives or reinstall Windows your drive will have a different driveID.
The key part here is that MediaMonkey uses driveID to find your media files and not drive letter. This helps when using external drives which may have different drive letters when reconnecting. However when you swap drives or reinstall Windows your drive will have a different driveID .


=== Alternative Solutions ===
=== Alternative Solutions ===


#To move files to a different hard drive (internal or external) or a network location you can use MediaMonkey to [https://www.mediamonkey.com/wiki/index.php?title=WebHelp:Changing_Filenames/4.0 move the files]. In that case this guide doesn't apply.
#To move files to a different hard drive (internal or external) or a network location you can use MediaMonkey to [https://www.mediamonkey.com/wiki/index.php?title=WebHelp:Changing_Filenames/4.0 move the files]. In that case this guide doesn't apply.
#If instead you wish to move the files outside MediaMonkey, but not MediaMonkey itself you can use [https://www.mediamonkey.com/wiki/index.php?title=WebHelp:#Using_Folder_Monitoring_to_Automatically_Update_the_Library Folder Monitoring] on both the old and new folder or skip ahead to the change driveID section.
#If instead you wish to move the files outside MediaMonkey, but not the MediaMonkey installation itself, you can use [https://www.mediamonkey.com/wiki/index.php?title=WebHelp:#Using_Folder_Monitoring_to_Automatically_Update_the_Library Folder Monitoring] on both the old and new folder or skip ahead to the change driveID section.
#If you just want to move all your Playlists over you can use Tools > Scripts > Export All Playlists. Do make sure that the Path of your media files hasn't changed as Playlists contain this Path and it is required to work. On any other installation of MediaMonkey you can run File > [https://www.mediamonkey.com/wiki/index.php?title=WebHelp: Add/Rescan Files] and have it scan the location with the Playlists to import them.
#If you just want to move all your Playlists over you can use Tools > Scripts > Export All Playlists. Do make sure that the Path of your media files hasn't changed as Playlists contain this Path and it is required to work. On any other installation of MediaMonkey you can run File > [https://www.mediamonkey.com/wiki/index.php?title=WebHelp: Add/Rescan Files] and have it scan the location with the Playlists to import them.


Line 15: Line 15:
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.
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.


#Run MediaMonkey and select all files in your Library<br>
#Run MediaMonkey and select all the media files in your Library
#Click Tools &gt; Advanced Tag Management &gt; [https://www.mediamonkey.com/wiki/index.php?title=Synchronizing_Your_Tags Synchronize Tags].<br>
#Click Tools &gt; Advanced Tag Management &gt; [https://www.mediamonkey.com/wiki/index.php?title=Synchronizing_Your_Tags Synchronize Tags]


You should also make sure that on the new PC that you don't have Folder Monitoring enabled nor that you scan for files before you finish this guide as otherwise you will have duplicates in your Library.
You should also make sure that on the new PC that you don't have Folder Monitoring enabled nor that you scan for files before you finish this guide as otherwise you will have duplicates in your Library.
Line 35: Line 35:
Optional items to copy would be:
Optional items to copy would be:
#[http://www.mediamonkey.com/support/index.php?/Knowledgebase/Article/View/16 MediaMonkey.ini], which contains many MediaMonkey settings
#[http://www.mediamonkey.com/support/index.php?/Knowledgebase/Article/View/16 MediaMonkey.ini], which contains many MediaMonkey settings
#Scripts folder, which contains most of the Addons you've installed
#[https://www.mediamonkey.com/support/index.php?/Knowledgebase/Article/View/95/0/how-to-install-extensions--addons Scripts folder], which contains most of the Addons you've installed
#Registry info as well, @ HKey_Current_ User\Software\Mediamonkey
#Registry info as well, @ HKey_Current_ User\Software\Mediamonkey


Line 49: Line 49:
Next you'll have to modify the database to point to the new drive instead of the old one.
Next you'll have to modify the database to point to the new drive instead of the old one.


#Run the third party [http://www.mediamonkey.com/forum/viewtopic.php?f=2&t=63823 Update Location of Files in Database] addon:
#Run the third party [http://www.mediamonkey.com/forum/viewtopic.php?f=2&t=63823 Update Location of Files in Database] addon. It can fix the changed drive ID as well as changed base folder for your files.
##Download and double-click the Addon to install it. Follow the instructions in the forum on how to use it.
##Download and double-click the Addon to [https://www.mediamonkey.com/support/index.php?/Knowledgebase/Article/View/95/0/how-to-install-extensions--addons install] it. Follow the instructions in the [http://www.mediamonkey.com/forum/viewtopic.php?f=2&t=6382 Forum] on how to use it.
#If you have MediaMonkey Gold, you can use the [https://www.mediamonkey.com/wiki/index.php?title=WebHelp:#Manually_Locate_Moved.2FMissing_Files Locate Moved/Missing Files] function:
#If you have MediaMonkey Gold, you can use the [https://www.mediamonkey.com/wiki/index.php?title=WebHelp:#Manually_Locate_Moved.2FMissing_Files Locate Moved/Missing Files] function:
##Select all the greyed out tracks (if the files are on a drive no longer accessible by this installation you won't find them under Dead Links).
##Select all the greyed out tracks (if the files are on a drive no longer accessible by this installation you won't find them under Dead Links).
##Click File &gt; Locate moved/missing tracks<br>This will attempt to find tracks on the new drive that match the file size AND timestamp, or track metadata in the database. Make sure you verify the matches it suggest as incorrect matches will result in the wrong metadata for your files.
##Click File &gt; Locate moved/missing tracks<br>This will attempt to find tracks on the new drive that match the file size AND timestamp, or track metadata in the database. Make sure you verify the matches it suggest as incorrect matches will result in the wrong metadata for your files.
#Install [http://www.mediamonkey.com/forum/viewtopic.php?t=8975 this script] to your new PC:
#Install [http://www.mediamonkey.com/forum/viewtopic.php?t=8975 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.
##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 '[https://www.mediamonkey.com/support/index.php?/Knowledgebase/Article/View/95/0/how-to-install-extensions--addons 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:<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 hard drive<br>Language=VBScript<br>ScriptType=0
##Copy these lines into Scripts.ini:<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 hard drive<br>Language=VBScript<br>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 &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 [http://www.mediamonkey.com/support/index.php?/Knowledgebase/Article/View/92/0/why-is-music-greyed-out--fails-to-play grey out], then you have successfully moved your MM installation to a new computer.
##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 [http://www.mediamonkey.com/support/index.php?/Knowledgebase/Article/View/92/0/why-is-music-greyed-out--fails-to-play grey out], then you have successfully moved your MM installation to a new computer.

Revision as of 18:38, 8 February 2019

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 MediaMonkey. This guide applies to changing computers, changing hard drives within the same computer and reinstalling Windows.

The key part here is that MediaMonkey uses driveID to find your media files and not drive letter. This helps when using external drives which may have different drive letters when reconnecting. However when you swap drives or reinstall Windows your drive will have a different driveID .

Alternative Solutions

  1. To move files to a different hard drive (internal or external) or a network location you can use MediaMonkey to move the files. In that case this guide doesn't apply.
  2. If instead you wish to move the files outside MediaMonkey, but not the MediaMonkey installation itself, you can use Folder Monitoring on both the old and new folder or skip ahead to the change driveID section.
  3. If you just want to move all your Playlists over you can use Tools > Scripts > Export All Playlists. Do make sure that the Path of your media files hasn't changed as Playlists contain this Path and it is required to work. On any other installation of MediaMonkey you can run File > Add/Rescan Files and have it scan the location with the Playlists to import them.

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 the media files in your Library
  2. Click Tools > Advanced Tag Management > Synchronize Tags

You should also make sure that on the new PC that you don't have Folder Monitoring enabled nor that you scan for files before you finish this guide as otherwise you will have duplicates in your Library.

Move your media files

Next you need to move (or copy) your media files to their new location. You can do this using Explorer or any backup software to move the files through the network, or an external drive to move files between computers. The easiest transition is where you don't change the folder/filename structure of your files. They can be moved to a different hard drive letter and a different base folder (eg. C:\My Music to D:\Music).

If your media files are on a network location and you only need to move MediaMonkey you don't need to move your media files and can skip this step.

Copying your database

The next step is to copy your original database to your new PC. The key component you'll need from your old install is the MediaMonkey database file. It contains metadata about your files including metadata not saved to the files and Play History, it also contains your Playlists, Podcast Subscriptions, Devices for Synchronization, DLNA setup as well as some other settings.

  1. Find your database in Windows Explorer.  For its location see: http://www.mediamonkey.com/support/index.php?/Knowledgebase/Article/View/16
    (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. Install MediaMonkey to the new computer.

Optional items to copy would be:

  1. MediaMonkey.ini, which contains many MediaMonkey settings
  2. Scripts folder, which contains most of the Addons you've installed
  3. Registry info as well, @ HKey_Current_ User\Software\Mediamonkey

If you have a Portable Install you can move the whole portable installation folder to the new PC. This will also keep your settings and Addons intact in the new install.

Starting the new MediaMonkey

Install and run MediaMonkey on your new PC. When you start MediaMonkey on the new PC make sure you don't do any scanning of Media Files before updating the Library in the next step. You can now enter your License and change the settings to your needs. You can verify if your Library is intact. The files will show greyed out unless they were on a non-mapped network location, the next step will fix this.

Updating the database to point to the correct drive (change driveID)

Next you'll have to modify the database to point to the new drive instead of the old one.

  1. Run the third party Update Location of Files in Database addon. It can fix the changed drive ID as well as changed base folder for your files.
    1. Download and double-click the Addon to install it. Follow the instructions in the Forum on how to use it.
  2. If you have MediaMonkey Gold, you can use the Locate Moved/Missing Files function:
    1. Select all the greyed out tracks (if the files are on a drive no longer accessible by this installation you won't find them under Dead Links).
    2. Click File > Locate moved/missing tracks
      This will attempt to find tracks on the new drive that match the file size AND timestamp, or track metadata in the database. Make sure you verify the matches it suggest as incorrect matches will result in the wrong metadata for your files.
  3. Install this script to your new PC:
    1. 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.
    2. 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 hard drive
      Language=VBScript
      ScriptType=0
    3. 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.
  4. If only the drive changed for your media files you could change the driveID in Windows from the new to the old driveID.


After one of the above approaches is taken, test out whether it worked by double-clicking a track in your library to see if it plays.