2017-11-12, 19:09
Hi there.
I did a small automation project for our home cinema. Its a combination of RF and LIRC scripts. It can control the power sockets, the beamer and the screen.
System is Kodi 17.5, RPi2, OSMC, Skin: Aeon Nox
I'd like to create an addon which is basically just a submenu of the shutdownmenu.
I've successfully written a context-menu addon, which turns up everywhere video/music/....
addon.xml: https://pastebin.com/CSPc9J8L
I know that this can be done via a Skin and or adding those shortcuts manually. I would rather have the addon be skin independent. Except for the case that I decide not to show the Power Menu at all.
I have taken a look at the script.skin.helper.* and script.skinshortcuts addons but I seem to miss something.
Can I hook into the shutdownmenu Window? And if so, how?
I'd be very happy if someone could point me into the right direction. Thank you very much
udo.
I did a small automation project for our home cinema. Its a combination of RF and LIRC scripts. It can control the power sockets, the beamer and the screen.
System is Kodi 17.5, RPi2, OSMC, Skin: Aeon Nox
I'd like to create an addon which is basically just a submenu of the shutdownmenu.
I've successfully written a context-menu addon, which turns up everywhere video/music/....
addon.xml: https://pastebin.com/CSPc9J8L
I know that this can be done via a Skin and or adding those shortcuts manually. I would rather have the addon be skin independent. Except for the case that I decide not to show the Power Menu at all.
I have taken a look at the script.skin.helper.* and script.skinshortcuts addons but I seem to miss something.
Can I hook into the shutdownmenu Window? And if so, how?
I'd be very happy if someone could point me into the right direction. Thank you very much
udo.