Files
mpv/input
wm4 98a80884da ipc: report some user errors better
Using the IPC with a program, it's not often obvious that a newline must
be sent to terminate a command. Print a warning if the connection is
closed while there is still uninterpreted data in the buffer.

Print the OS reported error if reading/writing the socket fails. Print
an erro if JSON parsing fails.

I considered silencing write errors if the write end is closed (EPIPE),
because a client might send a bunch of commands, and then close the
socket without wanting to read the reply. But then, mpv disconnects
without reading further commands that might still be buffered, so it's
probably a good idea to always print the error.
2014-12-24 13:18:00 +01:00
..
2014-12-17 22:56:45 +01:00
2014-11-24 16:48:34 +01:00
2014-11-24 16:48:34 +01:00
2014-11-24 16:48:34 +01:00
2014-12-24 13:18:00 +01:00
2014-11-26 21:21:56 +01:00
2014-11-21 09:58:09 +01:00
2014-11-26 21:21:56 +01:00