Kodi Community Forum

Full Version: How far have the movie play
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
(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
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.
(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