Closed y-young closed 1 year ago
I have one general question that has to do with how thoroughly you've tested this against the live API: do you know if there are always
joinphrase
s provided when there are multiple artists, or can these be missing sometimes? If they can sometimes be missing, it seems like we may want to use a default other than""
to join artists (for the non-last artist). Otherwise, they will get strung together likeFooBarBaz
when a join phrase is not provided.
AcoustID gets recording metadata from MusicBrainz, MusicBrainz always stores a join phrase, the default is ''
:
When editing on the web page, the editor will automatically fill in join phrases like ,
and &
, but there're cases where two artists are joined with empty join phrase, such as a group name consists of parts from the two artist names, so we can't always replace ''
with '&'
.
The reason we need the default option here is that MusicBrainz web service omits empty join phrases in response, e.g. a single artist name, or the last artist name in a list of multiple artists:
There's a join phrase option for artist names, we can utilize it to reproduce the same artist credits as on MusicBrainz page.