cl-flac-metadata-bindings

2026-11-29

Bindings for the metadata related sections of libFLAC

Upstream URL

forge.tedomum.net/koizel/cl-flac-metadata-bindings

Author

Gabriel Hondet <gl_ht+dev@simplelogin.com>

License

BSD-2-Clause
README

Common lisp bindings for the flac library

With this Common lisp library, you can read the metadata of FLAC files.

Pre requisites

For the Common lisp library dependencies, refer to the system definition file.

To use this program, you must also install the flac library libflac (version 1.4 or above).

Getting started

Using ASDF, you can clone this repository to ~/common-lisp and then, assuming you have the FLAC file of Höstsonaten of the Finisterre Project at Höstsonaten.flac, you can use SBCL to obtain the FLAC tags of your files as follows

* (asdf:load-system 'flac-metadata-bindings)
* (flac-metadata:get-tags #P"Höstsonaten.flac")
(("COMMENT" . "Visit https://mellowlabelproductions.bandcamp.com")
 ("ALBUMARTIST" . "FINISTERRE PROJECT") ("TRACKNUMBER" . "2")
 ("ALBUM" . "Höstsonaten") ("ARTIST" . "FINISTERRE PROJECT")
 ("TITLE" . "Hostonaten") ("DATE" . "2018-01-02")
 ("ACOUSTID_ID" . "d847f3bb-b755-4d73-88f3-6f3353de5d4d")
 ("MUSICBRAINZ_RELEASEGROUPID" . "54a8d061-7165-350d-8de0-9930f3653d5f")
 ("ORIGINALDATE" . "1997") ("ORIGINALYEAR" . "1997") ("RELEASETYPE" . "album")
 ("MUSICBRAINZ_ALBUMID" . "be50b923-b838-4a2a-b510-1d402adcf214")
 ("SCRIPT" . "Latn") ("RELEASECOUNTRY" . "XW") ("RELEASESTATUS" . "official")
 ("MUSICBRAINZ_ALBUMARTISTID" . "c233c161-7fac-4c4a-93c9-1bad6d32c9c7")
 ("ALBUMARTISTSORT" . "Höstsonaten") ("LABEL" . "Mellow Records")
 ("TOTALDISCS" . "1") ("MEDIA" . "Digital Media") ("DISCNUMBER" . "1")
 ("TOTALTRACKS" . "5")
 ("MUSICBRAINZ_TRACKID" . "bb9325fc-b5a2-41de-8441-9f17f6b23ac3")
 ("MUSICBRAINZ_ARTISTID" . "c233c161-7fac-4c4a-93c9-1bad6d32c9c7")
 ("ARTISTSORT" . "Höstsonaten") ("ARTISTS" . "FINISTERRE PROJECT")
 ("MUSICBRAINZ_RELEASETRACKID" . "c1db3bf8-2e85-42a9-a7f1-4ddd823a920f")
 ("TRACKTOTAL" . "5") ("DISCTOTAL" . "1"))
T

Dependencies (5)

  • anaphora
  • cffi
  • check-it
  • cl-ppcre
  • parachute

Dependents (0)

    • GitHub
    • Quicklisp