« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--socket.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/socket.js b/socket.js
index c1e4869..67d4c92 100644
--- a/socket.js
+++ b/socket.js
@@ -7,6 +7,15 @@
 
 // TODO: Option to display listing items which aren't available on all
 // connected devices.
+//
+// TODO: While having a canonical backend is useful for maintaining a baseline
+// playback position and queue/library with which to sync clients, it probably
+// shouldn't be necessary to have an actual JS reference to that backend.
+// Making communication with the canonical backend work over socket (in as much
+// as possible the same way we do current socket communication) means the
+// server can be run on a remote host without requiring access to the music
+// library from there. This would be handy for people with a VPN with its own
+// hostname and firewall protections!
 
 'use strict' // single quotes & no semicolons time babey