Info label for total songs of an artist?
#1
Hi

In music section i would like to add a label beside each artist in a list showing total number of songs for that artist.

In home screen able to show total of all songs using

Code:
$INFO[Window(0).Property(Music.SongsCount)]

Any info on total for each artist?

Thanks
Reply
#2
script.skin.helper.service can do this. Window(Home).Property(SkinHelper.Music.SongCount)

Thread - http://forum.kodi.tv/showthread.php?tid=235676
Learning Linux the hard way !!
Reply
#3
(2016-03-20, 21:11)black_eagle Wrote: script.skin.helper.service can do this. Window(Home).Property(SkinHelper.Music.SongCount)

Thread - http://forum.kodi.tv/showthread.php?tid=235676

Thanks for reply

I tried adding line above but no luck. Heres code im trying
Code:
<control type="label">
          <posx>294</posx>
           <posy>1</posy>
           <width>720</width>
           <height>45</height>
            <font>Font_18</font>
            <align>right</align>
             <aligny>center</aligny>
             <include>listcolor</include>
             <label>[COLOR=$VAR[value_headercolor]]$INFO[Window(Home).Property(SkinHelper.Music.SongCount)][/COLOR]</label>
             <visible>Container.Content(artists)</visible>
</control>

Im using the aeon mq 6 skin im not sure it is using skin helper.

i added line

Code:
<import addon="script.skin.helper.service" version="1.0.0"/>

in addon.xml of aeon mq. But still no luck. How can i tell if skin helper is working on skin.

Thanks for any info
Reply
#4
You have to use the skin.helper.service webservice in order to show its infolabels inside lists. I wasn't able to get it to work the one time I tried it, see docs for details.

https://github.com/marcelveldt/script.sk...er.service
Reply

Logout Mark Read Team Forum Stats Members Help
Info label for total songs of an artist?0