From 21ade49d85a5e2df2ee02e66b8320fefcc1e26f9 Mon Sep 17 00:00:00 2001 From: nik gaffney Date: Fri, 19 May 2023 16:32:05 +0200 Subject: [PATCH] Waveform, variant, monolith, mask --- README.org | 13 +++++++------ musicbrainz.el | 6 +++--- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.org b/README.org index 8ff46e7..3d0c289 100644 --- a/README.org +++ b/README.org @@ -77,17 +77,18 @@ The MBID can be used for specific lookups (and checked if needed using =musicbra (musicbrainz-search-label "Warp") #+END_SRC -| Warp | 46f0f4cd-8aab-4b33-b698-f459faf64190 | +| Warp | [[https://musicbrainz.org/label/46f0f4cd-8aab-4b33-b698-f459faf64190][46f0f4cd-8aab-4b33-b698-f459faf64190]] | #+BEGIN_SRC emacs-lisp (musicbrainz-search-label "Music" 5) #+END_SRC -| 100 | Sony Music | global brand, excluding JP, owned by Sony Music Entertainment (1991 ongoing) | 9e6b4d7f-4958-4db7-8504-d89e315836af | -| 96 | [no label] | Special purpose label – white labels, self-published releases and other “no label” releases (ongoing) | 157afde4-4bf5-4039-8ad2-5a15acc85176 | -| 91 | Polydor | worldwide imprint, see annotation (1913-04-02 ongoing) | ce24ab18-1bd6-4293-a486-546d13d6a5e2 | -| 91 | Universal Music | plain logo: “Universal Music” (ongoing) | 13a464dc-b9fd-4d16-a4f4-d4316f6a46c7 | -| 90 | ZYX Music | (1992 ongoing) | 6844efda-a451-431e-8cc1-48ab111b4711 | +| 100 | Sony Music | global brand, excluding JP, owned by Sony Music Entertainment (1991 ongoing) | [[https://musicbrainz.org/label/9e6b4d7f-4958-4db7-8504-d89e315836af][9e6b4d7f-4958-4db7-8504-d89e315836af]] | +| 96 | [no label] | Special purpose label – white labels, self-published releases and other “no label” releases (ongoing) | [[https://musicbrainz.org/label/157afde4-4bf5-4039-8ad2-5a15acc85176][157afde4-4bf5-4039-8ad2-5a15acc85176]] | +| 91 | Polydor | worldwide imprint, see annotation (1913-04-02 ongoing) | [[https://musicbrainz.org/label/ce24ab18-1bd6-4293-a486-546d13d6a5e2][ce24ab18-1bd6-4293-a486-546d13d6a5e2]] | +| 91 | Universal Music | plain logo: “Universal Music” (ongoing) | [[https://musicbrainz.org/label/13a464dc-b9fd-4d16-a4f4-d4316f6a46c7][13a464dc-b9fd-4d16-a4f4-d4316f6a46c7]] | +| 90 | ZYX Music | (1992 ongoing) | [[https://musicbrainz.org/label/6844efda-a451-431e-8cc1-48ab111b4711][6844efda-a451-431e-8cc1-48ab111b4711]] | + ** MBID diff --git a/musicbrainz.el b/musicbrainz.el index e5f41a9..4107f4e 100644 --- a/musicbrainz.el +++ b/musicbrainz.el @@ -319,8 +319,8 @@ Optionally return LIMIT number of results." (lambda (i) (let-alist i (if (not limit) - (format "%s | %s |\n" .name .id) - (format "%s | %s | %s (%s%s) | %s |\n" + (format "%s | [[https://musicbrainz.org/label/%s][%s]] |\n" .name .id .id) + (format "%s | %s | %s (%s%s) | [[https://musicbrainz.org/label/%s][%s]] |\n" .score .name (if .disambiguation .disambiguation "") (if .life-span.begin @@ -328,7 +328,7 @@ Optionally return LIMIT number of results." (if .life-span.end (format "—%s" .life-span.end) "ongoing") - .id)))) + .id .id)))) .labels))))