MySQL/Portable devices and profiles
HOW-TO:Sync multiple libraries/Contents
If you use your device (notebook or mobile iOS device) in multiple situations, you can create multiple profiles. You can use one profile at home, using a central MySQL database and another profile for use when travelling.
First create two profiles. Configure one profile for local use (while travelling) and one using a central database.
Create profiles
Configure the Master User profile:
- Open the Profile settings
- Modify the Master User profile
- Rename the profile, for example "Local" or "Mobile"
Configure the Second profile:
- Create a new profile
- Enter a name for the second profile, for example "Network"
- Accept the default profile path
- Select "Separate" for "Media info" and "Media sources"
- Enable the login screen to select a profile on startup
See Profiles for more information about the profile feature.
Configure the Local (or Master) profile
Configure the Master user profile, using a local database. Create a new file: "advancedsettings.xml" in the default userdata directory.
<advancedsettings> <musicdatabase> <type>sqlite3</type> <host>/var/mobile/Library/Preferences/XBMC/userdata/Database</host> <name>MyMusic7</name> </musicdatabase> <videodatabase> <type>sqlite3</type> <host>/var/mobile/Library/Preferences/XBMC/userdata/Database</host> <name>/MyVideos34</name> </videodatabase> </advancedsettings>
Configure the Network profile
Restart XBMC and select the Network profile. This creates the profile directory. Then exit XBMC. Create a new file "advancedsettings.xml" in the userdata/profiles/Network directory:
Source: