apple-music-api icon indicating copy to clipboard operation
apple-music-api copied to clipboard

How to see or query Audio Variants?

Open gingerbeardman opened this issue 1 year ago • 2 comments

Is it possible to query these somehow?

https://developer.apple.com/documentation/applemusicapi/albums/attributes

I see attributes on an album using getCatalogAlbum but I do not see audioVariants?

Example queries I'd like to do:

  • whether a particular album has dolby-atmos audio variant
  • all recently released albums with dolby-atmos audio variant

The following albums are available in Dolby Atmos

  • https://music.apple.com/gb/album/like-water-for-chocolate/1440720260
  • https://music.apple.com/gb/album/be/1440726298
  • https://music.apple.com/gb/album/future-nostalgia/1538003494

gingerbeardman avatar Jun 04 '24 23:06 gingerbeardman

Hi @gingerbeardman,

Most likely this can be done by using the extend parameter; see also https://developer.apple.com/documentation/applemusicapi/handling_resource_representation_and_relationships

However that's something I need to confirm and test; do you have the possibility to test this by yourself?

PouleR avatar Jun 12 '24 13:06 PouleR

Yes, I have your script running locally so I can test.

But, I don't know how I should use the extend parameter with the API you provide?

gingerbeardman avatar Jun 12 '24 14:06 gingerbeardman

Completed how?

gingerbeardman avatar Mar 06 '25 10:03 gingerbeardman