Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1803

v17 - Album tracklist in MusicVisualisation.xml

$
0
0
I'm wondering if it's possible to have the tracklist from a music view display the same info on the back of a jewel box image in a music player layout. I'm trying to use the following...
Code:
<!--Tracklists-->
<include content="Tracklp">
    <param name="ordert">0</param>
    <param name="fontt">bcd0</param>
</include>
 <include content="Tracklp">
    <param name="ordert">1</param>
    <param name="fontt">bcd1</param>
</include>
<include content="Tracklp">
    <param name="ordert">2</param>
    <param name="fontt">bcd2</param>
</include>
<include content="Tracklp">
    <param name="ordert">3</param>
    <param name="fontt">bcd3</param>
</include>
<include content="Tracklp">
    <param name="ordert">4</param>
    <param name="fontt">bcd4</param>
</include>
<include content="Tracklp">
    <param name="ordert">5</param>
    <param name="fontt">bcd5</param>
</include>
<include content="Tracklp">
    <param name="ordert">6</param>
    <param name="fontt">bcd6</param>
</include>
<include content="Tracklp">
    <param name="ordert">7</param>
    <param name="fontt">bcd7</param>
</include>
<include content="Tracklp">
    <param name="ordert">8</param>
    <param name="fontt">bcd8</param>
</include>
<include content="Tracklp">
    <param name="ordert">9</param>
    <param name="fontt">bcd9</param>
</include>

Here is the include from IncludesMusic.xml...
Code:
<include name="Tracklp">
        <param name="ordert" />
        <param name="fontt" />
        <definition>
            <control type="textbox">
                <left>3</left>
                <top>127</top>
                <width>355</width>
                <height>416</height>
                <align>left</align>
                <aligny>top</aligny>
                <textcolor>ffd4d4d4</textcolor>
                <shadowcolor>black</shadowcolor>
                <visible>String.EndsWith(ListItem.DBID,$PARAM[ordert]) + String.IsEqual(skin.string(vis_layout),style3D)</visible>
                <font>$PARAM[fontt]</font>
                <label>$INFO[Window(Home).Property(SkinHelper.ListItem.Tracks.Formatted)][CR][CR]      $LOCALIZE[180]: $INFO[Window(home).Property(SkinHelper.ListItem.Duration)]</label>
            </control>
        </definition>
    </include>

Thanks in advance for taking a look.

Viewing all articles
Browse latest Browse all 1803

Trending Articles