with-track-in
¶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:
read-tagset
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 ...