MySQL/Portable devices and profiles: Difference between revisions
< MySQL
→Create profiles: master has to be portable |
No edit summary |
||
| Line 20: | Line 20: | ||
See [[Profiles]] for more information about the profile feature. | See [[Profiles]] for more information about the profile feature. | ||
== Configure the | == Configure the portable profile == | ||
Create a new file "advancedsettings.xml" in | Create a new file "advancedsettings.xml" in [[userdata]]/profiles/<username>/: | ||
<pre><nowiki> | <pre><nowiki> | ||
<advancedsettings> | <advancedsettings> | ||
| Line 43: | Line 43: | ||
See [[HOW-TO:Sync_multiple_libraries/Setting_up_XBMC|Setting up XMBC]] for more information. | See [[HOW-TO:Sync_multiple_libraries/Setting_up_XBMC|Setting up XMBC]] for more information. | ||
Revision as of 14:07, 21 March 2012
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 using a central database and one for local use (while travelling).
Create profiles
Configure the Master User profile:
- Open the Profile settings
- Modify the Master User profile
- Rename the profile, for example "Portable"
Configure the Second profile:
- Create a new profile
- Enter a name for the second profile, for example "Home"
- 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 portable profile
Create a new file "advancedsettings.xml" in userdata/profiles/<username>/:
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>***.***.***.***</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>***.***.***.***</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</musicdatabase>
</advancedsettings>
See Setting up XMBC for more information.