`musicbrainz_rs_nova::entity::release::Track` is missing artist credit
Closed this issue · 4 comments
Holzhaus commented
A track can also have an artist credit. Here's how it looks in the JSON from the API:
"tracks": [
{
"recording": { .. },
"position": 1,
"number": "1",
"length": 211893,
"artist-credit": [
{
"joinphrase": "",
"name": "The Ahmad Jamal Trio",
"artist": {
"disambiguation": "",
"type": "Group",
"aliases": [
{
"end": null,
"begin": null,
"name": "Ahmad Jamal Trio",
"primary": null,
"type-id": null,
"type": null,
"ended": false,
"locale": null,
"sort-name": "Jamal, Ahmad, Trio"
},
{
"begin": null,
"end": null,
"name": "Ahmed Jamal Trio",
"primary": null,
"type-id": null,
"ended": false,
"locale": null,
"type": null,
"sort-name": "Ahmed Jamal Trio"
}
],
"sort-name": "Jamal, Ahmad, Trio, The",
"type-id": "e431f5f6-b5d2-343d-8b36-72607fffb74b",
"id": "9e7ca87b-4e3d-4d14-90f1-a74acb645fe2",
"name": "The Ahmad Jamal Trio"
}
}
],
"title": "But Not for Me",
"id": "cc9757af-8427-386e-aced-75b800feed77"
},
...
]
RustyNova016 commented
Ahead of you! #35
There is other missing fields like discs and track offset but I need to ask the devs for the schema. Sadly there's no swagger for MB and LB so it's a pain
Holzhaus commented
Sadly there's no swagger for MB and LB so it's a pain
For LB there is one, see metabrainz/listenbrainz-server#2947
For MB I opened a feature request: https://tickets.metabrainz.org/browse/MBS-13782
RustyNova016 commented
Oh hey. That's actually new. Wasn't there when I did LB API stuff.
But MusicBrainz definitely needs one, as the wiki is a bit messy
Holzhaus commented
Feel free to vote for the ticket and leave a comment to show the devs the need for it :)