Currently manager.Manager.UpdateSong does all the logic for determining if the streamer should start streaming, but should be simplified and moved into the streamer instead. Especially with the new streaming API it should be fairly trivial to just setup a goroutine
waiting on Manager.CurrentUser updates and have it determine if it should be streaming.
Currently
manager.Manager.UpdateSong
does all the logic for determining if the streamer should start streaming, but should be simplified and moved into the streamer instead. Especially with the new streaming API it should be fairly trivial to just setup a goroutine waiting onManager.CurrentUser
updates and have it determine if it should be streaming.