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

Defaultcontrol in grouplist working in an unexpected way

$
0
0
Why when I enter the grouplist below for the first time, button with id 201, not 202, is activated?

Code:
<control type="grouplist" id="183">
    <height>DialogBaseItemSize</height>
    <orientation>horizontal</orientation>
    <defaultcontrol force="true">202</defaultcontrol>
    <control type="label" id="200">
        <label>Widok:  </label>
        <width>auto</width>
    </control>
    <control type="button" id="201">
        <label>&lt;</label>
        <onfocus>Container.PreviousViewMode</onfocus>
        <onfocus>SetFocus(202)</onfocus>
        <texturefocus>textures\darkbg.png</texturefocus>
        <texturenofocus>textures\lightbg.png</texturenofocus>
    </control>
    <control type="button" id="202">
        <label>$INFO[Container.Viewmode]</label>
        <onleft>201</onleft>
        <onright>203</onright>
        <width>auto</width>
        <ondown>212</ondown>
        <onup>181</onup>
        <onclick>Container.PreviousViewMode</onclick>
    </control>
    <control type="button" id="203">
        <label>&gt;</label>
        <onfocus>Container.NextViewMode</onfocus>
        <onfocus>SetFocus(202)</onfocus>
        <texturefocus>textures\darkbg.png</texturefocus>
        <texturenofocus>textures\lightbg.png</texturenofocus>
    </control>
</control>

Unknown number of label and picture in List

$
0
0
Hi, I am currently trying to extend an irc addon to support emotes. Right now I am splitting the text and the keywords and replace the keyword with a picture.

The problem is that I can't set the posx tag on the fly to adapt for the different sizes of text. I know that with a groupList the auto align tag would do that for me, be I can't add listitem as the grouplist has no controller.

Is what I am trying to do possible?

Dateadded not working in manually added tv show

$
0
0
Hi all

any help will be greatly appreciated. I am trying to add a new widget to my tv shows in estuary. All i want to do is list recently added tv shows (not episodes). So all i have done is modify the recently_unwatched_episodes.xsp file to use 'tv shows' as the type and sort via date added.

I have a video library node setup similar which works but i want it as a widget so the new tv shows are on the tv show home page (if thats what you call it?)

See below for the latest i have copied into the skins playlist folder. For some reason the widget does not sort the shows properly. As far as i can tell this must be a bug as the recently added movies sorts properly and if i sort my entire collection of tv shows via dateadded it works fine.


any ideas? Huh


<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
<name>recently added TV shows</name>
<match>all</match>

<limit>15</limit>
<order direction="ascending">dateadded</order>
</smartplaylist>

ShowTimerRule button without prompting

$
0
0
I've been working on a custom skin based on estuary, and in particular am looking at a few changes to the PVRGuide

As part of this I would like to know whether it's possible to have a custom button that triggers the ShowTimerRule action, and automatically clicks OK to submit the timer - i.e. Create the timer with the default values.

I am on Kodi 17.1 with pvr.hts and tvheadend.

Currently I have mapped a remote button to ShowTimerRule which works just fine, but I never change any details on the popup window, so am wondering if there's any way to silently add the timer with the default values, rather than show the intermediary popup window.

So far I haven't found any way to do this in the skin / python scripting / etc, so am running out of ideas.

I am wondering if there is some other action like AddTimerRule, which just goes ahead and adds the timer rule with default values populated?

Skin debug mode bug

$
0
0
I like to use the skin.debug mode Skin.ToggleDebug() via my keymap but it has been broken in Kodi 18 nightlies for a while now. Instead of showing the window name it shows what appear to be random characters (or no name at all). Looking at builds I have installed, it works in git:20170517 and is broken in git:20170710 (these are win32 builds). Not sure where to look for a commit that broke this. I find having the window name displayed is helpful, so I hope this wasn't intended.

scott s.
.

ActivateWindowAndFocus - Subtitles

$
0
0
I want a button that will open the player settings window and then automatically move focus to control 65 (languages to download subtitles for).

I tried ActivateWindowAndFocus(playersettings,65), ActivateWindowAndFocus(playersettings,96,65) but they don't do anything but opening the window.

ActivateWindow(playersettings,language) gets me halfway there, but I need to get it to the specific button.

Is there something I am missing?

Cheers

Strip String - How to

$
0
0
What is the best way to strip a sting with a particular character. Kodi database shows multiple country seperated by forward slash
United Kingdom / United States of America

I wanted to get only the first country into the variable . Any help will be appreciated

Enigma

Mouse event to close "Teletext"?

$
0
0
Did start to play around with possible Mousesupport..

what i try to achive was to close teletext via "close-Button" but didnt finde a way to achive this.

What i try so far:
- Button in "videofullscreen.xml" with a visible condition
Code:
<visible>Window.IsVisible(PVROSDTeletext)</visible>
which didnt work (Button was underneath the Teletext and didnt get focus by "mouseover".)

- Custom Window with a zorder 2
Code:
<zorder>2</zorder>
visible ->
Code:
<visible>Window.IsVisible(PVROSDTeletext)</visible>
didnt work.


is there currently a solution to achive what im after (close teletext via mousebutton)?
-> or shuld one of the aboth solutions work nd i simply did a mistake somhowe?

regards

Codec Skin

$
0
0
Anyone know if the codec style is always handled by the active skin or if there are codec specific mods that can be used to override it?

Thanks!

Tag Heuer Monaco Calibre 12 LS cheap price for sale

$
0
0
The TAG Heuer Monaco caliber is really a watch intended for individuals who wish to celebrate class with a Breitling Chronomat Replica Watches. It features a simple design that work well with many outfits so which makes it an ideal watch out for gentlemen who would like to have something they might put on all day long.

Ideas have two Monaco Calibre 12 LS, one that's replica and yet another an authentic, put alongside to ensure that we are able to begin to see the variations together. It appears there are five variations between your watches.

The very first primary difference that people can notice when considering these beautiful watches may be the writing on top left side from the watch. Around the original see it states “Automatic Chronograph” during the replica watch you are able to only begin to see the writing “Chronograph”. The following difference is around the left chronograph that appears to possess different figures compared to one around the original watch. Exactly the same happens using the chronograph at the base that has figures 10, 15, 20, and so forth rather of 01, 02, 03 and so forth like around the original watch. Additionally, you will observe that there's several around the right area of the watch, at 3 o clock. Around the original watch the figures are 00, 15 and 30 as the replica watch has figures 00, 06 and 12. Another difference and also the last distinction between both of these watches is underneath the figures we pointed out formerly, available at 3 o’clock. This time around there's another group of figures which are 30, 45 and 60 during the replica watch we've figures 12, 18 and 24. However, this last difference might not be that noticeable as couple of would really read individuals figures when considering a wrist watch.

Skin settings no longer available after migration from Kodi 15

$
0
0
Hi all,

I'm trying to fix my Kodi 15 skin to make it work with Kodi 17.
An issue I'm having is that I have a 'resources' folder with 'settings.xml' which somehow is no longer 'seen' on Kodi 17.
(Selecting my skin in the addon section displays no 'settings' button any longer.)

Somehow I assume that it is not allowed to use these settings.xml for skin settings. (I see this construction being used with all other types of addons.)

I used strings.xml which I replaces with .po files, but that does not change the effect.
Also I used to have a shortcut; "Addon.OpenSettings(skin.my_skin)" which now stalls...

Does anyone know if there are any changed requirements here?

Thanks!
Jeroen

a few questions about list

$
0
0
Hi all Smile

a few questions..


1. i want to change horizontal list order from ascending to descending
for example in DialogPVRGuideOSD.xml i have the list id 11 that shows channel guide by time:
05:00 , 06:00 , 07:00 . . .
i need :
. . .07:00, 06:00, 05:00

2. i want to view epggrid on another window but in different look. how can i take the list from MyPvrGuide.xml
to another window i.e (Includes_Window.xml)

Thanks .Cool

are or can windowopen / windowclose etc be opened up

$
0
0
ATM there just part of visible/animation conditions, or am I wrong?
I'm guessing via python they are hackable, but XML not.

official skin and add-on license?

$
0
0
Just a simple question can I get a skin and add-on into the offical repo using this license?

Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)

I am starting from scratch on a skin and add-on that is required to make the skin work properly. And am tired of ideas being ripped before release.

So in hopes this will stop some of it.

VideoPlayer.VideoAspect broken ?

$
0
0
Hi,

Someone have this issue ? $INFO[VideoPlayer.VideoAspect] seem to be broken in latest Kodi 18 builds. It return nothing.

$INFO[ListItem.VideoAspect] is working on library.

Question for system condition

$
0
0
Hi,

Is anyone have an idea to use condition for a selected skin in settings ? Possible ?

I need a condition when this skin is selected, for this setting (in guisettings.xml) : <setting id="lookandfeel.skin">skin.estuary.modv2</setting>

For a specified language I use : String.Contains(System.Language,French) but for skin I have no idea.

Thanks.

SettingsCategory grouplist 3

$
0
0
Is there a way to get the focused item of this list so I can use it for a trigger for a animation?

Can i change Kodi software logo as it is open source

$
0
0
hello gents,

it is not that we want to take other's people work and name it to our name no but we want to re-brand kodi to our logo but keep "Powered by Kodi" as slogan under our logo so we want to check if this can be done while Kodi is an open source application.

we want this to be official deal with Kodi team so please someone to contact us.

script.colorbox

$
0
0
Blurb, I will try support here when I can.
The script will change as more users use it.
I have to say a big 'THANK YOU' to all the guys who share code, it saves me a lot of time having to code from scratch!!
Please see my GitHub repo for sources and check out the people who write them!

2.0.4 (version my repo)
  • Own multiple containers can be defined (cannot be changed after init atm)
  • Ability to ask for a set of window propertys and then set them randomly
  • Three containers (7972 7973 7974) to strip various formatting codes from strings ([CR] /r /t etc.)
  • RunScript support improved
  • LUMAImageColor* and BWImageColor* will give value 0-256 based on main color (luminosity and contrast)

Currently included:
  • Various effects including pixelate, posterize, blur, pixelshifts, distortions, two tone and more (see default.py 'ColorBox_function_map')
  • Episodes watched percentage for tvshows (Show_Percentage)
  • Auto transition between colors for daemon types
  • ListItem.Art(fanart) auto processed if set (cfa_daemon_set)
  • Change various settings via NINE_manual_set, ie, pixelsize, quality (see default.py 'ColorBox_settings_map')
  • Manual types eg. 'RunScript(script.colorbox,info=blur,id=PICTURE_NAME,prefix=mypic1,blursize=1,qu​ality=8)'

See skin.adonic for implementations (in Kodi Repo)
My repo has latest versions [adonic for Leia only due to DialogAddonSettings.xml] https://github.com/BADMS/repository.BADM...-1.0.0.zip

[Image: icon.png]
https://github.com/BADMS/script.colorbox

- colorbox 2.0.4 adds 'dataglitch' just a simple rgb band shifter for now
- colorbox 2.0.3 is on my repo with a little (crucial) bugfix

Animation conditional on previous controls focus??

$
0
0
Is it possible to have an animation occur based on which previous control had the focus or is to get the focus?

For example an image will slide up when control(2) receives focus from control(1), but will slide down when control(2) receives focus from control(3).
However it will then slide right when control(2)receives focus from control(4) and then left when control(2) gives focus to control(4).
Viewing all 1817 articles
Browse latest View live