
NOTE this is a configuration change that is not officially supported by the MediaPortal Team but forum members maybe able to assist in resolving issues. Some users have reported database corruption when more than one client access same database at a time. If you try this, ensure only one client is active at a time.
MediaPortal can store your music, movies and pictures in a SQLite database format. These databases are useful when you require a list of your collections and would like to do searches on them or if you have multiple storage locations and prefer a single list instead of explorer style viewing.
By default, the databases are created and stored on each PC containing MediaPortal. This has it's advantages (example - if one PC is for kids, you could setup that database to only show the kids movies and not adults), but in most cases, it becomes a hindrance when a new movie is added to the hard drive, and you then have to go around to each client and add it so it can be seen outside of the "Shares" View.
Having a centralized database requires you to have a few things setup on your network. Below is a guide on how to setup your centralized database so all clients will see the information but you will only have to update once.
<!-- The path for the databases --> <Dir id = "Database"> <Path>Database\</Path> </Dir>
All that needs to be done here is add in the path line, your server name and share name. An example is shown below with the server name being Garage10 and the share is called Mediaportal
<!-- The path for the databases --> <Dir id = "Database"> <Path>\\Garage10\Mediaportal\Database\</Path> </Dir>
Now you need to find the following for your thumbs.
<!-- The path for the thumbs, like music cover art, TV logos, etc. --> <Dir id = "Thumbs"> <Path>Thumbs\</Path> </Dir>
All that needs to be done here is add in the path line, your serve rname and share name. An example is shown below
<!-- The path for the thumbs, like music cover art, TV logos, etc. --> <Dir id = "Thumbs"> <Path>\\Garage10\Mediaportal\Thumbs\</Path> </Dir>
Now save and exit. All modifications have been done to the configuration files.
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
All should now be working.