mpvipc_async

Module ipc

source
Expand description

IPC handling thread/task. Handles communication between Mpv instances and mpvโ€™s unix socket

Structsยง

  • MpvIpc ๐Ÿ”’
    Container for all state that regards communication with the mpv IPC socket and message passing with Mpv controllers.
  • MpvIpcEvent ๐Ÿ”’
    A deserialized and partially parsed event from mpv.
  • MpvIpcResponse ๐Ÿ”’
    MpvIpcโ€™s response to a MpvIpcCommand.

Enumsยง

Functionsยง

  • This function does the most basic JSON parsing and error handling for status codes and errors that all responses from mpv are expected to contain.