The Qt example works fine accept there is no documented indication how to implement the observers or key bindings. The example on observer/key-binding requires the player object to be global, which doesn't fit in with a well designed OO plan.
I can find no syntax for
@player.property_observer('time-pos') or @player.on_key_press('q')
that works as a class method where player is a class instance variable.
Alternately what observer/callbacks can be presented from the mpv module when run inside the pyQt event loop?
Are the two mutually incompatible? If so, it would be good to document that rather than rely purely on "documentation by example".
Thoughts?