how to specify texture path
#1
Hello,

My addon has a texture called separator.png.
skin.transparency also has a separator.png inside it's Textures.xbt

My addon is using separator.png from skin.transparency instead of its own.

How do I specify the path to my files instead of the skin?
I've tried
Code:
<texture>special://profile/resources/skins/Default/media/separator.png</texture>
and different combinations of resources/skins/Default/media/separator.png
but it doesn't work.
Reply
#2
you can't. kodi will always use the texture from the skin (if it exists).

the proper way would be to prefix the images in your addon with a unique name (the name of your addon).

this is how i've done it in the globalsearch addon:
https://github.com/ronie/script.globalse...ault/media
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
I faced the same issue. Renaming the separator.png in my addon to emby-separator.png fixed the issue. Now if add-ons could use their own fonts instead of depending on the skin fonts... It would be great.


Sent from my iPhone
Reply
#4
thanks all!
I'll rename my stuff
Reply

Logout Mark Read Team Forum Stats Members Help
how to specify texture path0