Class: TagLib::ID3v2::Tag
Overview
An ID3v2 tag.
Instance Attribute Summary
Attributes inherited from Tag
#album, #artist, #comment, #genre, #title, #track, #year
Instance Method Summary collapse
-
#add_frame(frame) ⇒ void
Add a frame to the tag.
-
#frame_list ⇒ Array<TagLib::ID3v2::Frame>
Get a list of frames.
-
#remove_frame(frame) ⇒ void
Remove the passed frame from the tag.
-
#remove_frames(id) ⇒ void
Remove all frames with the specified ID from the tag.
Methods inherited from Tag
Instance Method Details
#add_frame(frame) ⇒ void
This method returns an undefined value.
Add a frame to the tag.
24 25 |
# File 'docs/taglib/id3v2.rb', line 24 def add_frame(frame) end |
#frame_list ⇒ Array<TagLib::ID3v2::Frame> #frame_list(frame_id) ⇒ Array<TagLib::ID3v2::Frame>
Get a list of frames. Note that the frames returned are subclasses of Frame, depending on the frame ID.
17 18 |
# File 'docs/taglib/id3v2.rb', line 17 def frame_list end |
#remove_frame(frame) ⇒ void
This method returns an undefined value.
Remove the passed frame from the tag.
Note: You can and shall not call any methods on the frame object after you have passed it to this method, because the underlying C++ object has been deleted.
35 36 |
# File 'docs/taglib/id3v2.rb', line 35 def remove_frame(frame) end |
#remove_frames(id) ⇒ void
This method returns an undefined value.
Remove all frames with the specified ID from the tag.
Note: If you have obtained any frame objects with the same ID from the tag before calling this method, you should not touch them anymore. The reason is that the C++ objects may have been deleted.
46 47 |
# File 'docs/taglib/id3v2.rb', line 46 def remove_frames(id) end |