kljohann / mpv.el

control mpv for easy note taking
GNU General Public License v3.0
145 stars 15 forks source link

Mpv Library #5

Closed xFA25E closed 3 years ago

xFA25E commented 4 years ago

Hi, I would like to use your package as a library for my own project (it would be a simple music player). mpv.el is great, but it is not very usable as a library. It allows only one instance of mpv at a time.

Are you willing to accept a PR to make this package more library-like? I think that it is possible to add functions that would create sockets and manipulate them. These functions will be used by already existing functions to leave default behaviour.

What do you think? Do you have any suggestions? Thanks :)

stardiviner commented 4 years ago

This is really a good idea, can you send PR? But is it possible to control multiple mpv instances in Emacs through IPC?