mcastorina / mpv-remote-app

Android app to control mpv running on another computer
GNU General Public License v3.0
87 stars 14 forks source link

standardize messaging protocol #1

Open mcastorina opened 5 years ago

mcastorina commented 5 years ago

currently I am simply passing whitelisted commands straight to the IPC server, but it would be a good idea to use a standard messaging protocol

either document the messaging protocol or adhere to a current standard

mcastorina commented 5 years ago

This plugin (available in AUR) adds mpris capability to mpv

https://github.com/hoyon/mpv-mpris https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html

mcastorina commented 5 years ago

With the server refactored, the messages are now abstracted from the player.

mcastorina commented 5 years ago

The messaging protocol is being documented in DESIGN.md.

At this point, it is still not using a standardized protocol, and I'm not sure if I will ever migrate to one.