Module: TagLib
- Defined in:
- docs/taglib/base.rb
Overview
This is the top-level module of taglib-ruby.
Where to find what:
- Reading/writing basic tag and audio properties without having to know the tagging format: FileRef
- Reading properties of MPEG files: MPEG::File
- Reading/writing ID3v2 tags: MPEG::File and MPEG::File#id3v2_tag
- Reading/writing Ogg Vorbis tags: Ogg::Vorbis::File.
String Encodings
Sometimes, it is necessary to specify which encoding should be used to store strings in tags. For this, the following constants are defined:
TagLib::String::Latin1
TagLib::String::UTF16
TagLib::String::UTF16BE
TagLib::String::UTF8
TagLib::String::UTF16LE
For ID3v2 frames, you can also set a default text encoding globally using the ID3v2::FrameFactory.
Defined Under Namespace
Modules: ID3v1, ID3v2, MPEG, Ogg Classes: AudioProperties, File, FileRef, Tag