2013-07-10, 00:14
(2013-07-09, 23:55)n1md4 Wrote: Not working..Your script is wrong. You are actually passing 2 arguments using Advanced Launcher : /path/to/application and "%rom%". So your script must manage 2 arguments and must be :
Here's my launcher:-
Application: /path/to/script
Arguments: /path/to/application "%rom%"
Here's the script:-
Code:#!/bin/bash
openbox &
$1
killall -9 openbox
Here's the debug log:-
Code:Jul 9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840 NOTICE: Thread XBPython start, auto delete: false
Jul 9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840 NOTICE: -->Python Interpreter Initialized<--
Jul 9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2651691840 NOTICE: [plugin.program.advanced.launcher] Initialisation
Jul 9 22:51:24 blackbeard tag_xbmc_log: 22:51:15 T:2606435136 NOTICE: Thread BackgroundLoader start, auto delete: false
Jul 9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 NOTICE: Thread XBPython start, auto delete: false
Jul 9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 NOTICE: -->Python Interpreter Initialized<--
Jul 9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 NOTICE: [plugin.program.advanced.launcher] Initialisation
Jul 9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 WARNING: Attempt to use invalid handle -1
Jul 9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 WARNING: Previous line repeats 4 times.
Jul 9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 NOTICE: [plugin.program.advanced.launcher] application : /home/xbmc/build/scripts/qcomic_openbox
Jul 9 22:51:24 blackbeard tag_xbmc_log: 22:51:17 T:2651691840 NOTICE: [plugin.program.advanced.launcher] arguments : /usr/bin/qcomicbook "/home/xbmc/literature/comics/Age of Apocalypse/Age of Apocalypse #10.cbr"
Code:
#!/bin/bash
openbox &
"$1" $2
killall -9 openbox
(2013-07-09, 23:12)xbmcmod101 Wrote: I was advised to post this here as well.I'm not able to reproduce your problem on my system. BTW, Advanced Launcher use XBMC built-in functions and skin display for the folders/items navigation. Advanced launcher do not have any control on the "BACKSPACE" key action. So, if the navigation do not works 1% of the time, that's mostly related to the skin you are using or to XBMC itself.
I currently have a custom favorite on the main menu screen that links directly into my emulators in the advanced launcher. 99% of the time, when I hit the "BACKSPACE" key to back out to the main menu, it goes directly there from my custom favorites menu.
However, here is where the problems comes the other 1%...
Occasionally, when I hit the "BACKSPACE" key to back out, instead of going up to the main menu, it backs out to the "DEFAULT" category menu of the Add-On. Then, if I hit back again, it goes up to the Add-Ons menu. Then, after hitting it the third time, if finally goes back out to the main menu. This is extremely problematic in trying to run my XBMC in full "Kiosk" mode so users don't get confused and start having to figure out menus.
I'd like to essentially have a two menu system: main menu > emulators (via the custom favorite) and then back out in the same way from the emulators > main menu without going in-between to the add-ons menu.
Any thoughts in what causes this or how to restrict it? I'd be willing to edit XML files if needed.
Also, If you always use the "BACKSPACE" key to go to the home menu, map it to "HOME" and not to "BACK".