tab: switch between artist and album search

This commit is contained in:
2025-07-31 21:48:04 +02:00
parent d0e9ac3cd2
commit c5c0e96942
2 changed files with 100 additions and 16 deletions

View File

@@ -52,7 +52,7 @@ api_mb_browse_releasegroup_releases() {
}
# Argument: Search string
api_mb_search_artists() {
api_mb_search_artist() {
$CURL \
--get \
--data fmt=json \
@@ -61,6 +61,15 @@ api_mb_search_artists() {
"https://musicbrainz.org/ws/2/artist"
}
api_mb_search_releasegroup() {
$CURL \
--get \
--data fmt=json \
--data-urlencode query="$1" \
-A "$APP_NAME/$APP_VERSION ($APP_WEBSITE)" \
"https://musicbrainz.org/ws/2/release-group"
}
api_discogs_artist() {
$CURL \
--get \