Path substitution: Difference between revisions
Jump to navigation
Jump to search
(meh, not much more to say) |
No edit summary |
||
Line 1: | Line 1: | ||
'''Path substitutions''' are settings in [[advancedsettings.xml#<pathsubstitution>|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) path subs works for most file paths. Path subs work across local and network paths, across different network protocols, and can even be used with the [[special protocol]]. | '''Path substitutions''' are settings in [[advancedsettings.xml#<pathsubstitution>|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) path subs works for most file paths. Path subs work across local and network paths, across different network protocols, and can even be used with the [[special protocol]]. Path substitution only works with folders, not individual files. | ||
==Examples== | ==Examples== |
Revision as of 03:47, 18 February 2012
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) path subs works for most file paths. Path subs work across local and network paths, across different network protocols, and can even be used with the special protocol. Path substitution only works with folders, not individual files.
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>