Class: TagLib::MPEG::File
Overview
The file class for .mp3
and other MPEG files.
Instance Method Summary collapse
-
#audio_properties ⇒ TagLib::MPEG::Properties
Returns audio properties.
-
#id3v1_tag(create = false) ⇒ TagLib::ID3v1::Tag?
Returns the ID3v1 tag.
-
#id3v2_tag(create = false) ⇒ TagLib::ID3v2::Tag?
Returns the ID3v2 tag.
-
#initialize(filename, read_properties = true) ⇒ File
constructor
Load an MPEG file.
-
#tag ⇒ TagLib::Tag?
Returns a tag that contains attributes from both the ID3v2 and ID3v1 tag, with ID3v2 attributes having precendence.
Methods inherited from File
Constructor Details
#initialize(filename, read_properties = true) ⇒ File
Load an MPEG file.
9 10 |
# File 'docs/taglib/mpeg.rb', line 9 def initialize(filename, read_properties=true) end |
Instance Method Details
#audio_properties ⇒ TagLib::MPEG::Properties
Returns audio properties.
39 40 |
# File 'docs/taglib/mpeg.rb', line 39 def audio_properties end |
#id3v1_tag(create = false) ⇒ TagLib::ID3v1::Tag?
Returns the ID3v1 tag.
25 26 |
# File 'docs/taglib/mpeg.rb', line 25 def id3v1_tag(create=false) end |
#id3v2_tag(create = false) ⇒ TagLib::ID3v2::Tag?
Returns the ID3v2 tag.
33 34 |
# File 'docs/taglib/mpeg.rb', line 33 def id3v2_tag(create=false) end |
#tag ⇒ TagLib::Tag?
Returns a tag that contains attributes from both the ID3v2 and ID3v1 tag, with ID3v2 attributes having precendence.
17 18 |
# File 'docs/taglib/mpeg.rb', line 17 def tag end |