Kodi Community Forum
How can I get Tracks and Album Description to both appear? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: How can I get Tracks and Album Description to both appear? (/showthread.php?tid=95370)



How can I get Tracks and Album Description to both appear? - igotdvds - 2011-02-26

How can I get the highlighted sections to appear at the same time. There are no visible conditions that I can find. It appears that when the button is pressed it makes the sections become visible. Can I have them both appear and remove the button?

Image

-------------------------

Image


- Hitcher - 2011-02-26

It's based on the toggle button (5) so it's not possible yet and besides the track listing doesn't actually represent the songs you physically have it's just the info from wherever XBMC scraped it.


- Hitcher - 2011-02-26

Scrap that post, it is possible as I just found out.


Make a default, hidden button that gets focused first-

PHP Code:
<control type="button" id="999">
    <
onfocus>SendClick(2001,5)</onfocus>
    <
onfocus>SendClick(2001,5)</onfocus>
    <
onfocus>YOUR_DEFAULT_CONTROL</onfocus>
</
control

And then use a list filled with the container 50's info -

PHP Code:
<control type="label">
    ...
    <
label>$INFO[Container(50).ListItem(0).Label]</label>
</
control>
<
control type="label">
    ...
    <
label>$INFO[Container(50).ListItem(1).Label]</label>
</
control

And Bob's your uncle.


- igotdvds - 2011-02-26

Hitcher Wrote:Scrap that post, it is possible as I just found out.


Make a default, hidden button that gets focused first-

PHP Code:
<control type="button" id="999">
    <
onfocus>SendClick(2001,5)</onfocus>
    <
onfocus>SendClick(2001,5)</onfocus>
    <
onfocus>YOUR_DEFAULT_CONTROL</onfocus>
</
control

And then use a list filled with the container 50's info -

PHP Code:
<control type="label">
    ...
    <
label>$INFO[Container(50).ListItem(0).Label]</label>
</
control>
<
control type="label">
    ...
    <
label>$INFO[Container(50).ListItem(1).Label]</label>
</
control

And Bob's your uncle.


The labels :

<label>$INFO[Container(50).ListItem(0).Label]</label>

Arent pulling any info, they are blank. ??


- ronie - 2011-02-26

igotdvds Wrote:The labels :

<label>$INFO[Container(50).ListItem(0).Label]</label>

Arent pulling any info, they are blank. ??

why not use 1 sendclick so you don't have to create the list yourself?

for the album review, remove the default textbox with id="4"
and create a new one with $INFO[ListItem.Property(Album_Description)]


- igotdvds - 2011-02-26

ronie Wrote:why not use 1 sendclick so you don't have to create the list yourself?

for the album review, remove the default textbox with id="4"
and create a new one with $INFO[ListItem.Property(Album_Description)]

Thanks Ronie. Hitcher got it right before you posted. Thanks to both of you. Smile