« get me outta code hell

tododododododo - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-05-13 22:11:58 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-16 22:29:27 -0300
commit8baa393ea05ac894ab78f6ff163d876cee4934d5 (patch)
tree06a439c6c13886ad58cdb734bb8c70049c08648d
parentebbdaa3473b4885468eb27922e24511c93b962ca (diff)
tododododododo
-rw-r--r--todo.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/todo.txt b/todo.txt
index e54d532..d8e6c7d 100644
--- a/todo.txt
+++ b/todo.txt
@@ -734,6 +734,23 @@ TODO: Pressing escape while you've got items selected should deselect those
       Alternative: clear the selection (without stopping playback) only if the
       cursor is currently on a selected item.
 
+TODO: GHOST BACKEND for socket server... the main thing is syncing duration
+      data. It sucks to have the player, like, actually be tied to a specific
+      instance of MPV or whatever, so we'd use a ~ghost player~ which supports
+      all the usual interfaces and lies about its current playback time. Yay!
+
+TODO: There should be a way for the server to handle disputes between two
+      clients disagreeing on the duration of a track. Options could include,
+      for example, "longest": always wait for everyone to be done playing;
+      "shortest": don't wait for anyone to be done (past a 1 second threshold
+      or whatever), just skip to the next track almost right away; and "first",
+      where duration just depends on whoever shared the track. This can all be
+      done without everyone sharing their own playback duration, which is kinda
+      wasteful; it would be controlled totally by the server deciding when to
+      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: When you're navigating down (or up) a menu, if that menu's got a
       scrollbar *and* is divided into sections, passing a divider line should
       try to scroll the whole newly active section into view! This way you get