Getting an image from add-on dir?

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jurialmunkey Offline
Skilled Skinner
Posts: 2,310
Joined: Feb 2013
Reputation: 216
Post: #1
Hey all,

I'm currently custom skinning the LibreElec service add-on for Eminence.
The LibreElec addon provides a bunch of icons for various situations (like wifi etc.) in the following folder
kodi/addons/service.libreelec.settings/resources/skins/Default/media/icons

How can I reference this folder in my skin whilst the addon is open?

I thought about using
special://xbmc/addons/service.libreelec.settings/resources/skins/Default/media/icons

But that seems like bad practice... Surely there is some way to get the path of the currently open addon?
find quote