calzoneman / sync

Node.JS Server and JavaScript/HTML Client for synchronizing online media
Other
1.45k stars 235 forks source link

Add whitelisted channel logic #958

Closed AshesOfOwls closed 1 year ago

AshesOfOwls commented 1 year ago

Add whitelisted channel logic

AshesOfOwls commented 1 year ago

Whoops sorry

calzoneman commented 1 year ago

Regardless of the mistaken PR, I'll go ahead and point out that this is likely not the file you actually want to update (unless you are using the multi-server support, which is undocumented and pretty much no one outside of the cytu.be server would need to use it anyways).

You probably meant to update the local channel index instead.

calzoneman commented 1 year ago

Although, if you were the person messaging me about how to keep channels loaded even if they have 0 viewers, you probably don't need to muck with the public index code, you can just remove this instead so that channels are never unloaded from memory (the channel index only shows those channels which are "loaded").

AshesOfOwls commented 1 year ago

@calzoneman That was my buddy I am working on it with. Thank you for the insight we are gonna try to implement that now