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

DialogKeyboard.xml - What are HZLIST (id 314) and HZCODE (id 313) ?

$
0
0
Hey there,

while reworking the Confluence "DialogKeyboard.xml" i noticed HZLIST (id 314) and HZCODE (id 313).
Can anyone explain in which situations they are visible and what they are about?

Did not find any info.

Thanks!

Detect limited power-option SBC machines for conditional visual elements.

$
0
0
Hi,

I'm looking to alter a skin so that I can add a sleep timer that will send CEC command to a TV to turn it off, and that part I'm okay with. I'd rather shut off the TV rather than the machine running Kodi itself because many Single Board Computers like Raspberry Pi and Odroid C2 and the like require manual intervention in the form of a physical power switch or unplugging-plugging of a power source. There is also no "suspend" mode for these machines. So being able to shut off the display itself via CEC is handy.

The problem is that there's no easy way I can tell to determine if you're running one of these machines through the skin in order to create a conditional sleep timer or display power control. Using "system.platform.linux.raspberrypi" only applies to raspberry pi and not Odroid C1/C2, etc. 

As a relative new to skinning, am I just unaware of a way of getting the skin engine to detect something beyond the broad platform categories, or is there something I'm missing?

And if there is no way, should I then create a UI condition and request it be pulled into the main git? This conditional control could then be pulled into skins by skinners looking to spread support for this quick-growing group of platforms.

Help me tweak Estuary to make it blazing fast and light

$
0
0
Hi,

I just started to tweak Estuary skin, and make a version for low-power device such as my old RPI.
I'll try to remove not necessary animation (such as focused item zoom for example), and maybe display less widgets row by default.

So I'd like to know what are the most demanding render parts , and where to put my efforts:
  • animations (slide, zoom, transition, fade...)
  • image composition (use buttons/overlays for border vs plain color, use alpha and gradient, ....)
  • mouse support

I spent some hours this afternoon to read the code, but a lot of stuffs seems complicated for me.
For example, to display focused poster item border, it's a combinaison of texture+border+bordertexture! 
If I remove all animations, would it be more simple and less time consumming to just draw a "plain color rectangle" before the image?

I'll try to read the "skinning manual" tonight, and find answers.
But I'd appreciate to have advice about the way to go to 'reduce' estuary skin.
Thanks

Fixed Focus for multiple widgets on the home page

$
0
0
Hello Friends I am trying to modify The Titan BETA skin. I posted some questions and a feature request on the Titan page but am not getting any answers thought I would include you guys see if you can help me come up with a code tweak. What I want to do is create a fixed focus for all widgets on the home page. I have the widgets set to fixed focus to keep the highlighted tile all the way to the left is it possible to have the focused tile fixed to to top row when there are multiple widgets on the home page as well this is how Netflix behaves it has 2 rows the highlighted tile stays stationary on the first tile on the top row. The lower row just moves up to the top row when pushing down and so on and so forth. It's a minor difference but trying to set it up to work as close as possible to the Android Tv version of Netflix. I'm not a coder but can fumble my way through the files and change or add code as instructed so any help from the pros would be much appreciated thanks.

widget movement

$
0
0
is there a way to change the behavior of the way widgets move . I would like to make the widgets a fixed list, where the widgets would move around and into the focused position on both axis ..... this has stumped me for the last 8 months, any help and i would be eternally great full.

thanks in advanced

Problem with

$
0
0
Hi all,

To explain my problem, i figure it might be easier to just explain the exact steps involved:

1. From my Home window, i open a custom window with id 1100.
2. In this window my default control is 3000, when i press right, i set focus to a control with id 3100.
3. When i press back, while being focused on control 3100, the window closes - and i am back to the home window.

My problem is, i want <onback> for control 3100, to change focus to 3000. But as you see clicking back goes to the previous window.

Do any of you know how to solve this?

NextDuration

$
0
0
Am I right in thinking that NextDuration is not currently available as a ListItem command? Who do I need to ask to get it added?

List Control Sort ?

$
0
0
Hello

i have an dynamic list filled by an phyton code

it will add items to <content></content>

now my question:
is there any function or something to Sort the whole <content> by name ? or something?

Best Regards

Add a 2nd Asian Tv show in the main menu

$
0
0
Hi I want to add a Asian TV shows menu to a skin. With the recently added, unwatched widgets for normal tv shows and asian shows being seperate. How do I go about it. Or is a mod available to do it easily.

Container Scroll's when opening dialog or window - Scroll/Focused Item Bug?

$
0
0
This has been around in Leia for some time. This is not an issue with krypton. 

For example - opening the dialog select for language selection, if the default focus is past the first page the container scroll's to the focused item. The same for library views.

In Estuary it is not noticeable.

In Confluence or Rapier skin's it can easily be seen.

A video of the issue in action
https://youtu.be/3MfDCJrJfF8


Setting <Scrolltime> to 0 stops this issue. Also Container(x).CurrentPage and Container(x).NumItems are not adding up.

There really is something strange with Leia with the scroll position and the focused item in containers.

preloaditems condition?

$
0
0
Hi

I'm using a movie list view that looks like the following (see below) showing 3 movie cases at a time.

I use preloaditems set to 2 to speed up the scrolling. This works fine until i enter a movieset that contains 5 movies, then the scrolling has a huge gap.

Setting preloaditems to 0 solves this.

My question is can i set up a condition to allow preloaditems set to 2 and only disable it when list has 5 items.

I tried the following but no luck
Code:
<preloaditems condition="!Container().NumItems = 5">2</preloaditems>

Thanks for any info

Image

Use an image instead of text for menu item

$
0
0
Looking for a way to make it so that for example "Music", instead of being written in text, displays a .png image of a note with "Music" written underneath.

Stop videowindow trailer when moving to next movie?

$
0
0
Hi

I have a play trailer button set up when clicked brings up a videowindow showing trailer for the movie.

I want the trailer to stop playing once i scroll to the next movie on the list. Tried adding playercontrol(stop) & Action(stop) to ondown and onup in list but not having much luck.

Thanks for any info
Code:
<!-- Trailer Button -->
            <control type="button" id="11111">
                  <left>1100</left>
                  <top>615</top>
                  <width>241</width>
                  <height>84</height>
                  <texturefocus colordiffuse="$VAR[value_colorratingstars]">trailer_button.png</texturefocus>
                  <texturenofocus>trailer_button.png</texturenofocus>
                  <onclick>PlayMedia($INFO[ListItem.Path]$INFO[ListItem.Foldername]-trailer.mp4,1)</onclick>
                  <onup>51</onup>
                  <ondown>7000</ondown>
                  <onleft>7000</onleft>
                  <onright>51</onright>
            </control>

<control type="group">
                <left>358</left>
                <top>-30</top>
                <visible>Player.HasVideo</visible>
                <control type="videowindow">
                    <left>420</left>
                    <top>20</top>
                    <width>1080</width>
                    <height>540</height>
                </control>
            </control>

Cropped vertical text

$
0
0
Hello there,
I'm currently trying to write an Estouchy mod for Android, basically a vertical UI with a bigger font. It goes slowly because....I'm a total noob trying to understand how it works.

My problem is, if the horizontal text size doesn't fit the text box size, it will be cropped. So, even if it fit vertically, the text is cropped (also I'm not a native english, as you can see Big Grin ). 

Cropped text

I would like to know if it comes from Kodi itself and if it can be corrected, by an update or by changing the method the text size is calculated.
I just increased the text box size for the moment, but I'd like to avoid making gigantic buttons for every setting.

Increased textbox size

Well , thanks in advance for the help.

Is a diffuse effect "heavy" on the CPU / GPU? + General tips to making lighter skin

$
0
0
Hi everyone,

I am currently making a very lightweight skin, mainly designed for low power devices (raspberry pi etc.) - Do any of you know if using a diffuse effect on a texture (to give images rounded corners etc.), is considered a "heavy" job in terms of CPU / GPU for Kodi - or shouldn't i worry about this?

Any other hints in terms of making a lightweight skin is very appreciated!

Thanks, and Merry Christmas Wink

How to add a button Language in home menu to choose directely the language of kodi ?

$
0
0
Help!

I want to make a language button in the kodi Home menu bar that allows you to choose a language directly, ie which displays the modal window of the languages ​​to choose. I don't know how to point directly in setting-interface-regional-language?

skin for 9:16 (1080x1920) screen

$
0
0
Hi, is there a skin for 9:16 (1080x1920) screens?
I find skins for horizontal screens but no for vertical screens

sample image:
Image

Estuary (Modified) - Need help adding a "Show More" button.

$
0
0
Greetings!

I've made some modifications to Estuary, which basically removes the default "random movies" section on the home screen, and instead adds categories of random movies, so one section shows random action/adventure movies, while another section shows random horror movies. I've got all of that working as I would like, however, I would like to add a "Show More" button at the end of each group of movies, that would open a new window with all movies that fit the criteria.

In other words, for example, in the "Random Action/Adventure" movies category, after it lists 25 random action/adventure movies, I would like a button after the last movie that says "Show More", and if clicked on, would open the results for all movies that fit the action/adventure category. 

I have everything working as far as displaying the random movies for each category I've created on the home page, but I haven't been able to figure out what I need to do to add a "Show More" button after the last movie in each category on the home page.

I know it's the WidgetListPoster section I need to modify in the Includes_Home.xml file (as well as passing the values for the playlists from the Home.xml file), but that's as far as I've gotten without stumping myself!

Thanks for any tips, pointers, or assistance anyone can offer!
-George

Play directly all songs from an artist while browsing?

$
0
0
Is there any way to play directly all songs from an artist while browsing? I know that I can always hit "C" and select "Play", but I mean just pressing <ENTER> on an artist and not to get the list of albums but to get songs from that artist playing right away... Maybe some kind of <onclick> order in the container?

Thanks!

VS Code - Kodi Skin Reloader

$
0
0
For anybody who uses VS Code as your editor of choice for skinning, all 2 of us Smile then this extension will reload Kodi's skin on every file save. Grab it from the extension marketplace.

-update: Ability to set username and password for secure access to Kodi's web serve. 

Image
Viewing all 1801 articles
Browse latest View live