MySQL/Sync other parts of Kodi: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{incomplete}}
{{:HOW-TO:Sync multiple libraries/Contents}}
{{:HOW-TO:Sync multiple libraries/Contents}}
Many other things can be synced using path substitution. Note that you can also use the Symlink instructions above for virtually anything ('''DO NOT TRY TO SHARE DATABASES''') you wish to share across all of your machines using the same profile. This works with both directories and single files.
Many other things can be synced using path substitution. Note that you can also use the Symlink instructions above for virtually anything ('''DO NOT TRY TO SHARE DATABASES''') you wish to share across all of your machines using the same profile. This works with both directories and single files.

Revision as of 01:25, 5 February 2012

HOW-TO:Sync multiple libraries/Contents Many other things can be synced using path substitution. Note that you can also use the Symlink instructions above for virtually anything (DO NOT TRY TO SHARE DATABASES) you wish to share across all of your machines using the same profile. This works with both directories and single files.


Playlists

The Playlist folder in XBMC contains music, video and mixed playlists. If you have imported from pre-existing media libraries then you can use your old playlist folder to save time on recreating the various playlists. If your playlists include local file paths, you will need to edit them to use network shares instead.

add to advancedsettings.xml inbetween the <pathsubstitution>
and </pathsubstitution> tags:
  <substitute>
    <from>special://masterprofile/playlists/</from>
    <to>YOUR_NETWORK_SHARE_FOR_PLAYLISTS</to>
  </substitute>
  1. Share your existing playlists folder or a new folder via NFS, SMB, or AFP. It's easiest to do this from the same computer/device as your MySQL server.
    • Windows XP: Documents and Settings\<your_user_name>\Application Data\XBMC\userdata\playlists\
    • Vista/Windows 7: Users\<your_user_name>\AppData\Roaming\XBMC\userdata\playlists\
    • Mac OS X: /Users/<your_user_name>/Library/Application Support/XBMC/userdata/playlists/
    • iOS: /private/var/mobile/Library/Preferences/XBMC/userdata/playlists/
    • Linux: $HOME/.xbmc/userdata/playlists/
  2. Copy the text from the right hand box and add it to your advancedsettings.xml file, between the <pathsubstitution> and </pathsubstitution> tags.
  3. Note/copy the network path of your shared playlists folder and use that to replace YOUR_NETWORK_SHARE_FOR_PLAYLISTS, for example an SMB share holding your playlists use 'smb://NAS/share/videos/Playlists/'
  4. Make sure all XBMC devices that are being synced have this addition to their advancedsettings.xml file.