An audio tagging library supporing mp3, mp4, flac, and ogg containers. It supports all of the common tags used in these files including one image in a simple abstracted way which hides most of the differences between the formats. ex. To get read all supported tags and image into a map use (get-all-info <path>) and a map will be returned with all tag data. ex. To update an existing tag with a new artist and album while leaving all other fields untouched, use (update-tag! <file> {:artist "new artist" :album "new album"}) ex. To delete the lyrics field, use (update-tag! <file> {:lyrics :delete}) Supported tags: mp3: track, track-total, disc-no, disc-total, title, artist, album, album-artist, year, genre, comment, composer, original-artist, remixer, conductor, bpm, grouping, isrc, record-label, encoder, lyricist, lyrics, artwork-mime, artwork-data (byte array) mp4: all from mp3 except original-artist, remixer, record-label ogg/flac: all except original-artist, track-total, record-label, disc-total, remixer, grouping API Documentation: http://danpallas.github.io/green-tags/ contributing: Pull requests are welcome, but try to keep the API simple and submit updated tests to go along with it. Don't use macros in the API because they complicate test mocking for any project that implements this library.
[green-tags "0.3.0-alpha"]
green-tags/green-tags {:mvn/version "0.3.0-alpha"}
implementation("green-tags:green-tags:0.3.0-alpha")
<dependency> <groupId>green-tags</groupId> <artifactId>green-tags</artifactId> <version>0.3.0-alpha</version> </dependency>
Want to display the latest version of your project on GitHub? Use the markdown code below!
If you want to include pre-releases and snapshots, use the following markdown code: