• 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 49
[FRODO release] Skin Widgets
Strange, it's not populating the list for me. I don't have to call the add-on anywhere as it is a service right?
Reply
You sure you set Title as property and not as label?
<item>
<label>$INFO[Window(Home).Property(RecentEpisode.1.Title)]</label>
<property name="Title">$INFO[Window(Home).Property(RecentEpisode.1.Title)]</property>
</item>

<control type="label">
<label>$INFO[Container(8001).ListItem.Label] </label>
<label>$INFO[Container(8001).ListItem.Property(Title)] </label>
</control>
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
What's being used as a label is step 2, my first problem is that the container itself is not being populated with movies or shows so there are no items to set a label for.
Reply
Did you use Window(Home) in the content that you want your list populated with?
Code:
<content>
    <item>
        <label>$INFO[Window(Home).Property(RecentEpisode.1.Title)]</label>
        <property name="EpisodeNumber">$INFO[Window(Home).Property(RecentEpisode.1.EpisodeNo)]</property>
    </item>
    <item>
        <label>$INFO[Window(Home).Property(RecentEpisode.2.Title)]</label>
        <property name="EpisodeNumber">$INFO[Window(Home).Property(RecentEpisode.2.EpisodeNo)]</property>
    </item>
<content>
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
(2012-11-09, 13:52)Jeroen Wrote: What's being used as a label is step 2, my first problem is that the container itself is not being populated with movies or shows so there are no items to set a label for.

Well, this never worked, I don't know how you did it... maybe you use something else and not watchlist? You have to fill the lists manually by adding items.

So, do this:
PHP Code:
<control type="list">
    [...]
    <
itemlayout>
        <
control type="label">
            [...]
            <
label>$INFO[ListItem.Label]</label>
            <
label2>$INFO[ListItem.Property(Year)]</label2>
        </
control>
    </
itemlayout>
    <
focusedlayout>
        <
control type="label">
            [...]
            <
label>$INFO[ListItem.Label]</label>
            <
label2>$INFO[ListItem.Property(Year)]</label2>
        </
control>
    </
focusedlayout>
    <
content>
        <
item id="1">
            <
label>$INFO[Window(Home).Property(RecentMovie.1.Title)]</label>
            <
property name="Year">$INFO[Window(Home).Property(RecentMovie.1.Year)]</property>
            <
onclick>$INFO[Window(Home).Property(RecentMovie.1.Play)]</onclick>
        </
item>
        [...]
    </
content>
</
control
Image
Reply
How to see if a property is empty?
I wanted to show the title if there was no logo.
But
Code:
<visible>IsEmpty(Container(8001).ListItem.Property(Logo))</visible>
seems to always be true, even if the logo is visible.

Hmm, looks like it's maybe something else. That the logos were there, but some were not showing (yet)?
Yeah, that was it. Coming from a clean library i had to play at least 1 video before logos showed up.

-edit- part moved to AD thread
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
@Martijn...

Just switched Welo over to the widget, and after a change or two all worked a treat. Cool

Many thanks for your hard work. Wink
Reply
It has definitely worked, and with watchlist Smile


edit: nvm, I don't know my own code apparently ;-P
Reply
Is there a reason to use Recent* over Latest*? Are the built-in recently added items in XBMC going away?
Reply
You can hide watched with this.
Reply
(2012-11-10, 00:01)Hitcher Wrote: You can hide watched with this.

Ah, I see. Good enough reason to use it then. Going forward, are you using this exclusively in your skins, or are you planning to support both?
Reply
I'm using this for the 'watchlist' stuff and XBMC for 'recent' stuff because I like to use 'info' on them. Having said that I'm using it exclusively on Alaska HD which isn't even released yet.
Reply
Hmm.. I think I might just use it exclusively for now. Being able to use info in the items directly from the list is nifty, but it doesn't work on random/watchlist items, so I think the inconsistency might prompt complaints.
Reply
(2012-11-06, 21:33)Martijn Wrote:
PHP Code:
<onclick>$INFO[Window(Home).Property(RecommendedMovie.4.Play)]</onclick

This doesn't work for me at all. Here's the log. Happens on OS X and Windows.
Image
Reply
(2012-11-13, 00:46)`Black Wrote:
(2012-11-06, 21:33)Martijn Wrote:
PHP Code:
<onclick>$INFO[Window(Home).Property(RecommendedMovie.4.Play)]</onclick

This doesn't work for me at all. Here's the log. Happens on OS X and Windows.

log says you're using PlayMedia()

Quote:23:38:01 T:140735126258048 DEBUG: ExecuteXBMCAction : Translating PlayMedia($INFO[Container(3022).ListItem.Property(Play)])
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
  • 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 49

Logout Mark Read Team Forum Stats Members Help
[FRODO release] Skin Widgets8