2023-11-17, 02:22
@Andrea1998
There is no point to having an EndTime property because it is not a static value.
It would always be wrong because it would be the EndTime based upon whenever the item was cached, not the current end time.
To have the correct value would require constantly recaching/updating the item details every second, which is obviously a bad idea.
If you want to use Kodi's calculated infolabels, use the container method for the service monitor
https://github.com/jurialmunkey/plugin.v...ner-method
Then you can access all normal infolabels and Kodi will update Container(99950).ListItem.EndTime based upon duration.
There is no point to having an EndTime property because it is not a static value.
It would always be wrong because it would be the EndTime based upon whenever the item was cached, not the current end time.
To have the correct value would require constantly recaching/updating the item details every second, which is obviously a bad idea.
If you want to use Kodi's calculated infolabels, use the container method for the service monitor
https://github.com/jurialmunkey/plugin.v...ner-method
Then you can access all normal infolabels and Kodi will update Container(99950).ListItem.EndTime based upon duration.