2021-07-07, 22:56
Hello, I would like to know how to display the total duration of all the tv shows or movies. And if possible the duration of all the watched movies and tv shows.
Thanks
Thanks
xml:<control type="label">
<description>Container Duration Label</description>
<right>40</right>
<top>32r</top>
<width>500</width>
<height>20</height>
<font>font12</font>
<textcolor>grey</textcolor>
<scroll>false</scroll>
<align>right</align>
<aligny>center</aligny>
<label>$INFO[Container.TotalTime,$LOCALIZE[31009] (,)]</label>
<include>Window_OpenClose_Animation</include>
</control>
(2021-07-18, 22:47)Bungee_G Wrote: I found in a thread, something that @mardukL said (the link : 352245 (thread) ) but I don't know if it is possible with what he said and how do do it in the estuary skin.
Thanks
(2021-07-22, 20:39)mardukL Wrote:Okay thanks, I tought it would be something similar for movies/tv shows info... I already know these but the problem is that I want to display the total duration of the movies in the home screen so it is not the current container... And as you can see, in the home screen you can already display the number of unwatched/watched items : https://kodi.wiki/view/InfoLabels#Window with Window(Home).Property(key) but not the total duration.(2021-07-18, 22:47)Bungee_G Wrote: I found in a thread, something that @mardukL said (the link : 352245 (thread) ) but I don't know if it is possible with what he said and how do do it in the estuary skin.
Thanks
The thread was related to misicinfo...
May that is what you lokking for
https://kodi.wiki/view/InfoLabels#Container
Container.Totaltime Returns the total time of all items in the current container
Container.TotalWatched Returns the number of watched items in the current container
Container.TotalUnWatched Returns the number of unwatched items in the current container
(2021-07-24, 22:05)Bungee_G Wrote: So it's not possible, is it ? @mardukL
(2021-07-25, 14:40)mardukL Wrote:Okay thanks for your help !(2021-07-24, 22:05)Bungee_G Wrote: So it's not possible, is it ? @mardukL
Yes, i doubt.
also depening on library/numitems in specific container it'll take an amount of time to 'count' the values (for 1 content container alone).
So i for myself got no idea then.