:: flacinfo-rb :: Author: Darren Kirby mailto:bulliver@badcomputer.org License: Ruby = Quick API docs = == Initializing == require 'flacinfo' foo = FlacInfo.new("someSong.flac") == Public attributes == streaminfo :: hash of STREAMINFO block metadata seektable :: hash of arrays of seek points comment :: array of VORBIS COMMENT block metadata tags :: user-friendly hash of Vorbis comment metadata key=value pairs application :: hash of APPLICATION block metadata padding :: hash of PADDING block metadata cuesheet :: hash of CUESHEET block metadata picture :: hash of PICTURE block metadata flac_file :: hash of APPLICATION Id 0x41544348 (Flac File) metadata if present == Public methods == print_streaminfo :: pretty-print streaminfo hash hastag('str') :: returns true if tags['str'] exists print_tags :: pretty-print tags hash print_seektable :: pretty-print seektable hash meta_flac :: prints all META BLOCKS. (Mostly) equivelant to 'metaflac --list' raw_data_dump(?) :: if passed a filename it will dump flac_file['raw_data'] to that file, otherwise it will dump it to the console (even if binary!) write_picture(?) :: write image from PICTURE block(s) to optional file For more/different documentation see http://badcomputer.org/unix/code/flacinfo/