« get me outta code hell

synchronize shared sources on join + other stuff - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/todo.txt
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2021-04-26 13:15:09 -0300
committer(quasar) nebula <towerofnix@gmail.com>2021-04-26 13:15:09 -0300
commit84c49e453336d6105655edd08e93bab071c0fc3b (patch)
tree4b65a3dd7d08c1652408b293c659fcef37347241 /todo.txt
parenta1aa060f848e7d8da29142954c4f642970fc3fab (diff)
synchronize shared sources on join + other stuff
Diffstat (limited to 'todo.txt')
-rw-r--r--todo.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/todo.txt b/todo.txt
index 726e04f..dab8e29 100644
--- a/todo.txt
+++ b/todo.txt
@@ -592,6 +592,7 @@ TODO: The checks for "grouplike"/"track" have been super arbitrary for a long
 
 TODO: Synchronize items that have been shared with the party upon a new client
       joining. Should be next to (or part of) the initialize-backend command.
+      (Done!)
 
 TODO: We currently use a hack to access the original item in the context menu
       for items in the party sources listing. This doesn't make, for example,
@@ -599,3 +600,19 @@ TODO: We currently use a hack to access the original item in the context menu
       to specifically refer to the item "represented" by a line, rather than
       the literal object it's associated with (i.e. the pseudo-track/group
       shared in the sources array).
+
+TODO: Broadcast when a socket disconnects; show a log message and remove their
+      shared sources from the UI of other clients.
+
+TODO: Ditto for the server! Not (exclusively) as a broadcast message, though -
+      detect if the connection to the server is lost for any reason.
+
+TODO: The validation code for share-with-party sucks! It should be made into a
+      separate function which runs recursively, and should be used to validate
+      initialize-party too.
+
+TODO: Show debug log messages when validating a command fails! On both server
+      and client end.
+
+TODO: Naming a shared sources list should definitely happen in a function.
+      (Done!)