Module (scribbu)
provides a few other functions that can be
useful for working with ID3v2 tags & frames.
with-track-in(directory, fn)
is a convenience function; it will
iterate over all filesystem entities in directory and apply
fn to them. fn shall be a function taking three parameters:
Example:
scheme@(guile-user)> (with-track-in "." (lambda (tags pth v1) (format #t "~s has ~d ID3v2 tags\n" pth (length tags)))) "./track.dat" has 0 ID3v2 tags "./id3v22-tda.mp3" has 1 ID3v2 tags ...
Return #t
if tag has a frame with identifier id.
Returns a (possibly empty) list of frames in tag with identifier id.