Kinda like #15, but easier to implement; the callbacks can simply be triggered by the corresponding methods in the OMXPlayer class and don't need to originate from the omxplayer process.
(I personally need this for the omxsync package at I'm writing at https://github.com/markkorput/pyOmxSync, which is inspired by the omxplayer-sync repo, but uses OMXPlayer as an interface to be more easily used in python projects).
Kinda like #15, but easier to implement; the callbacks can simply be triggered by the corresponding methods in the OMXPlayer class and don't need to originate from the omxplayer process.
(I personally need this for the omxsync package at I'm writing at https://github.com/markkorput/pyOmxSync, which is inspired by the omxplayer-sync repo, but uses OMXPlayer as an interface to be more easily used in python projects).