]> git.vanrenterghem.biz Git - musicbrainz.git/commitdiff
Waveform, variant, monolith, mask
authornik gaffney <nik@fo.am>
Fri, 19 May 2023 14:32:05 +0000 (16:32 +0200)
committernik gaffney <nik@fo.am>
Fri, 19 May 2023 14:32:05 +0000 (16:32 +0200)
README.org
musicbrainz.el

index 8ff46e764821b040f38a8d90b74ba8e1dc74b590..3d0c2894f333f5c2e07eb006bda9a10409d21403 100644 (file)
@@ -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
 
index e5f41a91b4f4c8cf17d7f9adf6407c7220a1b845..4107f4e5a391791ec3f03fc3b88bc7393fd55ece 100644 (file)
@@ -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))))