Detect that a profile is in use through a plugin?

  • Is there an environment variable that points at the current profile or would say if a profile is in use? I think I can get it from the xbmcaddon library, but I was hoping to do something in bash.

  • Not that I'm aware of, but the better place to ask would be the Kodi forums (under add-on development). NB: Profiles is one of the icky areas of the Kodi codebase; lots of old code that is known to have issues and nobody really volunteering to maintain it.