Path substitutions are settings in advancedsettings.xml to force Kodi 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 Kodi to handle. Path subs work for most file and folder paths. Path subs work across local and network paths, across different network protocols, and can even be used with some of the special protocol.
Save as "advancedsettings.xml" in your userdata folder:
- Example 1 - changing the path of music files
<advancedsettings> <pathsubstitution> <substitute> <from>SMB://192.168.1.19/Music/</from> <to>G:\Music\</to> </substitute> </pathsubstitution> </advancedsettings>
- Example 2 - changing where thumbnails are stored
<advancedsettings> <pathsubstitution> <substitute> <from>special://profile/Thumbnails/</from> <to>PROTOCOL://YOUR_NETWORK_SHARE/Kodi/userdata/Thumbnails/</to> </substitute> </pathsubstitution> </advancedsettings>
2 See also