How far have the movie play
#1
Hi I trying to understand the duration in Player.GetItem what kind of measurements it does.
Is duration in sec, ms or even frame?

I just trying to get some info how far the movie have play.
Use now: Plex
Testing: Kodi
Running: Xiaomi Mi Box S 4K
Reply
#2
(2018-01-25, 22:41)cazz Wrote: Is duration in sec, ms or even frame?
Seconds, usually int on some methods it can be float for more precision.

jonib
XBMC2, EventGhost plugin. Image
Reply
#3
Thanks for the replay but I think the duration is the time for the whole serie episode or the movie.
Not time where it is in the movie/serie episode.
Use now: Plex
Testing: Kodi
Running: Xiaomi Mi Box S 4K
Reply
#4
(2018-01-26, 23:25)cazz Wrote: Thanks for the replay but I think the duration is the time for the whole serie episode or the movie.
Yes
Quote:Not time where it is in the movie/serie episode.
Looks like you need to use "Player.GetProperties" with "percentage" or "time" to get where in the video the player is currently.

jonib
XBMC2, EventGhost plugin. Image
Reply

Logout Mark Read Team Forum Stats Members Help
How far have the movie play0