Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to have a Central Database for all MediaPortal Clients


Info

MediaPortalDirs.xml

Awesome Icon
iconfa-lightbulb-o
  Related Plugins Synchronize ALL your MediaPortal databases and thumbs from a master client to a central location and then to other clients:

...

  1. First, you need to setup a share that all clients can connect to. 
  2. Within that share, create 3 folders :- Database , Thumbs , Config
  3. on your MediaPortal PC, browse to the installation folder (usually C:\Program File\Team MediaPortal\MediaPortal) and find the file called MediaPortalDirs.xml and copy this to the Folder called Config created in step 2.
  4. on your MediaPortal PC, browse to the installation folder (usually C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal) and find the folder called Database. Select all the contents of this and copy to the newly created Database folder created in step 2.
  5. on your MediaPortal PC, browse to the installation folder (usually C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal) and find the folder called Thumbs. Select all the contents of this and copy to the newly created Thumbs folder created in step 2.
  6. Now that you have all the files in a central location, next is to modify the MediaPortalDirs.xml file in the Config folder on the Share drive.Open this file using NotePad or simliar text editor. You will need to scroll down the page until you find these lines:

...

This "stike through" part does not preserve your changes when upgrading: Now from each MediaPortal PC client, you should make a backup or rename your local MediaPortalDirs.xml file (so you can roll back if problems arise) and then copy the modified file from the centralized location "Config" folder to the client PC (usually C:\Program File\Team MediaPortal\MediaPortal), and then start MediaPortal.

The next step is very important if you want the MediaPortal upgrade function to preserve your MediaPortalDirs.xml during upgrades.

You need to create a folder in your MyDocuments called "Team MediaPortal" and put your customized MediaPortalDirs.xml there. For example, you will then have C:\Users\htpc\Documents\Team MediaPortal\MediaPortalDirs.xml

...