Posts: 3
Joined: Aug 2024
Reputation:
0
Hi, how can I use relative paths for the thumb file path in 'favourites.xml' please ?
<favourites>
<favourite name="Name" thumb="here">ActivateWindow(...)</favourite>
</favourites>
Posts: 13,937
Joined: Mar 2010
Reputation:
539
PatK
Team-Kodi Member
Posts: 13,937
2024-08-03, 16:34
(This post was last modified: 2024-08-03, 16:35 by PatK. Edited 1 time in total.)
Best elicit what you are trying to achieve, there are work-rounds, but I have found other 3rd party add-ons that can be used.
A relative path describes the location of a file relative to the current (working) directory.
Kodi favourites.xml uses an absolute path location from the root directory.
Posts: 3
Joined: Aug 2024
Reputation:
0
Thanks for your answer. I have a Kodi portable installation so I want it to still work if I move it to another folder and it wouldn't with an absolute path. I already use the special://home for the playlist location and I'd like to do the same for the thumb.
Posts: 3
Joined: Aug 2024
Reputation:
0
I had already tried it and it didn't seem to work but I must've missed something last time cause it's working now.
Anyway, thanks for your help.