Results 110 comments of jaseg

Yep, wid is effectively passed in as a command line option. See also [this upstream example](https://github.com/mpv-player/mpv-examples/blob/master/libmpv/cocoa/cocoabasic.m). According to the README of [the upstream examples](https://github.com/mpv-player/mpv-examples/tree/master/libmpv) a caveat seems to be that...

According to the [Qt doc](http://doc.qt.io/qt-5/thread-basics.html), Qt must run on the application's main thread. So this is not a limitation of python-mpv, mpv or even PyQt. I know this is inconvenient,...

Yes. You cannot create the mpv object in the parent process, since it initializes the mpv handle. When using multiprocessing, import mpv and create the MPV object in the child...

Sorry for not actually improving your code, but I just played around a bit and came up with the solution below. So far I tested it on Linux and it...

Oh my. No, what happens is ```multiprocessing.manager.BaseManager``` creates a proxy thing for ```MPV``` such that when you do ```manager.MPV``` you get a proxy for a ```MPV``` object living inside a...

python-mpv uses [`ctypes.util.find_library`](https://docs.python.org/3/library/ctypes.html#finding-shared-libraries) from the python standard lib to look for libmpv. Make sure your LD_LIBRARY_PATH is set up correctly, and that libmpv.so is installed in the correct location.

Oh, I see. Building it using yocto should be possible, but will take some effort. A quick google search yielded some existing bitbake recipes for mpv ([1](https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb?id=5af46f89fcef5c436786ed81978de60f26abe054), [2](https://git.congatec.com/yocto/meta-openembedded/blob/7d399caee6adc82812f631f756b7805d866bad83/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb)), that you...

Yes, you'll have to modify those to your needs and turn on building libmpv.

The "pythonic" way to do this through python-mpv's interfaces I think would be to register two key press handlers that notify your interaction thread through a [condition object from python's...

Oh, that looks like a bug. I'll try to reproduce this and commit a fix.