Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all 1816 articles
Browse latest View live

Conditionally Include file - broken on kodi startup

$
0
0
Something has changed with Kodi Leia after the nightly's in june.

I cant pinpoint the exact version i started having issues.

On kodi startup i have two conditional includes for xml's. (includes.xml)
Code:
<include condition="!Skin.HasSetting(HomeVertical)" file="Includes_Home_Horizontal.xml"/>
<include condition="Skin.HasSetting(HomeVertical)" file="Includes_Home_Vertical.xml"/>


Using "kodisetup-20170629-4461f46f96-master-x86.exe" nightly. Works as expected.
Using "KodiSetup-20170808-b6318a5472-master-x86.exe" nighly. Not working until a skin refresh after loading kodi.

Log
https://pastebin.com/HnKKDPTY

dialog confirm.xml progress bar ?

$
0
0
What is the best way to force the progress bar to appear so that I can skin it?

Just looking to finish up the dialog confirm .

Thanks for any advice.

Crash on Kodi 18 nightly with conditional variable

$
0
0
I display a label on videos window based on the media container focuseditem. The label is a variable. When I add the following to the variable:
Code:
<value condition="![Control.IsVisible(608) | Control.IsVisible(65)] + String.IsEqual(ListItem.DBType,musicvideo) + Window.IsVisible(videos) + String.StartsWith(ListItem.Label,ListItem.Artist)">$INFO[ListItem.Title] - $INFO[ListItem.Album]</value>

Kodi crashes (Exception caught in main loop / Kodi has stopped working) when I focus on one of the listitems in the container.
Kodi Win32 18 0820 nightly. Kodi debug log logs an error when it crashes:
Code:
ERROR: exception in CApplication::FrameMove()

From some testing it seems like the specific problem is the boolean
Code:
String.StartsWith(ListItem.Label,ListItem.Artist)

My full log https://pastebin.com/ffzET9gL

Is that not permitted?

scott s.
.

Calling Android Applications

$
0
0
Hey guys, working on a Skin for kodi and using some android applications and there intent's for example

StartAndroidActivity("com.android.tv.settings","android.settings.DATE_SETTINGS") <-- Works perfectly


but when i try to call for example StartAndroidActivity("com.android.tv.settings",".device.display.position.DisplayPositionActivity")

it is not working.


Any ideas on this?

How can I change color scheme on click?

$
0
0
Hey guys! Quick question.

I want to add a menu item that will allow users to switch between color schemes on the Eminence2 skin. I tried using the Skin.Theme(1)/(-1) command but that will only allow me to revert back to the default skin settings. It seems there are no "themes" setup for this skin just color profiles which are default and light. I want the user to be able to switch between default and light on a menu click.

Any ideas?

ListItem.AddonDescription

$
0
0
Is it just me, or is ListItem.AddonDescription broken (17.4)?

I doesn't return anything for me in the addon info dialog

Changing skins doesn't load StartUp.xml

$
0
0
This is a bit of a nuisance, as a lot of settings get, erm.. set here Big Grin

This would probably cut 50% of the bugs reported about skins, when the usual 'I rebooted kodi and it worked' scenario happens.

Add Video Source Dialog Window - Onlick

$
0
0
trying to set up a button that will launch the "add video source" dialog window using <onclick>, is this possible? what code would i use for <onclick></onclick>? thanks!

watch gallery

multiple ratings (imdb, rt, etc)?

$
0
0
I'm trying to add multiple ratings in movie list view. Here's what I've done:

1) To get some extra data in I added this to the nfo file:

Code:
        <rating name="Metacritic" max="100" default="false">
            <value>75</value>
            <votes>48</votes>
        </rating>

Then I did a refresh in Kodi hoping that'll update my data base.

2) declared a var:

Code:
<variable name="Metacritic">
        <value condition="!IsEmpty($INFO[ListItem.Rating(Metacritic)])">$INFO[ListItem.Rating(Metacritic)]</value>
    </variable>

3) display:

Code:
            <control type="label">
                <width>auto</width>
                <centertop>50%</centertop>
                <height>64</height>
                <align>left</align>
                <aligny>center</aligny>
                <label>$VAR[Metacritic]</label>
                <font>Flag</font>
                <textcolor>Dark1</textcolor>
                <visible>true</visible>
            </control>

I know the display code is fine because if I change the var to "10" it shows fine. Either $INFO[ListItem.Rating(Metacritic) isn't working or my nfo trick didn't work.

Any suggestions?

settingschangelevel label?

$
0
0
Is there a way to get the label for this outside of the setting category XML?

Aeon Nox Spin - Can't change default view

$
0
0
Anyone have a suggestion?

I edited the MyVideoNav.xml with the following code and everytime I go to view movies it shows the 3d list view (596) for a second but defaults back to List (50). Am I doing something wrong?

<defaultcontrol always="true">596</defaultcontrol>
<views>596,595,597,50,55,59,500,501,503,592,594</views>

VU+ deafault skin picture bug

$
0
0
Hello,

I have installed Kodi on a Vu+ uno 4k. (Krypton 17.0) I have figured out that I cannot browse pictures via upnp. Brwosing movies works. But there ist no picture list showing after the media scan message. I have tried all skin settings.
When I use another skin then the default on browsing pictures works. So it must be a skinning development problem.

Please tell me how to contact the developers or to make a bug report.

TIA

Heads up to skinners using development repos

Active recording listing

$
0
0
Hey there,

I know there is the info label available to display the current and next scheduled recording, but I'm searching for a way to display all in progress recordings (for setups with multple tuners and active recordings).
Doesn anybody know if there is a node available? Something like pvr://recordings/tv/active/?view=inprogress and pvr://timers/tv/timers/?view=upcoming?

Thanks in advance

[BUG] - animated png (apng) fails to animate if background=true

$
0
0
Not sure if this is a bug but certainly seems to be unless this is expected behavior.

In the image control if background="true" animated PNG files (using the required .apng extension) do not animate.

animated GIF images work fine (animate properly) regardless of the background="true|false" control setting.

Krypton and above now support animated PNG and animated GIF image files.

Appears you are required to use the .apng extension to properly animate PNG files - otherwise only the first frame is shown statically.

Issue is present in the latest nightly of 17.4 and assume bug exists in 32bit and 64bit version of Kodi L* as well - but have not tested to confirm.

setting background="false" or accepting the default by not declaring background= will animate the APNG image fine.

Also tried using a multiimage control with background="true" with an APNG file and it too fails to animate as well.

Code:
<control type="image">
            <posx>35</posx>
            <posy>10</posy>
            <height>110</height>
            <width>375</width>
            <aspectratio align="left">keep</aspectratio>
            <texture background="true">test.apng</texture>
</control>

<control type="multiimage">
            <posx>35</posx>
            <posy>10</posy>
            <height>110</height>
            <width>375</width>
            <aspectratio align="left">keep</aspectratio>
            <imagepath background="true">test.apng</imagepath>
</control>

a test APNG image (will need to change file name .extension to .apng)

[Image: MKDd9XR.png]

Wanted to post here to see if this is expected for some odd reason before reporting bug on https://trac.kodi.tv/

Thanks,

Mario

Clear Logo Artwork

$
0
0
Hi folks,
Have just started using one of the Estuary mods which includes a few Netflix style screens, which I quite like. However, when you switch on the option to display the clear logo artwork, it's displayed right next to text title. What I would to do is to display the clear logo artwork by default and only show the text title as a fallback if no artwork actually exists for the current title. I'm still a little unsure what I need to do to achieve this result, so any help would be much appreciated.

Here's the code for displaying the clear logo artwork:-

PHP Code:
<control type="image">
    <
depth>DepthContentPopout</depth>
    <
top>60</top>
    <
left>-65</left>
    <
width max="537">auto</width>
    <
height>120</height>
    <
aspectratio align="top" aligny="center">keep</aspectratio>
    <
texture>$VAR[ClearLogoVar]</texture>
    <
visible>!ListItem.IsCollection + !ListItem.IsParentFolder</visible

I'd also like to create a button on this screen that when pressed, would take me to movie/tv show info screen for the current title. I created a button with no problem and gave it the onclick command for the DialogVideoInfo.xml file, but when clicked everything is blank. What do I need to add to show all the info? Again, any help is much appreciated.

Cheers

addon category?

$
0
0
Container.Property(addoncategory) does not return anything in addon info dialog and I assume this only works in the myvideonav and mymusicnav .xmls?

or am I doing something wrong. btw I am using Leia

Problem with navigation between lists in grouplist

$
0
0
Hi everyone,

I am currently trying to make a vertical grouplist, consisting of several horizontal panels(poster widgets, like the estuary skin). Now when i navigate between the panel containers, kodi will focus on the last focused item in a container. This results in a weird navigation(because the focus position is not kept from the previous focused container). Previously i have fixed this with the following code in the panel containers:

<onunfocus>SetProperty(ListPosition,$INFO[Container($PARAM[WidgetID]).Position],home)</onunfocus>
<onfocus>Control.Move($PARAM[WidgetID],-$INFO[Container($PARAM[WidgetID]).Position])</onfocus>
<onfocus>Control.Move($PARAM[WidgetID],$INFO[Window(home).Property(ListPosition)])</onfocus>

This usually works fine - the problem is that i currently have an image with a <fadetime> tag, showing an image from the currently focused image. Now when a panel container receives focus, the previously focused item in the container becomes visible for a fraction of a second, before the focus changes to the position of the last focused item in the previous panel container.

Do any of you know a fix for this? Or any ideas of how i can avoid using window properties(i figure this is the reason for the delay). Thanks in advance.

And sorry if this makes no sense - it's difficult to explain in abstract terms Smile

Kodi Leia Bug?

$
0
0
DialogAddonInfo.xml Radio buttions focused and unfocused word overlay the radio button.

watch gallery

x-key (Stop playback) behaviour.

$
0
0
Why does the x-key on the keyboard behave differently on fullscreen playback and windowed playback ?

With fullscreen movie or trailer :
  • The movieinformation screen is closed
  • The trailer or movie playback starts in fullscreen
Hitting the x-key to stop playback behaves like this :
  • stops the video
  • removes the video from the player
  • returns to the screen that was displayed prior to the movieinformation screen (because it was removed just before playback started)

With windowed movie or trailer :

New xml file custom_1190-Trailer.xml :
Code:
<window type="dialog" id="1190">
...
<control type="videowindow" id="510">
  • The movieinformation screen is NOT closed
  • The trailer or movie playback starts windowed in the videowindow control (overlayed over the movieinformation screen)
Hitting the x-key to stop playback behaves like this :
  • stops the video
  • removes the video from the player
  • hides the group control containing the videowindow control
  • the custom dialog window (1190) is now completely transparant and the movieinformation window is fully visible (not covered/overlayed by anything)
  • the buttons and keys of the movieinformation screen are inaccessible
  • does NOT return to the movieinformation screen. The custom window (1190) is still active (skin.ToggleDebug confirms this)
  • the Esc-key, Backspace-key, or right-click of mouse is required to return to the movieinformation screen and gain control over its buttons and keys

Why ?

EDIT: Everything else works as expected just not the x-key on the windowed screen.
Viewing all 1816 articles
Browse latest View live