Skin – Only Show Add-ons on home screen

Hi.

I’m new to the KODI Forum so forgive me if this post should be in another sub.

I’m looking for a minimalistic skin than ONLY show configured Add-on shortcuts.
Preferably not categorized by Music, Video, etc.

I used a backend NAS earlier with "legal" materials, but currently fill all my need with free and payed streaming services through add-ons.
( Regional TV channel for the Kids, YouTube, SpotiMC and Crunchyroll)

I Googled my fingers sore, but ended up with nothing.

Any help is appreciated!

Packages zip remove script

Hi there Im trying to make a script that will count and remove the old zip files from the packages folder. Currently Im just trying to get the yesno dialog window up with the file count, but having no joy, could anyone help as to where its going wrong....

Priority of PVR Backends (Multiple) in EGP

Hi recently I have switched to running multiple PVR backends. I'm now trying to use ArgusTV for DVB-T2 and DVB-S2 and DVBViewer for IPTV (instead of Simply IPTV back end as allows me to record). I know I cant dictate channel numbers from the backends...

Krypton 17.2 crash

Hey guys, I've been experiencing Kodi crashes. Here is info on system, log and description of problem. 1. Kodi v17.2 "Krypton" 2. Windows 10 Enterprise, Build 10.0.15063 3. x64 bit PC, Intel Celeron J1900 @1.99 GHZ 4. 4 GB Ram 5. Gfx: Intel HD Graphic...

Plex addon – can’t exit or go back

I'm probably in the wrong forum, plus you might think I'm being loco to even care about such a small issue in the grand scheme. So sorry about that, but this is so god damned irritating I just had to comment. The official Plex addon has the honor of b...

Comparison CPU Usage (2)

I would like to open a new thread for my latest measurements as I changed the methodology quite a bit. Results are a bit more scientific now… hopefully… The measurement took quite some time to execute and calculate results. So hopefully the numbers are of interest to anybody...


Hardware:
Device: Sony BRAVIA 2015
SoC: MediaTek MT5890 (2x ARM Cortex A17 @ 1GHz, ARM Mali T624 MP2, 1.5GB RAM) (no speed-stepping)
OS: Android TV 6.0.1 (Linux kernel 3.10.79)

Video:
TransportStream sample with H.264 [email protected] 720p50 video (5-6mbps) and AC3 audio (via Passthrough if possible) played from an USB pen drive.

Methodology:
CPU usgage has been measured via top command with a resolution of 1s:

Code:
top -m 10 -n 100 -d 1
From 100 measurements, the average and maximum has been calculated for user- and kernelspace activity, plus the most demanding processes separately as well.

The device has been rebooted before moving to the new player. The measurement was started after all startup processes have finished work.


Results:

Kodi 18.0-ALPHA1 (2017-05-20) - MediaCodec Surface

Code:
User:                        14% (peak: 20%)
System:                      14% (peak: 19%)
---
org.xbmc.kodi                11% (peak: 15%)
/system/bin/surfaceflinger    4% (peak:  5%)

Recent builds reduced CPU usage by about 5% (2-3% on Kodi itself, 2-3% on surfaceflinger).

Problem with MediaCodec Surface is that it produces quite severe stuttering on some videos, see this thread, even though resolution and framerate are quite low (720p25). It looks like audio drifts apart and a video glitch every few seconds takes care of it, resyncing to audio.


Kodi 18.0-ALPHA1 (2017-05-20) - MediaCodec

Code:
User:                        22% (peak: 33%)
System:                      31% (peak: 56%)
---
org.xbmc.kodi                22% (peak: 32%)
/system/bin/mediaserver      11% (peak: 22%)
/system/bin/surfaceflinger    4% (peak:  8%)

The 720p50 sample already suffers from stuttering in non-Surface mode on the weak MediaTek SoC. CPU usage is at 50% on average but can easily go above 80%. Going beyond 720p25 is a no-no. The problematic 720p25 video runs smoothly in non-Surface mode though. So the timing seems to be better in non-Surface mode. Higher resolution/framerate content is not feasible anymore though.

What is the mediaserver process and why does it consume so much more CPU time in non-Surface mode?


Kodi 18.0-ALPHA1 (2017-05-20) - MediaCodec w/ main menu overlay
Code:
User:                        37% (peak: 44%)
System:                      30% (peak: 38%)
---
org.xbmc.kodi                36% (peak: 44%)
/system/bin/mediaserver      11% (peak: 14%)
/system/bin/surfaceflinger    4% (peak:  5%)

non-Surface mode plus menu overlays is killer! Surface mode is a must on Sony and Philips TVs! Unfortunately, there is the issue with those problematic videos that don’t play smoothly.


VLC - MediaCodec Surface

Code:
User:                        12% (peak: 27%)
System:                      19% (peak: 36%)
---
org.videolan.vlc             10% (peak: 17%)
/system/bin/surfaceflinger    3% (peak:  4%)

The problematic video shows the same symptoms as when played inside Kodi with MediaCodec Surface being engaged.
The decoder can be switched to IOMX (libstagefright?) and between Surface and non-Surface modes. Neither does any mode allow screencaps to be taken nor do they fix the problematic videos. So I assume that playback always defaults to MediaCodec Surface.


Video (libstagefright?) - stock player app

Code:
User:                         1% (peak:  9%)
System:                       4% (peak: 15%)

All processes involved with playback stay well under 1% (e.g. surfaceflinger). The Video app might not be using MediaCodec, but most probably libstagefright instead. But it at least seems to be using Surface as it is not possible to take screencaps of the playing video. Also CPU usage suggests that.

The problematic videos play smoothly inside the Video app despite the supposed Surface usage.

Also Google's Live Channels app plays 720p50 live content without any significant impact on CPU usage on the Sony.


MX Player - HW mode (MediaCodec Surface)

Code:
User:                         5% (peak: 12%)
System:                       5% (peak: 18%)
---
/system/bin/mediaserver       6% (peak:  8%)
/system/bin/surfaceflinger    2% (peak:  3%)

Interesting part about MX Player is that most CPU is consumed by the mediaserver process. MX Player process hardly consumes any CPU.

Screencaps are not possible (=Surface). Problematic videos also stutter when played via MX Player.


MX Player - HW+ mode (libstagefright?)

Code:
User:                         7% (peak: 17%)
System:                      20% (peak: 34%)
---
/system/bin/mediaserver       7% (peak:  9%)
/system/bin/surfaceflinger    7% (peak:  7%)
com.mxtech.videoplayer.ad     4% (peak:  7%)

Screencaps are possible, so this is most probably a non-Surface mode. This one uses way less resources compared to Kodi though. Problematic videos play smoothly after engaging HW+ mode.

Kodi 17.2 update issue

It appears that there is an issue with the Kodi 17.2 update. In My Addons the setting "VideoPlayer input stream" should have two settings to enable. 1. RTMP Input and 2. InputStream Adaptive, Both of these are present in Kodi 17.1, however the InputStr...

Migrating an addon from Kodi 16 – 17 (Confluence -> Estuary)

I originally posted in addon development but it was suggested that it may be more relevant here.

I have a script addon that functions perfectly under Kodi 15 and 16. It uses WindowXMLDialog to create and populate a dialog. However on Kodi 17 I see this

https://www.dropbox.com/s/yyqsmz0koytyhc....23.05.png

What you see there, is basically the content of my dialog, not displayed in a dialog.

Now, I'm not a great expert in Kodi programming (and I have to say I've found much of the doc. confusing, contradictory and outdated). But I have been using the following fragment at the top of my XML ( in resources/Default/720p/dialog.xml ) as follows

PHP Code:
<window id="1100" type="dialog">
    <
zorder>0</zorder>
    <
coordinates>
        <
system>1</system>
        <
posx>120</posx>
        <
posy>100</posy>
    </
coordinates>
    <include>
dialogeffect</include>
    <
depth>DepthDialog+</depth>
    <
defaultcontrol always="true">300</defaultcontrol>
    <
controls>
        <include 
name="DialogBackgroundCommons">
            <
param name="DialogBackgroundWidth" value="650"/>
            <
param name="DialogBackgroundHeight" value="600"/>
            <
param name="DialogHeaderWidth" value="570"/>
            <
param name="DialogHeaderLabel" value="$ADDON[script.service.unblockr 32020]"/>
            <!--<
param name="DialogHeaderId" value="1" />-->
            <
param name="CloseButtonLeft" value="560"/>
            <
param name="CloseButtonNav" value="9000"/>
        </include>
        <!--
Title-->
        <
control type="textbox" id="200">
            <
posx>20</posx>
            <
posy>70</posy>
            <
width>610</width>
            <
height>150</height>
            <
font>font13</font>
            <
textcolor>FFFFFFFF</textcolor>
            <
label>$ADDON[script.service.unblockr 32013]</label>
        </
control

etc.

I suspect (but havent proven) that the includes are failing on Estuary. I confess the include set was cribbed without genuinely understanding why - although I subsequently understand that they're defined in Confluence's 'includes.xml'. As a non-skinner and artistic muppet, is there any way I can leverage the 'current' skin styling so as to

  1. Work with multiple skins and fit in with the skin style/settings
  2. Avoid having to carry / implement all the visual attributes and deal with skin changes smoothly.

[Bug] Update info about 17.2

Kodi 17.1 installed on macOS 10.12.5. Kodi 17.2 has been release on 2017-05-21 and includes a security relevant fix. But when starting Kodi 17.1 I do not see any info about an update which is available. Expected: User should be informed about updates ...

Startup crash after upgrading to 17.2

Just updated from 17.1 to 17.2 on a Linux Mint (17 Qiana) system. Kodi doesn't start, and I get this error: Code: /etc/mdm/Xsession: Beginning session setup... localuser:xbmc being added to access control list Script for none started at run_im. Scrip...

Missing subtitles

Hi, I've bought a wetek play 2, and installed kodi. And was trying to use it to watch some videos, instead of my tv dlna (since kodi as better quality and format support). After I've added the network folder, where i keep the videos with the srt files ...

Kodi 17.2

Missing Inputstream.adaptive in this version Sent from my SM-N910F (typie typie)

Pictures in Slideshow are Cutoff/Stretched

I am really confused how to fix. I have the Aeon Nox skin and have a multi image slideshow set when moving to the picture menu item on the main screen. It seems like it is zooming in and cutting off the picture. I tried removing the pan and zoom eff...

Crashes on iOS 17.1

Kodi keeps crashing constantly especially when I open my video library or start playing a video. Everything works fine on my iPhone and RbPi3 Here is my log Kodi Logfile Can someone help me out. It's really annoying not being able to do anything in ...

hash id generator

I was wondering, if kodi creates a hash id for an artist in conjunction with slideshow artist would it be possible to have a generator to decipher the hash id as i have quite a lot of artists without images and would like to put some in the folder if...