detect currently running addon(s)
#1
Similar questions have been asked before:
http://forum.kodi.tv/showthread.php?tid=...rent+addon
http://forum.kodi.tv/showthread.php?tid=302725

So i am assuming it is not possible, but ill ask again, is it possible in any way to detect the currently running addon(s)
Id be more interested in finding out how to get the info via the rpc but that's seems to be a dead end.
So what is the feasibility of this via ways that im unfamiliar, built in commads etc, then i suppose it would need to be executed via a python script..

what do you know?
Reply
#2
python:
Code:
import xbmcvfs
running = xbmcvfs.listdir('addons://running/')[1]

json has a Files.GetDirectory method, perhaps that would work as well.
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
afaik GetDirectory won't do any such thing.
I just stumbled upon your same post from a a while back. thanks to repost for me.
now all I need to do is learn how to code myself some Python and create a service...
Reply
#4
(2017-01-26, 22:15)ronie Wrote: python:
Code:
import xbmcvfs
running = xbmcvfs.listdir('addons://running/')[1]

json has a Files.GetDirectory method, perhaps that would work as well.

Is there a simple way to get this list in the skin? Or would I have to take this and then feed all the info back info the skin my self?
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#5
perhaps a container with dynamic content will work:
https://github.com/xbmc/xbmc/pull/12738#...-325700285

<content>addons://running/</content>
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
#6
Will give it a try thanks.. can't get much simpler then that hahaha.
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply

Logout Mark Read Team Forum Stats Members Help
detect currently running addon(s)0