Question of Time
#1
Hi there,
I'm thinking of making an addon for xmbc and the main question is if there's a method to get the actual position in time of the currently playing media.

Something like Playback.getPostion() that returns the current playing time in miliseconds.

I did not found any similar in the List of built-in functions section that's why I'm asking here.

Thanks in advance: WD32
Reply
#2
moved to correct section.

i doubt it's possible to get it to the millisecond. perhaps some one else has a suggestion
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#3
sure you can. the xbmc.Player class has a getTime() which returns position in double precision.
Reply
#4
ah right

http://mirrors.xbmc.org/docs/python-docs...er-getTime
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply

Logout Mark Read Team Forum Stats Members Help
Question of Time0