-
This commit is contained in:
22
Kodi/Advanced settings/Path substitution.md
Normal file
22
Kodi/Advanced settings/Path substitution.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Path substitution
|
||||
|
||||
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.
|
||||
|
||||
## How it works
|
||||
|
||||
\<from>\</from> defines the path you wish to replace.
|
||||
|
||||
\<to>\</to> defines the new path that will replace what you put in \<from>.
|
||||
|
||||
The file path/URL can be partial, such as just the address for a server.
|
||||
|
||||
```
|
||||
<advancedsettings>
|
||||
<pathsubstitution>
|
||||
<substitute>
|
||||
<from>special://profile/Thumbnails/</from>
|
||||
<to>PROTOCOL://YOUR_NETWORK_SHARE/Kodi/userdata/Thumbnails/</to>
|
||||
</substitute>
|
||||
</pathsubstitution>
|
||||
</advancedsettings>
|
||||
```
|
||||
Reference in New Issue
Block a user