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

Some URIs not encoded correctly before sending to sonos for playback #185

Closed
gupsho opened this issue Sep 20, 2017 · 1 comment
Closed

Comments

@gupsho
Copy link
Contributor

gupsho commented Sep 20, 2017

Eg URI:
x-sonos-spotify:spotify%3atrack%3a01Bz4Mijhe7m7qRvq2Ujpn?sid=12&flags=8224&sn=2

This is one of the uri returned by sonos for favorites. This cannot be played correctly on sonos because the library does not encode the uri correctly.

@gupsho
Copy link
Contributor Author

gupsho commented Sep 20, 2017

This can be fixed by using htmlEntities(options.uri) in queue method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant