Kodi Community Forum

Full Version: Is it possible to remove the menu/GUI from XBMC?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm creating a WWE Entrance Stage for my little brother for his birthday and it's going to have an LCD Screen embedded into it that plays WWE Entrance Videos that he selects from his iPad (all powered by a Raspberry Pi, of course). I want the screen to only display the WWE logo until he chooses a video to play, is this possible?
Technically, yes. You would have to modify a skin and make it your own.
The easiest would be to add a control that shows that picture on top of everything else.

EDIT: I was a bit bored so I threw this together by misusing the skinning debuggrid that is in Foundation.
download : *download removed, see below for new download link*

This is how the skin looks when you use it :
Image

Install the skin by unzipping it into the addons folder, then select it from the gui after restarting XBMC. Should work in both Frodo and Gotham if installed this way.
Want a different picture? Change the backgrounds/debuggrid1080.png to something else, preferable a picture that is 1920x1080 px and make sure the name is not changed.

Note:
if you add a keymap.xml to your userdata/keymaps with this content:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<keymap>
    <global>
        <keyboard>
            <F6>Skin.ToggleSetting(DebugGrid)</F6>
        </keyboard>
    </global>
</keymap>

You can then toggle the wwe logo off and on by pressing F6, might be useful for maintenance.
Thank you very much, Kib! I'll be sure make sure to make a thread in the showoff section when this is all done!

What a great community this is.
I was skinning something else and suddenly realised I had made a stupid error when i did this quick mod for you.
It would also show the WWElogo on top of the playing video - Whoops!

I fixed that here: http://up.kibje.com/20140531/skin.wwelogo.zip
This version behaves as intended, and will switch to full screen video when playing. When playback is stopped the WWElogo comes back on.

You can also change this yourself by modifying 720p/Custom_Debug_overlay.xml
from
Code:
        <control type="image">
            <include>Dimensions_Fullscreen</include>
            <texture>special://skin/backgrounds/debuggrid1080.png</texture>
            <visible>!Skin.HasSetting(DebugGrid)</visible>
        </control>

to
Code:
        <control type="image">
            <include>Dimensions_Fullscreen</include>
            <texture>special://skin/backgrounds/debuggrid1080.png</texture>
            <visible>!Skin.HasSetting(DebugGrid)+!Window.IsVisible(VideoFullScreen.xml)</visible>
        </control>
I also tried to use this skin on Kodi 15.1 on an Android TV box and it does not seem to work.

When I go to:

System->Settings->Appearance->Skin

I see the current selection for the Skin: Confluence.

When I click on it, I do see the option "WWE logo Show one pic fullscreen". When I click on it it does show the logo full screen. But it stays like this only for several seconds and then reverts back to the original look and feel and the Skin option still shows "Confluence"

Here are some excerpts from the log file:

00:42:04 T:18446744072287783352 NOTICE: Starting Kodi (15.1 Git:2015-08-22-8326b01). Platform: Android ARM 32-bit
00:42:04 T:18446744072287783352 NOTICE: Using Debug Kodi x32 build
00:42:04 T:18446744072287783352 NOTICE: Kodi compiled Aug 22 2015 by GCC 4.8.0 for Android ARM 32-bit API level 17 (API level 17)
00:42:04 T:18446744072287783352 NOTICE: Running on rockchip rk3368-box with Android 5.1.1 API level 22, kernel: Linux unknown CPU family 64-bit version 3.10.0
00:42:04 T:18446744072287783352 NOTICE: FFmpeg version: 2.6.4-kodi-2.6.4-Isengard
00:42:04 T:18446744072287783352 NOTICE: 8 CPU cores available
00:42:04 T:18446744072287783352 NOTICE: Product: rk3368_box, Device: rk3368_box, Board: rk30sdk - Manufacturer: rockchip, Brand: Android, Model: rk3368-box, Hardware: rk30board
00:42:04 T:18446744072287783352 NOTICE: External storage path = /mnt/internal_sd; status = ok

.....

00:42:18 T:18446744072287783352 INFO: load skin from: /mnt/internal_sd/Android/data/org.xbmc.kodi/files/.kodi/addons/skin.wwelogo (version: 0.0.1)
00:42:18 T:18446744072287783352 INFO: load fonts for skin...
00:42:18 T:18446744072287783352 INFO: Loading fonts from /mnt/internal_sd/Android/data/org.xbmc.kodi/files/.kodi/addons/skin.wwelogo/1080i/Font.xml
00:42:18 T:18446744072287783352 DEBUG: LocalizeStrings: no strings.po file exist at /mnt/internal_sd/Android/data/org.xbmc.kodi/files/.kodi/addons/skin.wwelogo/language/English, fallback to strings.xml
00:42:18 T:18446744072287783352 INFO: Loading skin includes from /mnt/internal_sd/Android/data/org.xbmc.kodi/files/.kodi/addons/skin.wwelogo/1080i/includes.xml
00:42:18 T:18446744072287783352 INFO: Error loading includes.xml file (/mnt/internal_sd/Android/data/org.xbmc.kodi/files/.kodi/addons/skin.wwelogo/1080i/CommonViews.xml): Failed to open file (row=0, col=0)
00:42:18 T:18446744072287783352 INFO: load new skin...
00:42:18 T:18446744072287783352 INFO: Loading user windows, path /mnt/internal_sd/Android/data/org.xbmc.kodi/files/.kodi/addons/skin.wwelogo/1080i
00:42:18 T:18446744072287783352 DEBUG: Load Skin XML: 27.20ms
00:42:18 T:18446744072287783352 INFO: initialize new skin...
00:42:18 T:18446744072287783352 DEBUG: guilib: Fill viewport on change for solving rendering passes
00:42:18 T:18446744072287783352 INFO: Loading skin file: Pointer.xml, load type: LOAD_ON_GUI_INIT
00:42:18 T:18446744072287783352 DEBUG: Load Pointer.xml: 1.48ms
00:42:18 T:18446744072287783352 DEBUG: Alloc resources: 4.22ms (1.57 ms skin load)
00:42:18 T:18446744072287783352 INFO: Loading skin file: DialogVolumeBar.xml, load type: LOAD_ON_GUI_INIT
00:42:18 T:18446744072287783352 DEBUG: Load DialogVolumeBar.xml: 2.75ms
00:42:18 T:18446744072287783352 DEBUG: Alloc resources: 6.24ms (2.86 ms skin load)
00:42:18 T:18446744072287783352 INFO: Loading skin file: DialogKaiToast.xml, load type: LOAD_ON_GUI_INIT
00:42:18 T:18446744072287783352 DEBUG: Load DialogKaiToast.xml: 3.64ms
00:42:18 T:18446744072287783352 DEBUG: Alloc resources: 3.75ms (3.75 ms skin load)
00:42:18 T:18446744072287783352 INFO: Loading skin file: DialogMuteBug.xml, load type: LOAD_ON_GUI_INIT
00:42:18 T:18446744072287783352 DEBUG: Load DialogMuteBug.xml: 0.81ms
00:42:18 T:18446744072287783352 DEBUG: Alloc resources: 0.89ms (0.89 ms skin load)
00:42:18 T:18446744072287783352 INFO: Loading skin file: DialogSeekBar.xml, load type: LOAD_ON_GUI_INIT
00:42:18 T:18446744072287783352 DEBUG: Load DialogSeekBar.xml: 8.02ms
00:42:18 T:18446744072287783352 DEBUG: Alloc resources: 12.20ms (8.16 ms skin load)
00:42:18 T:18446744072287783352 INFO: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
00:42:18 T:18446744072287783352 DEBUG: Load DialogBusy.xml: 2.29ms
00:42:18 T:18446744072287783352 DEBUG: Alloc resources: 2.40ms (2.40 ms skin load)
00:42:18 T:18446744072287783352 INFO: Loading skin file: DialogExtendedProgressBar.xml, load type: LOAD_ON_GUI_INIT
00:42:18 T:18446744072287783352 ERROR: unable to load:/mnt/internal_sd/Android/data/org.xbmc.kodi/files/.kodi/addons/skin.wwelogo/1080i/DialogExtendedProgressBar.xml, Line 0
Failed to open file
00:42:18 T:18446744072287783352 DEBUG: Load DialogExtendedProgressBar.xml: 0.34ms
00:42:18 T:18446744072287783352 DEBUG: Alloc resources: 0.40ms (0.40 ms skin load)
00:42:18 T:18446744072287783352 INFO: Loading resource://resource.uisounds.confluence/sounds.xml
00:42:18 T:18446744072287783352 INFO: skin loaded...
00:42:18 T:18446744072287783352 DEBUG: Activating window ID: 10019
00:42:18 T:18446744072287783352 DEBUG: ------ Window Init (SettingsCategory.xml) ------
00:42:18 T:18446744072287783352 INFO: Loading skin file: SettingsCategory.xml, load type: KEEP_IN_MEMORY
00:42:18 T:18446744072287783352 DEBUG: Load SettingsCategory.xml: 4.45ms
00:42:18 T:18446744072287783352 DEBUG: Alloc resources: 16.10ms (4.56 ms skin load)
00:42:18 T:18446744072287783352 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting /data/data/org.xbmc.kodi/cache/apk/assets/sounds/
00:42:18 T:18446744072287783352 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting special://xbmc/sounds/
00:42:18 T:18446744072287783352 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting /data/data/org.xbmc.kodi/cache/apk/assets/sounds/
00:42:18 T:18446744072287783352 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting special://xbmc/sounds/
00:42:18 T:18446744072287783352 DEBUG: ------ Window Init () ------



Any help would be very much appreciated! Thank you!
whenever you switch to a different skin, kodi will ask you if you want to keep this skin.
you'll have to confirm by clicking 'yes'.
but you can't see this dialog as it's being covered by the fullscreen image.
it should be as easy as click 'left' and click 'ok'. when the new skin appears.
Thank you! Before I even try it out, I am a little concerned about how to revert it back, once the whole interface is covered by an image.
Is it possible to change skin remotely by means of Kodi JSON RPC?

I tried to change the skin by sending these commands:

{"jsonrpc": "2.0", "method": "Addons.SetAddonEnabled", "params": { "addonid": "skin.WWElogo", "enabled": true }, "id": 1}
{"jsonrpc": "2.0", "method": "Addons.ExecuteAddon", "params": { "addonid": "skin.WWElogo", "wait": false }, "id": 1}

For both commands just got back this response:

{"id":1,"jsonrpc":"2.0","result":"OK"}

but nothing has changed, the UI still shows the original Confluence skin.

I also checked the permissions and they seem to be ok:

{"jsonrpc": "2.0", "method": "JSONRPC.Permission", "id": 1}

Response:

{"id":1,"jsonrpc":"2.0","result":
{"ControlGUI":true,
"ControlNotify":true,
"ControlPVR":true,
"ControlPlayback":true,
"ControlPower":true,
"ControlSystem":true,
"ExecuteAddon":true,
"ManageAddon":true,
"Navigate":true,
"ReadData":true,
"RemoveData":true,
"UpdateData":true,
"WriteFile":true}}



When I look at the log file, I can see this:

20:12:12 T:18446744072294221032 DEBUG: webserver: request received for /jsonrpc
20:12:12 T:18446744072294221032 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "Addons.ExecuteAddon", "params": { "addonid": "skin.WWElogo", "wait": false }, "id": 1}
20:12:12 T:18446744072287783520 ERROR: RunAddon: unknown add-on id 'skin.WWElogo', or unexpected add-on type (not a script or plugin).


However, when I executed "Addons.GetAddons" command to find the id of this skin, I received this:

.... {"addonid":"skin.WWElogo","type":"xbmc.gui.skin"}....
Apart from my previous question..
When I do change the skin manually through the menus and set the image to full screen to cover the UI, I still see the textual overlay as the mouse moves over screen, such as "Home.xml" or "PICTURES" etc. How can turn off this overlay?

Thanks