« get me outta code hell

add todo for remote/VPN mtui server hosting! - 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 <towerofnix@gmail.com>2021-03-15 22:08:59 -0300
committer(quasar) nebula <towerofnix@gmail.com>2021-03-15 22:08:59 -0300
commiteeb824df72971f6bdaad24d7da80364c2fa8b26c (patch)
treea777eae77eae5949be425add1cd23233ef68e9b4
parent35f087fee9fb1954b4a114af7cc9d026b9a7c831 (diff)
add todo for remote/VPN mtui server hosting!
-rw-r--r--socket.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/socket.js b/socket.js
index c7fb023..0cf9cc0 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