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

Implement getExtendedMetadata #19

Open
switz opened this issue Nov 22, 2024 · 0 comments
Open

Implement getExtendedMetadata #19

switz opened this issue Nov 22, 2024 · 0 comments

Comments

@switz
Copy link
Member

switz commented Nov 22, 2024

Adding songs to Sonos Favorites errors out with "Something Went Wrong" due to the following Relisten partner bug:

Relisten returns getExtendedMetadata responses for tracks with incorrect format. When requesting getExtendedMetadata for a valid track id, "Track:sci:2007:2007-08-05:1914992:12292369" for example, MSP returns the following:

{
	"getExtendedMetadataResult":{
		"id":"Track:sci:2007:2007-08-05:1914992:12292369",
		"type":"artist"
	}
} 

Notice type = 'artist', not track, and the response object is missing "mediaMetadata" or "mediaCollection" which is a required property on a getExtendedMetadataResult object (see https://docs.sonos.com/docs/getextendedmetadata#tag/playback/operation/Playback-LoadContent-GroupId:~:text=Your%20service%20should,of%20these%20elements )

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