Open andrelec1 opened 4 years ago
I'm not sure how I can hide the player, as I essentially mimic a Spotify web client to obtain an activity stream. Feel free to fork it and find a way.
You can change disable_connect
to true
in the body of the device creation request to hide the player, and still receive event notifications.
Hello all, I'm rewriting sactivity at https://github.com/EricRabil/sactivity/tree/rewrite and it no longer shows up in the connect player. It has a lot more customization as well, and lets you mix and match the features you need.
You can change
disable_connect
totrue
in the body of the device creation request to hide the player, and still receive event notifications.
@CriticalElement my solution was to just not call the POST https://guc-spclient.spotify.com/track-playback/v1/device
endpoint in its entirety, so that there's never any device on their end. I haven't found any consequences to this yet.
https://github.com/EricRabil/sactivity/blob/cc4b10eba5faaca171716ca3259dfe290cb3506e/ts/SpotifyClient.ts#L467
can't connect but isn't hidden :/