diff options
Diffstat (limited to 'todo.txt')
-rw-r--r-- | todo.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/todo.txt b/todo.txt index 59a9f87..63ba2e2 100644 --- a/todo.txt +++ b/todo.txt @@ -753,3 +753,15 @@ TODO: There should be a way for the server to handle disputes between two send out events to start the next track, and in reaction only to the clients' own "done playing" events (or the GHOST PLAYER reaching the playback time provided when the track was first shared). + +TODO: Implement a waaaay better socat system, particularly one which waits for + feedback when a command is sent and returns that. This has to be special- + coded for mpv since there isn't a generalized standard, so it should make + use of the existing Socat class, not replace it outright. + +TODO: Use above socat system to keep "pinging" the socket until a response is + received - mpv doesn't make the socket immediately available. I think if + we wait for a pong response before allowing any actual commands to go + through, we can avoid weirdness with commands being dropped beacuse they + were sent too early. For now we just use a time-based delay on the base + Socat class, which is a hack. |