jaseg / python-mpv

Python interface to the awesome mpv media player
https://git.jaseg.de/python-mpv.git
Other
543 stars 68 forks source link

can you use this with a running mpv instance if so how #165

Closed TingTingin closed 3 years ago

TingTingin commented 3 years ago

hi i was under the impression than this was a tool for controlling a running mpv instance im trying to create an mpv script and thought would be of help but it seems i was confused so im asking can you use this with a running mpv instance if so how

neinseg commented 3 years ago

No, you cannot. This python library is a wrapper around libmpv, and does not currently address mpv's IPC interface. Have a look at this project, which should be able to control a running mpv instance through its IPC interface. Note that I haven't used that project before, so I can't vouch for it.

TingTingin commented 3 years ago

yeah thanks im trying it now it seems to be what i was looking for