Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to queue from mobile when playing a single track does not work #54

Open
devgianlu opened this issue Jul 31, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@devgianlu
Copy link
Owner

devgianlu commented Jul 31, 2024

This looks like an upstream bug in Spotify, but there must be a workaround.

When trying to add to the queue from mobile, this is sent:

{"message_id":136847011,"target_alias_id":null,"sent_by_device_id":"xxxxx","command":{"endpoint":"set_queue","queue_revision":"0","prev_tracks":[],"next_tracks":[],"options":{"override_restrictions":false,"only_for_local_device":false,"system_initiated":false},"logging_params":{"command_initiated_time":1722418731139,"command_received_time":1722418731140,"page_instance_ids":["60fbed84-e3ae-4a3f-b35a-5cf298446557"],"interaction_ids":["55c025bd-0a39-4b00-8818-ad5739bd4f2b"],"device_identifier":"xxxxxxx","command_id":"eb8eecdb7cdf3c25ac06586566a24c86"}}}

When trying to add to queue from the desktop client, this is sent:

{"message_id":136891835,"target_alias_id":null,"sent_by_device_id":"yyyyy","command":{"endpoint":"set_queue","queue_revision":"0","prev_tracks":[],"next_tracks":[{"uri":"spotify:track:aaaaaaaaaaaaaaaaaa","metadata":{"is_queued":"true"},"provider":"queue"}],"options":{"override_restrictions":false,"only_for_local_device":false,"system_initiated":false},"logging_params":{"command_initiated_time":1722418776662,"command_received_time":1722418776664,"device_identifier":"yyyyyy","command_id":"e366ffb7adbde6d5c6c20abf9ea9c1d5"}}}

This first message is clearly bogus as it does not contain anything in the next_tracks field.

@devgianlu devgianlu added the bug Something isn't working label Aug 1, 2024
aykevl added a commit to aykevl/go-librespot that referenced this issue Oct 5, 2024
@aykevl
Copy link
Contributor

aykevl commented Oct 6, 2024

Oops, I don't think this was intended to be closed (GitHub read "might fix" as "fix").

@devgianlu devgianlu reopened this Oct 6, 2024
thilojaeggi pushed a commit to thilojaeggi/go-librespot that referenced this issue Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants