Path substitution: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
</pre> | </pre> | ||
<pre> | |||
<advancedsettings> | |||
<pathsubstitution> | |||
<substitute> | |||
<from>special://masterprofile/Thumbnails/</from> | |||
<to>PROTOCOL://YOUR_NETWORK_SHARE/xbmc/userdata/Thumbnails/</to> | |||
</substitute> | |||
</pathsubstitution> | |||
</advancedsettings> | |||
</pre> | |||
==See also== | ==See also== | ||
*[[advancedsettings.xml#<pathsubstitution>]] | *[[advancedsettings.xml#<pathsubstitution>]] | ||
*[[HOW-TO:Sync multiple libraries/Sync thumbails and fanart]] | *[[HOW-TO:Sync multiple libraries/Sync thumbails and fanart]] | ||
*[[HOW-TO:Sync multiple libraries/Sync other parts of XBMC]] | *[[HOW-TO:Sync multiple libraries/Sync other parts of XBMC]] |
Revision as of 19:26, 6 February 2012
INCOMPLETE: This page or section is incomplete. Please add information or correct uncertain data which is marked with a ? |
Path substitutions are settings in advancedsettings.xml to force XBMC to use different file paths. These are processed in order, and are useful for substituting an absolute path on a PC with a path suitable for XBMC to handle. Starting in XBMC v11 (Eden) it works for most file paths. It works across local and network paths, and even across different network protocols. It can also be used in combination with the special protocol.
Examples
<advancedsettings> <pathsubstitution> <substitute> <from>SMB://192.168.1.19/Music/</from> <to>G:\Music</to> </substitute> </pathsubstitution> </advancedsettings>
<advancedsettings> <pathsubstitution> <substitute> <from>special://masterprofile/Thumbnails/</from> <to>PROTOCOL://YOUR_NETWORK_SHARE/xbmc/userdata/Thumbnails/</to> </substitute> </pathsubstitution> </advancedsettings>