« 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 <qznebula@protonmail.com>2024-05-16 19:15:06 -0300
commit811387200fc4e9c0d368e9f23a701c55697b54ef (patch)
tree303ccf3cf8c31c425211c08c49bba0ae35a04458
parentee6960dac5c11641cb1568643782158d85f15f59 (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 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