Hey folks,
I am trying to start an audio file directly at a specific timestamp. I am doing it like this in two steps:
But the call to seekTime is ignored.
It works when I add a small pause before calling seekTime:
But we all know this is ugly. Any idea how to start playing at a timestamp without such a hack?
Thanks in advance!
I am trying to start an audio file directly at a specific timestamp. I am doing it like this in two steps:
Code:
xbmc.Player().play('d:\\test.mp3')
xbmc.Player().seekTime(20)
But the call to seekTime is ignored.
It works when I add a small pause before calling seekTime:
Code:
xbmc.Player().play('d:\\test.mp3')
time.sleep(1)
xbmc.Player().seekTime(20)
But we all know this is ugly. Any idea how to start playing at a timestamp without such a hack?
Thanks in advance!