« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/socket.js
AgeCommit message (Collapse)Author
2023-05-15WIP socket shenanigans(quasar) nebula
this commit is mostly trash lol
2023-05-13Merge branch 'main' into socket-mtui(quasar) nebula
And also get most of it working wow.
2021-04-26synchronize shared sources on join + other stuff(quasar) nebula
2021-04-25naughty hack for context menu in playlist sources(quasar) nebula
...plus a todo detailing what should be better
2021-04-25playlist sources = only what's shared with party(quasar) nebula
2021-04-25implement basic share-with-party command(quasar) nebula
2021-04-25actually set hasAnnouncedJoin on server lol(quasar) nebula
2021-04-23basic party sources creation for other sockets(quasar) nebula
2021-04-23announce joining party(quasar) nebula
2021-04-23identifier per socket connection(quasar) nebula
2021-04-22"party sources" ui (no socket functionality yet)(quasar) nebula
2021-03-16restore queued tracks from playlist sources(quasar) nebula
not sure why i didnt do this before but it Seems To Work Now! dog champ
2021-03-15add todo for remote/VPN mtui server hosting!(quasar) nebula
2021-03-15combining log messages (currently only seek!)(quasar) nebula
2021-03-15simplify log message text construction(quasar) nebula
2021-03-15log 'status' commands as new "verbose" (dim) lines(quasar) nebula
2021-03-15resume canonical player when all sockets are ready(quasar) nebula
this fixes an issue where a sync-playback received immediately during the resume would receive the paused status! in general, the canonical backend should always stay in line with the messages that the server sends out.
2020-09-15old "wait when done playing" code(quasar) nebula
I haven't tested this since writing it in July so I have no idea what it does! :D
2020-07-17socket log messages & misc npm updatesFlorrie
2020-07-15basic command log implementationFlorrie
2020-07-12support stop-playing over client socketsFlorrie
2020-07-12allow lines spread across multiple data chunksFlorrie
Wrapper functions 4 lyfe.
2020-07-12move data-handling code inside connection handlerFlorrie
This should make it easier to add state for individual sockets, which will be needed in coding better data handling. (Update: Actually, that wasn't necessary, because I wrote it as a more general wrapper function which contains its own state. Still, this could come in useful in the future, and it arguably reduces the code complexity anyway.)
2020-07-11synchronize playing new tracks across socketsFlorrie
2020-07-11support queue controls over socket clientsFlorrie
2020-07-10basic command relay across socket clientsFlorrie
2020-07-10basic working backend save/restore & socket serverFlorrie
Backend save/restore code (living in serialized-backend.js) has been well tested and shouldn't need much change going forward. Now we get to begin working on the actual synchronized-over-socket-server commands!