A few additional features!
Composers are available for each track in a /release/ or /disc/ query. You must add the inc parameter 'trackComposers' to get them. 'Composers' here is used in its most generic sense, meaning the person responsible for the composition of a piece of music. So that includes music of contemporary genres, not just 'classical' music!
A new boolean flag has been added to denote when a release is a compilation. This is also available in the /disc/ aggregated object. This data is included by default. If OMA has no data that a given release is a compilation, the flag is not included.
We also include discPosition in /disc/ aggregated objects now.
Example of all of these things in one query:
Gives:
{
"aggregated": {
"title": "The Ultimate Collection",
"artist": "Barry White",
...
"compilation": true,
"discPosition": "1",
"totalDiscs": "2",
"tracks": [
{
"title": "I'm Gonna Love You, Just a Little More Baby",
"number": "1",
"artists": [
"Barry White"
],
"composers": [
"Barry White"
]
},
....
]
},
"disc_match": {
...
},
"associated_releases": [
{
"title": "The Ultimate Collection",
"artist": "Barry White",
"year": "2000",
"genre": "soul",
"compilation": true,
"media": [
{
"totalDiscs": "2",
"position": "1",
"tracks": [
{
"title": "I'm Gonna Love You, Just a Little More Baby",
"number": "1",
"artists": [
"Barry White"
],
"composers": [
"Barry White"
]
},
...
},
{
"title": "The Ultimate Collection",
"artist": "Barry White",
"year": "2000",
"genre": "soul",
"compilation": true,
"media": [
...
}
]
}
Dan