EricRabil / sactivity

Spotify WebSocket Activity API Library
GNU General Public License v3.0
17 stars 1 forks source link

fake player isn't hidden #2

Open andrelec1 opened 4 years ago

andrelec1 commented 4 years ago

https://github.com/EricRabil/sactivity/blob/cc4b10eba5faaca171716ca3259dfe290cb3506e/ts/SpotifyClient.ts#L467

image

can't connect but isn't hidden :/

EricRabil commented 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.

CriticalElement commented 3 years ago

You can change disable_connect to true in the body of the device creation request to hide the player, and still receive event notifications.

EricRabil commented 3 years ago

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.

EricRabil commented 3 years ago

You can change disable_connect to true 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.