larkinds / Spotify.MLH

3 stars 1 forks source link

Bootstrap playback upon connection #34

Closed jkmartindale closed 3 years ago

jkmartindale commented 3 years ago

Closes #29

This attempts to force connecting to a Spotify device right after authorization. The standard authorization success message is replaced with a message saying which device is connected.

This PR needs some testing because I'm not sure if Spotify likes transferring playback from the same device to itself. If it gets glitchy, we can cache the device ID and explicitly specify it for all playback commands.