Closed davemccall closed 6 years ago
That's odd.
What do you mean by "get it to work", can you outline the expected behaviour and the observed behaviour before and after adding in the additional line.
Thanks
If I remove the line in question, the video simply won't play. There is no error, it just does not play. If I remove the line in question and do not set_position, the video will play (from the beginning). I just can't seem to play the video from a set position without querying the duration.
Could not reproduce from 1d9119c67479155d04c6bee198dd27f2db3ce322
Issue Report
Description
I'm trying to play a clip of a local mp4 file. Though several tries, I could only get it to work if I queried the duration. I'm happy to use this as a workaround, just not clear why it is necessary.
Without the player.duration(), if I set_position then the video will not play. With the player.duration() eveyrthing works perfectly.
Problem reproduction
Environment details
lsb_release -a
):python-omxplayer-wrapper
0.1.0
python-dbus
(dpkg -s python-dbus
)1.2.0
python
(python --version
)3.4.2
omxplayer
(omxplayer --version
)dfea8c9