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

Problem with "Sendclick" and or "Set.focus" in DialogVideoInfo.xml

$
0
0
I've got some problem with "Sendclick" and or "Set.focus" in DialogVideoInfo.xml

In DialogVideoInfo.xml i've did a Button which guides to a Custom Dialog, which should offer the options to choose "Actor Info" or "Movies with this Actor in library"

the First button which guides to actor Info (script extendend info) works as intended. But i have Problems to get the second Button to work, which should list the Movies this specivic Actor is part of.

here is how the Button currently look like: (Button in custom dialogue -> like shown in screenshot)

PHP Code:
<window id="foo" type="dialog">
<
allowoverlay>true</allowoverlay>

...

<
control type="button" id ="902">
                    <
description>ShowActorMovies</description>
                    <
label>$LOCALIZE[31247]</label>
                    <
width>440</width>
                    <
align>center</align>
                    <
textcolor>Dialog-S-TextColor2</textcolor>
                    <
focusedcolor>Dialog-S-TextColor1</focusedcolor>
                    <
onclick>Dialog.Close(1159)</onclick>
                    <!--
onclick>ActivateWindow(movieinformation)</onclick-->
                    <
onclick>SetFocus(50)</onclick>
                    <!--
onclick>SendClick(movieinformation,50)</onclick-->
                    <
onclick>SendClick(50)</onclick>
                    <!--
onclick>SetFocus(50)</onclick-->
                    <!--
onclick>Action(Enter)</onclick-->
                    <
visible></visible>
                </
control

i did try to achive what im after in two different ways (non of them did work, but its not completely clear to me why)

first attempt was to use "sendclick" ("SendClick(movieinformation,50)") -> where the Idea was to send a click to list ID 50 which holds the Actors in movieInfoDialog.
second attept was to set focus on list ID 50 in the MovieInfoDialog and use "Action(Enter)" to do a "click" on the focused Actor,
both attempts without sucess.

EDIT: funnywhise "Control.Move(50,-1)" works from this Button, just everything else i did try (beside close the custom dialogue) dont. /EDIT

would be nice if someone would have a small hint, or could tell me why stuf like sendclick or "set.Focus" doesnt work there (i always close the Custom dialog first)


to let u get a better Idea here a Screen from the Custom_Dialog (Custom-Contextmenu)

Screen:
[Image: DOSMti2.png]

Conditional animations in context menu

$
0
0
I want the context menu to appear in a different position depending on which item in the list container is focused. I've tried using Container().Row() as a condition but it isn't working. Does that not work within the context menu dialog?

Triggering context menu/information buttons manually

$
0
0
I'm doing away with the Information screen and default context menu options, but would still like to use a few of them - things like 'Change Art' and 'Edit Title'. Is there any alternative way to trigger those?

spin control

$
0
0
May someone explain to me a little better what spin control and spincontrilx are... I am thinking it is simaler to using VARS onclick hassetting(x) set bool(x). Onclick reset(x)

To make a click thru selection..... Or is it literally a spin animation type control?

Or go you know where it is being used so I can see it in action.

Thanks

Seek bar marker as label

$
0
0
Not sure what else to call it, but I want to have a label for the seek time of a movie which actually moves back and forth with the seek bar. Right now it just seems you can only have a texture as part of the slider control. Is there a solution or is this a feature request?

Location of info/gradient during fullscreen playback in Estuary

$
0
0
This should be obvious, so sorry for having to ask. I'm reskinning the seekbar, etc, using Estuary as a base, but can't find the xml for the info and gradient texture which keep popping up at the top. Any idea where it is?

EDIT: nm, found it in one of the custom windows

colorbox... image blur

$
0
0
So new question how does the blur effect work with color box... Can it show fanart blurred on the fly as soon as the item is highlighted?

Label with parent's name as a title

$
0
0
I searched around and couldn't find anything. Is there a way with skinning (Krypton+) to have a title label with the previous container's name? infolabel or otherwise

Unique context menu for resumable movies?

$
0
0
I want to change the layout of the context menu that pops up when a movie is resumable and you go to play it. Is that possible at all through booleans or some other means?

Is DialogVideoInfo for movieset history ?

$
0
0
Kodi 17.0- RC3 13 jan 2016
DialogVideo info for movie-set doesen't work for me at all.
Is this bug or Team remove this button from context menu (for widget) and "i" from keybord for movie set.

In some nightly was working for widget from context menu "information" button and in library with key "i".
If this dialog is history then write to remove condition for this in DialogVideoInfo.xml

[Image: 2NjGAFh.png]

Get album path via music player?

$
0
0
I was thinking that one way around the problem of destructive downsizing when showing album art on the homepage was maybe having two separate album art files, one at a smaller size, then displaying both 1:1 in Kodi. This could be done quite simply if you could get the path of whichever album was playing. Can that be done, though?

Single lost input in dialogs

$
0
0
I'm customising some dialogs at the moment, including the context menu, and whenever I open one the first input is lost. So, if I'm in the video OSD and want to move between options, the first push left or right will be ignored. Am I doing something obvious wrong?

Video progress bar glitches out for first few seconds of video

$
0
0
For about the first 30 seconds of a video, my progress bar displays as full with a missing right texture. After that time it displays properly. Is this something to do with the widths of the left and right texture being too big?

Translations / Transifex

$
0
0
Can someone point towards some resources about getting my skins up on transifex / translations git. I used to have Arctic Zephyr up on there and I see it is still active on transifex, but don't know what the process is to get it on the new git etc.

I saw the email earlier last year on the mailing list about some changes and emailed Attilla back about it, but never got a response. I can see that neither Eminence 2 or Arctic Zephyr were added to the github translations.

I'm sure there must be a post somewhere about it, but I can't seem to find it. It feels like a real shame to be missing out on the translating work done by other users.

EDIT: btw, I'm aware of the stickied post at the top of this forum, but that info is really out of date especially considering the mailing list is now defunct and I emailed both the mailing list and in response to Attilla and never got a reply (this was a number of months ago).

Search...live?

$
0
0
Is there a addon that does a live search... meaning as I type it starts searching with the first letter I type?

Any reason why addon windows (like Global Search) have to be dialogs?

$
0
0
Just wondering if addon windows have to be dialogs, or could also be coded by addon authors as regular windows?

Reason I'm asking, I have the Global Search addon skinned as a full-screen window, like many others have done. Now I'm trying to add a global menu, so I want to add the menus to the Global Search window. Because Global Search is a dialog, I can't open other windows from it, AFAIK.

Any way around this? Thanks!

Auto-sizing labels with background colour?

$
0
0
Is it possible to have a solid block of colour behind an auto-sizing label which adopts the same width?

Help about buttons

$
0
0
Hi, hope you can help me with these questions
Question 1 - I'm trying to make two buttons that go to different functions. Here are the buttons

PHP Code:
<control type="button" id="160">
                        <
description>Manual</description>
                        <
label>Manual</label>
                        <include>
DefInfoButtons</include>
                        <
onclick condition="Control.IsVisible(50)">SendClick(1128,5)</onclick>
                        <
onclick>SetProperty(content,1)</onclick>
                        <
onclick>SetFocus(9501)</onclick>        
                        <
visible>!IsEmpty(ListItem.Studio)</visible>
                    </
control>
                    

                    <
control type="button" id="53">
                        <
description>Ano</description>
                        <
label>Ano</label>
                        <include>
DefInfoButtons</include>
                        <
onclick condition="Control.IsVisible(50)">SendClick(1128,5)</onclick>
                        <
onclick>SetProperty(content,2)</onclick>
                        <
onclick>SetFocus(9501)</onclick>        
                        <
visible>!IsEmpty(ListItem.Year)</visible>            
                    </
control

And the content

PHP Code:
<control type="label" id="1">
                    <
visible>Control.IsVisible(50) | [!IsEmpty(Window.Property(content)) + !Container(9501).IsUpdating]</visible>
                    <
left>540</left>
                    <
right>SidePad</right>
                    <
top>260</top>
                    <
description>Header Label</description>
                    <
textcolor>Dark2</textcolor>
                    <
font>Small</font>
                    <
label>$INFO[ListItem.Studio]</label>
                    <include>
Animation.DelayFadeIn</include>
                </
control>
                
        <
control type="label" id="2">
                    <
visible>Control.IsVisible(50) | [!IsEmpty(Window.Property(content)) + !Container(9501).IsUpdating]</visible>
                    <
left>540</left>
                    <
right>SidePad</right>
                    <
top>260</top>
                    <
description>Header Label</description>
                    <
textcolor>Dark2</textcolor>
                    <
font>Small</font>
                    <
label>$INFO[ListItem.Year]</label>
                    <include>
Animation.DelayFadeIn</include>
                </
control

The problem is that, if I click on the button the content appears superimposed over the other. How can I link the different buttons to different content. I Already saw the wiki, but only found this - http://kodi.wiki/view/Built-in_functions..._to_python



Question 2 - I have a button that basically has to start the game that I'm showing the info on the Advanced launcher, How is that done?

[Image: diKePTQ.png]



Question 3 - if I want to use a addon to open an content (example(listItem.manual)), I have to make something like this, correct? this works for every addon? how can I know the parameters of an specific addon?

PHP Code:
<control type="button" id="random">
                        <
label>Manual<label>
                        <
onclick>XBMC.RunScript(script.name.of.the.addonmode=guimediatype=it's pdf but I don't know what to write heredbid=ListItem.manual)</onclick>
                  
                        <
desription>Manual</description>
                        <include>
DefInfoButtons</include>
                    </
control

Thanks in advance for the help
Best Regards

panel container

$
0
0
I have a panel container that has different types of media showing at one time.... I want to set the layout so the image will show only when listitem.dbtype matches that format.... I tried passing it to a string and using string is equal... But if not working .. for visible control... Any ideas.... Container.content doesnt work either I am guessing because it is a media container nothing specific.

And help would be appreciated.

Images queue

$
0
0
I'm trying to make a queue of images on a window.
example
- http://i.imgur.com/SYtvH7t.png
When I'm trying to go right it exits the page and returns to the root page of the info - http://i.imgur.com/diKePTQ.png
How can I solve this
here it is the code

PHP Code:
<control type="group" id="3">
                    <
visible>Control.IsVisible(50) | [String.IsEqual(Window.Property(content),3) + !Container(9501).IsUpdating]</visible>
                    <include>
Animation.DelayFadeIn</include>
                    <
control type="grouplist" >
                    <
top>PosterPad</top>
                    <
left>540</left>
                    <
right>SidePad</right>
                    
                    <
itemgap>16</itemgap>
                    <
onup condition="Control.IsVisible(50)">51</onup>
                    <
onup condition="Control.IsVisible(9501)">9501</onup>
                    <
onup condition="!Control.IsVisible(50) + !Control.IsVisible(9501)">9601</onup>
                    <
ondown condition="!Control.IsVisible(50) + !Control.IsVisible(9501)">9601</ondown>
                    <
orientation>horizontal</orientation>
                    
                    <
control type="group" id="71">
                    <
height>PosterH</height>
                    <
width>PosterH</width>
                            <
control type="image">
                                <
left>0</left>
                                <
top>0</top>
                                <
right>0</right>
                                <
bottom>100</bottom>
                                <
texture border="10">common/nofocus-shadow10.png</texture>
                            </
control>
                            <
control type="image">
                                <
left>10</left>
                                <
top>10</top>
                                <
right>10</right>
                                <
bottom>110</bottom>
                                <
aspectratio scalediffuse="false">scale</aspectratio>
                                <
texture diffuse="diffuse/wall.png" background="true">$INFO[ListItem.Art(map)]</texture>
                            </
control>
                            <
control type="button" id="9584">
                               
                        <
description>Map1</description>
                        <
label>Map1</label>
                        <include>
DefInfoButtons2</include>
                                          
                            </
control>
                           
                        </
control>
                        
                        
                    <
control type="group" id="72">
                    <
height>PosterH</height>
                    <
width>PosterH</width>
                            <
control type="image">
                                <
left>0</left>
                                <
top>0</top>
                                <
right>0</right>
                                <
bottom>100</bottom>
                                <
texture border="10">common/nofocus-shadow10.png</texture>
                            </
control>
                            <
control type="image">
                                <
left>10</left>
                                <
top>10</top>
                                <
right>10</right>
                                <
bottom>110</bottom>
                                <
aspectratio scalediffuse="false">scale</aspectratio>
                                <
texture diffuse="diffuse/wall.png" background="true">$INFO[ListItem.Art(map)]</texture>
                            </
control>
                            <
control type="button" id="5451">
                               
                        <
description>Map2</description>
                        <
label>Map2</label>
                        <include>
DefInfoButtons2</include>
                                          
                            </
control>
                           
                        </
control>
                        
                        <
control type="button" id="73">
                    <
height>PosterH</height>
                    <
width>PosterH</width>
                            <
control type="image">
                                <
left>0</left>
                                <
top>0</top>
                                <
right>0</right>
                                <
bottom>100</bottom>
                                <
texture border="10">common/nofocus-shadow10.png</texture>
                            </
control>
                            <
control type="image">
                                <
left>10</left>
                                <
top>10</top>
                                <
right>10</right>
                                <
bottom>110</bottom>
                                <
aspectratio scalediffuse="false">scale</aspectratio>
                                <
texture diffuse="diffuse/wall.png" background="true">$INFO[ListItem.Art(boxfront)]</texture>
                            </
control>
                            <
control type="group">
                                <
visible>Control.HasFocus(51) | Control.HasFocus(50)</visible>
                                <
control type="image">
                                    <
left>10</left>
                                    <
right>10</right>
                                    <
bottom>0</bottom>
                                    <
height>86</height>
                                    <
texture colordiffuse="$VAR[ColorHighlight]border="5">common/box.png</texture>
                                </
control>
                                <
control type="textbox">
                                    <
left>20</left>
                                    <
right>20</right>
                                    <
centerbottom>43</centerbottom>
                                    <
height>64</height>
                                    <
font>Mini</font>
                                    <
scroll>true</scroll>
                                    <
textcolor>PanelWhite100</textcolor>
                                    <
label>Game</label>
                                    <
aligny>top</aligny>
                                    <
align>center</align>
                                </
control>
                            </
control>
                            <
control type="group">
                                <
visible>!Control.HasFocus(51) + !Control.HasFocus(50)</visible>
                                <
control type="image">
                                    <
left>10</left>
                                    <
right>10</right>
                                    <
bottom>0</bottom>
                                    <
height>86</height>
                                    <
texture colordiffuse="Dark4" border="5">common/box.png</texture>
                                </
control>
                                <
control type="textbox">
                                    <
left>20</left>
                                    <
right>20</right>
                                    <
centerbottom>43</centerbottom>
                                    <
height>64</height>
                                    <
font>Mini</font>
                                    <
scroll>true</scroll>
                                    <
textcolor>Dark2</textcolor>
                                    <
label>Game</label>
                                    <
aligny>top</aligny>
                                    <
align>center</align>
                                </
control>
                            </
control>
                        </
control>
    </
control

PHP Code:
<include name="DefInfoButtons2">
        <
font>Button</font>
        <
textcolor>Dark2</textcolor>
        <
left>10</left>
        <
right>10</right>
        <
bottom>0</bottom>
        <
height>86</height>
        <
onfocus>ClearProperty(content)</onfocus>
        <
texturenofocus colordiffuse="Dark4" border="5">common/box.png</texturenofocus>
        <
texturefocus colordiffuse="$VAR[ColorHighlight]border="5">common/box.png</texturefocus>
        <
alttexturenofocus colordiffuse="Dark4" border="5">common/box.png</alttexturenofocus>
        <
alttexturefocus colordiffuse="$VAR[ColorHighlight]border="5">common/box.png</alttexturefocus>
    </include> 
Hope you can help me
Best regards
Viewing all 1802 articles
Browse latest View live