display location of Kodi install?
#1
I have been playing around with some of the great skins here and wanted to know if there was a way to display the install location of Kodi in system info page?

I have multiple versions installed and some in portable and it would be nice to see this without having to close Kodi and traceback to which location I need while testing things.

Thanks for any advice.
Reply
#2
Why not just change the device name in settings > services > general to reflect the location?
Reply
#3
Yea that would work , I didn't know if I had missed a info label or if it could be done on the python side
Reply
#4
python code:
Code:
addon_id = 'plugin.video.myAddon_NAME'
selfAddon = xbmcaddon.Addon(id=addon_id)
addonfolder = selfAddon.getAddonInfo('path')
addon_dir = xbmc.translatePath( selfAddon.getAddonInfo('path') )
Reply
#5
(2017-08-14, 00:28)antrrax Wrote: python code:
Code:
addon_id = 'plugin.video.myAddon_NAME'
selfAddon = xbmcaddon.Addon(id=addon_id)
addonfolder = selfAddon.getAddonInfo('path')
addon_dir = xbmc.translatePath( selfAddon.getAddonInfo('path') )
That's info for an addon, not for kodi.
special://xbmc gives you the kodi install directory.
Reply
#6
Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
display location of Kodi install?0