Simple question - how can I hide the main gui
#1
In my use-case, I have an autoexec.py script that immediately starts a movie when kodi starts - and closes kodi as soon as the movie is stopped.
The only problem is that before the video starts and after the video ends - you can see kodi's main interface. I want to keep that hidden this entire user session.
I thought maybe there was a window that was all black that I could activate - or use a script to set the screensaver to blank and activate it - but so far the interface is still visible. 
To be clear - I still want the user able to interact with the video during playback - pause and stop and all the other features of kodi. It's only when the video is not playing that I want the interface to be hidden.

Open to any and all ideas and suggestions! Thanks!
Reply
#2
You could try modifying the Home.xml of the skin in use, remove items and only add a black image. I would suggest to make a copy of the home.xml. Just in case
Reply
#3
(2020-09-10, 19:38)DaVu Wrote: You could try modifying the Home.xml of the skin in use, remove items and only add a black image. I would suggest to make a copy of the home.xml. Just in case

This actually seems to "mostly" work. Two concerns:
- Gotta be careful I don't remove it all permanently for when the user wants to launch it in full gui
- If the user attempts to navigate to the kodi gui without stopping the video, they are able to get stuck at a black screen.

To address the second issue - is there a setting I can toggle to not allow them to browse the gui while the video is playing?
Reply
#4
(2020-09-10, 22:40)Mrfixit2001 Wrote: To address the second issue - is there a setting I can toggle to not allow them to browse the gui while the video is playing?

Not that I know of. You could try to modify the keemaps in the way that the ESC-button (and probably others) won't exit the fullscreen video. 

Probably this: 
https://github.com/xbmc/xbmc/blob/master...d.xml#L356
this:
https://github.com/xbmc/xbmc/blob/master...d.xml#L358
and/or this:
https://github.com/xbmc/xbmc/blob/master...d.xml#L387
Reply

Logout Mark Read Team Forum Stats Members Help
Simple question - how can I hide the main gui0