Closed wmodes closed 6 years ago
Can't reproduce with your exact code, but pretty sure its because you've commented out that player.stop()
line, with it in you're executing a dbus method after stopping the player, which kills the process, so any further dbus method calls will fail, hence player.position()
will fail.
Issue Report
Description
Keep running into episodic dbus.exceptions.DBusException in position() and set_position() methods
Problem reproduction
Hmm, wondering whether you will be able to reproduce it, since it happens consistently, but not reliably for me.
Results in:
Another variation on this is this one:
Environment details
lsb_release -a
):python-omxplayer-wrapper
0.2.0
python-dbus
(dpkg -s python-dbus
)1.2.0-2
python
(python --version
)2.7.9
omxplayer
(omxplayer --version
)dfea8c9