Extending a Window (shutdownmenu)
#1
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.
Reply
#2
nope, you can't.
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
Thanks. Darn! 

I believed so. Anyways, I thought about some possible solution.

The basic idea is to mess around with the active skin's DialogButtonMenu.xml
I'd then add a "update skin menu" button to the addon's settings.

Its a hack, but works for me.

Is it somehow possible for an addon to receive a notification when kodi settings - like the skin - changes? 

Cheers,
udo.
Reply

Logout Mark Read Team Forum Stats Members Help
Extending a Window (shutdownmenu)0