« get me outta code hell

WIP socket shenanigans [!!!] - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/serialized-backend.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-05-15 16:06:04 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-16 22:29:28 -0300
commitbb96788a3ab48776229985ca0a02f9c5c124b65a (patch)
tree7fab8749efb6f00f9448319c5011dd0183f930cc /serialized-backend.js
parent9a1d0c26338a7d0851c60b99296669cdc80673f2 (diff)
WIP socket shenanigans [!!!]
this commit is mostly trash lol

[!!!] Editor's note: Okay, after rebasing this commit is *super*
spooky! It's interacting with a bunch of stuff that was previously
handled in a merge commit and the revised changes may or may not
be totally broken. If in doubt, assume this commit is the root
of all evil (probably).
Diffstat (limited to 'serialized-backend.js')
-rw-r--r--serialized-backend.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/serialized-backend.js b/serialized-backend.js
index 7ae5e9d..575ba8f 100644
--- a/serialized-backend.js
+++ b/serialized-backend.js
@@ -56,6 +56,8 @@ export function saveBackend(backend) {
 }
 
 export async function restoreBackend(backend, data) {
+  // console.log('restoring backend:', data)
+
   if (data.queuePlayers) {
     if (data.queuePlayers.length === 0) {
       return