Kodi Community Forum

Full Version: Movie list position value?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I'm looking if theres a boolean condition to display the position value of a movie while browsing down the list.

E.g. if i have 400 movies. would like it to show 137/400 when im on the 137th movie down the list.

I'm using $info[window(0).property(movies.count)] for movies count

Not sure on code for position. I'm using wraplist.

Thanks for any info Smile
Container(id).CurrentItem
(2015-08-25, 16:56)Hitcher Wrote: [ -> ]Container(id).CurrentItem

Thanks Hitcher Smile
You can also use this instead of your current item info you mentioned before:
Container().NumItems
(Dont fill the id, leave it blank)

so something like:
$INFO[Container().CurrentItem] / $INFO[Container().NumItems]
Will be more global and will work in every screen (pvr,movies,addons etc..)