Kodi Community Forum

Full Version: Number of albums for an artist?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Couldn't find mention of this in the wiki or forum, but is there an infolabel for the number of albums by a selected artist?
Marcel took care of it (and many other special labels):

https://github.com/marcelveldt/script.sk...usic-items
That's great. Cheers.

One thing, though: it doesn't seem to update the count when you add new albums...
You could also load a hidden list with the artist path and use Container(x).NumItems. That would get automatically updated on a db change.
Code:
            <control type="list" id="x">
                <include>HiddenList</include>
                <content>$INFO[Container.FolderPath]$INFO[ListItem.DBID]</content>
            </control>
You're a genius, BigNoid. Works perfectly. The more I can avoid using skin helper service, the better imo.
Nothing against any of the add-ons but I agree DJH the most I can do to avoid my skin relying on someone else's worn the better I feel... Not that my way work 100℅ lol
I would like to show the total number of songs beside each artist in a list in my music library.

I think skin helper has this but doesnt work in lists.

Any other way?

Thanks


.