Run a program from main menu
#1
I would like run "Attractmode" on linux from main menu. I tried to use "Advanced Launcher" but it's has been discontinued by its author and all links to its repository have been deleted.
All things considered I can download from "https://github.com/edwtjo/advanced-launcher" and it's seems to work but sometimes I'm in waiting to close addon when I comeback to main menu.
Can I start a directly program from main menu with aeon mq 7?
Kodi v20 Nexus with Aeon MQ 9 Multi-Mod
OS: Linux Debian 12 bookworm on Apple Mac Mini Late 2018
TV: Samsung UE40C6510UP
Reply
#2
may be you can make a custom menu item with "System.Exec(....)" on action ?

i never tested .....good luck Wink
Intel NUC 5YPPH-8Go-SSD120go-external drive 1To
Windows 10 PRO - Kodi Krypton 17 - IconMix
Reply
#3
I created a new launcher with name "GIOCHI" on "Advanced Launcher" and I added at "favorites". On AEON MQ 7 I selected "Customize my menu" and I pressed "Replace this menu with..." and selected "favorites" and then "GIOCHI".
Now obtain on the home menu the link at "GIOCHI" and starting correctly:

Image

When I closed the launcher I waiting about for 5 seconds before I can interact with home menu, the screen is slightly dark.

Image

Please, how I can remove the waiting seconds and then immediately interact?
Or has someone a differnt way to start a program without waiting time?
Kodi v20 Nexus with Aeon MQ 9 Multi-Mod
OS: Linux Debian 12 bookworm on Apple Mac Mini Late 2018
TV: Samsung UE40C6510UP
Reply
#4
I found my solution about it. I created and installed a simple addon with this guide : http://kodi.wiki/view/HOW-TO:HelloWorld_addon
Below my addon.py code file:

import subprocess
import xbmc

xbmc.executebuiltin( "XBMC.Action(Stop)")
xbmc.executebuiltin('Lirc.Stop')
subprocess.call("/usr/games/attract")
xbmc.executebuiltin('Lirc.Start')

From AEON MQ 7 I replaced my menu GIOCHI with "choose programs add-on" and selected the created addon.
Now I can start attract directly from main home menu and when exit from program I don't wait before interact with home menu.
I can use this addon for any program. Nod
Kodi v20 Nexus with Aeon MQ 9 Multi-Mod
OS: Linux Debian 12 bookworm on Apple Mac Mini Late 2018
TV: Samsung UE40C6510UP
Reply

Logout Mark Read Team Forum Stats Members Help
Run a program from main menu1