python-mpv-jsonipc
python-mpv-jsonipc copied to clipboard
Python API to MPV using JSON IPC
Number arguments to the MPV constructor are converted to "yes"/"no" when they should't be. Example: ```python3 extra_args = { "video-scale-x": 1 } MPV(**extra_args) ``` ## Expected Behavior MPV starts ##...
Hey! I love this library but am having issues with programs not exiting. Would it be possible to add an option to make the threads daemons so they don't hold...
If you have multiple scripts connected to the same mpv instance they all receive keypresses https://github.com/iwalton3/python-mpv-jsonipc/blob/9b16ab8eceb46bbc519a97e4ce8e79dceaf94bcf/python_mpv_jsonipc.py#L444 changing to self.keybind = time.time_ns() could make it so that ids are more unique...
I'm playing around and I can create a new instance of MPV or connect to an existing one just fine, but I am not sure how to disconnect once connected....
Should probably mention first that I am new to this (both python and mpv) I'm trying to use this library to write some mpv scripts but I'm confused about a...
It seems like the socket thread holding a reference to the callback prevents __del__ from being called, which means the thread never stops unless you manually call terminate() explicitly, and...
Is it currently possible to configure repeatable key presses? Currently via the [Lua `add_key_binding` call](https://mpv.io/manual/stable/#lua-scripting-[,flags]])), you can pass a `repeatable` option so holding down the key will trigger the call...
Hey - first off, thanks so much for this, it is sooooo helpful! I just hit a scenario where I am sending a play command and then waiting for a...