NAME

toc2tags - add tags to mp3/ogg/flac files based on the contents of a tocfile


SYNOPSIS

  toc2tags [options]
  options:
    -h, --help            - Show the help message then exit
    -V, --version         - Show the version message then exit
    -v, --verbose         - Print messages while tagging
    -T, --verify          - Verify tags (read and print after writing)
    -t, --tocglob tocglob - Override default tocfile glob (00*.toc)


DESCRIPTION

toc2tags reads a jukebox table of contents file and uses its contents to add tags to the corresponding tracks' mp3/ogg/flac files.

The genre is taken to be the first word in the ``Jukebox:'' header which should be the category returned by freedb.org (to improve the chance of it being accepted). If MP3::Info wouldn't accept it, it's not used. This isn't an issue if you have ogg or flac files. Also note that mp3 tags are very short (28 characters) but ogg and flac tags can be long.

The -v option causes the tag information to be printed to standard output as each file is tagged so you can see what it's trying to do. The -T option causes the tags to be read back from the track files and printed to standard output after they've been written so you can see what really happened. The -t option overrides the default glob used to identify the tocfile.


BUGS

Requires the existence of the MP3::Info perl module even if you only have ogg or flac files.


FILES

  /etc/jukebox.conf - System wide configuration file
  ~/.jukeboxrc      - User specific configuration file


SEE ALSO

  rip(1), riptrack(1), mktoc(1), toc2names(1), toc2tags(1),
  cdr(1), cdrw(1), burn(1), burnw(1), cdbackup(1), mp3backup(1),
  jukebox(1), jukeboxc(1), jukeboxc.jar(1), jukeboxd(8),
  jukeboxd-init.d(8), jukebox.conf(5),
  http://raf.org/jukebox/Jukebox-HOWTO


AUTHOR

raf <raf@raf.org>