2018-01-04, 08:18
Hi,
I am using following code in my addon with its own WindowXML:
This works fine in Kodi Krypton and below.
In Kodi Leia it only works if I specify a container id like this:
As there is more than one view this code only works when the view with id 50 is selected.
So I tried this:
This also works only in Kodi Krypton and below.
What can I do to show the number of items in Kodi Leia?
Regards
Malte
I am using following code in my addon with its own WindowXML:
Code:
<label>($INFO[Container.NumItems]) Items - Page ($INFO[Container.CurrentPage]/$INFO[Container.NumPages])</label>
This works fine in Kodi Krypton and below.
In Kodi Leia it only works if I specify a container id like this:
Code:
Container(50).NumItems
As there is more than one view this code only works when the view with id 50 is selected.
So I tried this:
Code:
Container(System.CurrentControlID).NumItems
This also works only in Kodi Krypton and below.
What can I do to show the number of items in Kodi Leia?
Regards
Malte