• 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 16
Skinning for beginners - Foundation skin, skinning tools, and tips
Right, but those are for sort by title/year/etc, not sort direction Huh Seem like there's no infolabel for ascending/descending...
Misread, sorry.

Toggle the sort direction-
Code:
Container.SortDirection

And to display the current sort method -
Code:
$INFO[Control.GetLabel(4)]
Thank you. AFAIU, infolabel for "show all/unwatched" would be GetLabel(10) (or 14), but what are the function? I read "List of built-in functions" including xbmc/interfaces/Builtins.cpp, but didn't find anything that fits. I'm really sorry for my stupidity.
https://github.com/xbmc/xbmc/blob/master...deoNav.cpp
:/ Probably i need to grow up a little for my ideas..
These appearances are very nice, I have never found anything like this before and thanks for the shortcut keys, it becomes very easy with this.
Greetings,

Thanks to some detective work from user Miappa (http://forum.xbmc.org/showthread.php?tid=170839&page=5), It seems pointer.xml on Foundation is causing some random problems - particularly with Gotham builds on Pi.

Code to replace:

Code:
<window id="105">
    <allowoverlay>yes</allowoverlay>

    <controls>

With:

Code:
<window id="105">
    <defaultcontrol>-</defaultcontrol>
    <coordinates>
        <system>1</system>
        <posx>0</posx>
        <posy>0</posy>
    </coordinates>
    
    <controls>
Hi, I posted this in the python dev subforum, but it is primarily a skinning tool to help with xml file development. You may want to add it to the first post under the 'tools' section. It's an xml schema file to help autocomplete xml tags in the right places. Helps a lot with eliminating misspellings, too!

http://forum.xbmc.org/showthread.php?tid=175099

-Jerimiah
Hi,

I'm a former Mediaportal user and just recently switched to XBMC. Mediaportal was lacking the plugins that XBMC has, but the one thing I really liked was the Titan skin that Mediaportal had. I'm currently working on designing Titan skin for my XBMC boxes and noticed that it's not much different from mediaportal as far as the xml code. It's working out pretty nice, but I ran into a snag. I'm trying to display a image next to a program that is currently recording in the List of TV Recordings. I'm using the following code:

PHP Code:
<control type="list" id="13">
      <
description>TV Recordings List</description>
      <
posx>918</posx>
      <
posy>219</posy>
      <
width>910</width>
      <
height>728</height>
      <
onleft>13</onleft>
      <
onright>13</onright>
      <
onup>13</onup>
      <
ondown>13</ondown>
      <
viewtype>list</viewtype>
      <
scrolltime>0</scrolltime>
      <
itemlayout height="56" width="910">
        <
control type="image">
          <
posx>20</posx>
          <
posy>15</posy>
          <
width>40</width>
          <
height>30</height>
          <
aspectratio>keep</aspectratio>
          <
texture fallback="defaultFolder.png">$INFO[ListItem.ChannelName].png</texture>
        </
control>
        <
control type="image">
          <
posx>65</posx>
          <
posy>15</posy>
          <
width>30</width>
          <
height>30</height>
          <
aspectratio>keep</aspectratio>
          <
texture>recording.png</texture>
          <
visible>StringCompare(ListItem.Label,$INFO[PVR.NowRecordingTitle])</visible>
        </
control>
        <
control type="label">
          <
posx>100</posx>
          <
posy>0</posy>
          <
width>500</width>
          <
height>54</height>
          <
font>TitanLight12</font>
          <
textcolor>FFFFFFFF</textcolor>
          <
selectedcolor>FFFFFFFF</selectedcolor>
          <
align>left</align>
          <
aligny>center</aligny>
          <
label>$INFO[ListItem.Label]</label>
        </
control>
        <
control type="label">
          <
posx>910</posx>
          <
posy>0</posy>
          <
width>500</width>
          <
height>54</height>
          <
font>TitanLight12</font>
          <
textcolor>FFFFFFFF</textcolor>
          <
selectedcolor>FFFFFFFF</selectedcolor>
          <
align>right</align>
          <
aligny>center</aligny>
          <
label>$INFO[ListItem.Date]</label>
        </
control>
      </
itemlayout>
      <
focusedlayout height="56" width="910">
        <
control type="image">
          <
posx>0</posx>
          <
posy>0</posy>
          <
width>910</width>
          <
height>54</height>
          <
texture>item_selected_tv.png</texture>
          <
visible>Control.HasFocus(13)</visible>
        </
control>
        <
control type="image">
          <
posx>20</posx>
          <
posy>15</posy>
          <
width>40</width>
          <
height>30</height>
          <
aspectratio>keep</aspectratio>
          <
texture fallback="defaultFolder.png">$INFO[ListItem.ChannelName].png</texture>
        </
control>
        <
control type="image">
          <
posx>65</posx>
          <
posy>15</posy>
          <
width>30</width>
          <
height>30</height>
          <
aspectratio>keep</aspectratio>
          <
texture>recording.png</texture>
          <
visible>StringCompare(ListItem.Label,$INFO[PVR.NowRecordingTitle])</visible>
        </
control>
        <
control type="label">
          <
posx>100</posx>
          <
posy>0</posy>
          <
width>500</width>
          <
height>54</height>
          <
font>TitanLight12</font>
          <
textcolor>FFFFFFFF</textcolor>
          <
selectedcolor>FFFFFFFF</selectedcolor>
          <
align>left</align>
          <
aligny>center</aligny>
          <
label>$INFO[ListItem.Label]</label>
        </
control>
        <
control type="label">
          <
posx>910</posx>
          <
posy>0</posy>
          <
width>500</width>
          <
height>54</height>
          <
font>TitanLight12</font>
          <
textcolor>FFFFFFFF</textcolor>
          <
selectedcolor>FFFFFFFF</selectedcolor>
          <
align>right</align>
          <
aligny>center</aligny>
          <
label>$INFO[ListItem.Date]</label>
        </
control>
      </
focusedlayout>
    </
control
PHP Code:
<visible>StringCompare(ListItem.Label,$INFO[PVR.NowRecordingTitle])</visible

This condition is always returning false. If I do this it works fine:

PHP Code:
<visible>StringCompare(ListItem.Label,Covert Affairs)</visible

It seems stringcompare is not working when the string is an info label.

Is there some other way to acheive what I'm trying to do here?

Thanks
Try
Code:
StringCompare(ListItem.Label,PVR.NowRecordingTitle)
Nope, that doesn't work either Sad
Okay I dont know about that specific infolabel, but stringcompare doesnt use $INFO[foo] as input, only foo.
Do you have any idea on another way I can make an image visible next to a list item only if it is currently recording? I also tried this too:

PHP Code:
<visible>ListItem.IsRecording</visible

Which exists and works in the other PVR list controls in confluence(control 11, 16, etc.), but will not work in the TVRecordings list control (13).

Maybe it is just a Bug in control 13

Or maybe the ArgusTV add-on doesn't tell XBMC if the list item is currently recording
Is there a version of foundation floating around that works for Frodo/Gotham? I know Hitcher has retired, just unable to install this to start tinkering and was hoping someone had an update.
(2013-12-04, 03:07)NitrousXBMC Wrote: Is there a version of foundation floating around that works for Frodo/Gotham? I know Hitcher has retired, just unable to install this to start tinkering and was hoping someone had an update.

Works for me on both. As I recall, I usually just copy and paste/unzip the skin.foundation folder into addons rather than trying to install from zip.
  • 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 16

Logout Mark Read Team Forum Stats Members Help
Skinning for beginners - Foundation skin, skinning tools, and tips10