This commit is contained in:
2025-07-31 22:06:12 +02:00
parent c5c0e96942
commit d8a01e1079
2 changed files with 4 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ if [ "${1:-}" = "--internal-search" ]; then
$JQ -r '."release-groups"[] | [
.id,
."primary-type",
(."secondary-types"|join(";")),
(."secondary-types" // []|join(";")),
."first-release-date",
.title,
(."artist-credit" | map(([.name, .joinphrase]|join(""))) | join(""))
@@ -132,7 +132,7 @@ if [ "${1:-}" = "--internal-list-releasegroups" ]; then
$JQ -r '."release-groups"[] | [
.id,
."primary-type",
(."secondary-types"|join(";")),
(."secondary-types" // []|join(";")),
."first-release-date",
.title,
(."artist-credit" | map(([.name, .joinphrase]|join(""))) | join(""))

View File

@@ -65,6 +65,7 @@ api_mb_search_releasegroup() {
$CURL \
--get \
--data fmt=json \
--data inc=artist-credits \
--data-urlencode query="$1" \
-A "$APP_NAME/$APP_VERSION ($APP_WEBSITE)" \
"https://musicbrainz.org/ws/2/release-group"