Function label_of_release

Source
pub fn label_of_release(response: &Json) -> Option<LabelOfRelease>
Expand description

The label of a release, as a release lookup returns it.

Separate from release_groups because it comes from a different request, and because it describes an edition rather than the album.

The name and the identifier are read from the same label-info entry — the first one that names a label — never a name from one row and an identifier from another: a release crediting several labels would otherwise risk pairing the name of one with the address of a different one. This supplies edition evidence independently of any explicit label identifier already carried by local tags.