Binary-class/  mp3:   parsing ID3v2.1 and ID3v2.2
read-id3
song
album
artist
track
year
genre
translated-genre
id3-tag%
8.12

Binary-class/mp3: parsing ID3v2.1 and ID3v2.2🔗ℹ

Roman Klochkov <kalimehtar@mail.ru>

This package is based upon idea in Practical Common Lisp.

procedure

(read-id3 path)  (is-a?/c id3-tag%)

  path : path-string?
Returns interface for reading ID3 from given file from path

procedure

(song id3)  string?

  id3 : (is-a?/c id3-tag%)
Returns song name of the mp3 track.

procedure

(album id3)  string?

  id3 : (is-a?/c id3-tag%)
Returns album name of the mp3 track.

procedure

(artist id3)  string?

  id3 : (is-a?/c id3-tag%)
Returns artist name of the mp3 track.

procedure

(track id3)  string?

  id3 : (is-a?/c id3-tag%)
Returns track name of the mp3 track.

procedure

(year id3)  string?

  id3 : (is-a?/c id3-tag%)
Returns year of the mp3 track.

procedure

(genre id3)  string?

  id3 : (is-a?/c id3-tag%)
Returns genre (as integer in parens) of the mp3 track.

procedure

(translated-genre id3)  string?

  id3 : (is-a?/c id3-tag%)
Returns genre (as text) of the mp3 track.

class

id3-tag% : class?

  superclass: object%

  extends: binary<%>
Class, implementing interface to ID3 tags