如何使用MusicBrainz Json API通过录音ID获取作品数据?

How to get work data by recording ID using MusicBrainz Json API?

我曲库中的许多曲目没有语言信息。 MusicBrainz 似乎不提供录音的语言信息,只提供作品的语言信息。

知道录音ID如何获取工作ID?

您可以 link 从 workrecording 通过 performance

Forward link phrase: {live} {medley:medley including a} {partial} {instrumental} {cover} recording of

Reverse link phrase: {live} {medley:medleys including} {partial} {instrumental} {cover} recordings

Long link phrase: is a {live} {medley:medley including a} {partial} {instrumental} {cover} recording of

Description: This is used to link works to their recordings.

entity0 cardinality: Few relationships (0)

entity1 cardinality: Many relationships (1)

UUID: a3005666-a872-32c3-ad06-98af558e99b0

性能在 the documentation 中有更详细的解释。

这是关系的一个例子:

A Day in the Life (original stereo studio mix) by The Beatles is a recording of A Day in the Life

A Day in the Life by Affinity is a live instrumental cover recording of A Day in the Life

编辑:

正如您所评论的,您需要相反方向的关系,这个调用可以解决问题:

http://musicbrainz.org/ws/2/recording/fcbcdc39-8851-4efc-a02a-ab0e13be224f?inc=‌​work-rels&fmt=json