55#include < taglib/id3v2tag.h>
66#include < taglib/id3v2header.h>
77
8+ #include < taglib/tbytevectorlist.h>
9+
810#include < taglib/attachedpictureframe.h>
11+ #include < taglib/chapterframe.h>
912#include < taglib/commentsframe.h>
1013#include < taglib/generalencapsulatedobjectframe.h>
1114#include < taglib/popularimeterframe.h>
1215#include < taglib/privateframe.h>
1316#include < taglib/relativevolumeframe.h>
17+ #include < taglib/tableofcontentsframe.h>
1418#include < taglib/textidentificationframe.h>
1519#include < taglib/uniquefileidentifierframe.h>
1620#include < taglib/unknownframe.h>
@@ -36,8 +40,12 @@ VALUE taglib_id3v2_frame_to_ruby_object(const TagLib::ID3v2::Frame *frame) {
3640 ti = SWIGTYPE_p_TagLib__ID3v2__UnknownFrame;
3741 else if (id == " APIC" )
3842 ti = SWIGTYPE_p_TagLib__ID3v2__AttachedPictureFrame;
43+ else if (id == " CHAP" )
44+ ti = SWIGTYPE_p_TagLib__ID3v2__ChapterFrame;
3945 else if (id == " COMM" )
4046 ti = SWIGTYPE_p_TagLib__ID3v2__CommentsFrame;
47+ else if (id == " CTOC" )
48+ ti = SWIGTYPE_p_TagLib__ID3v2__TableOfContentsFrame;
4149 else if (id == " GEOB" )
4250 ti = SWIGTYPE_p_TagLib__ID3v2__GeneralEncapsulatedObjectFrame;
4351 else if (id == " POPM" )
@@ -126,12 +134,21 @@ VALUE taglib_id3v2_framelist_to_ruby_array(TagLib::ID3v2::FrameList *list) {
126134%include <taglib/attachedpictureframe.h>
127135
128136// Ignore the unified property interface.
137+ %ignore TagLib::ID3v2::ChapterFrame::asProperties;
129138%ignore TagLib::ID3v2::CommentsFrame::asProperties;
139+ %ignore TagLib::ID3v2::TableOfContentsFrame::asProperties;
140+
141+ %rename(" element_id=" ) TagLib::ID3v2::ChapterFrame::setElementID(const ByteVector &eID);
142+ %include <taglib/chapterframe.h>
130143
131144%include <taglib/commentsframe.h>
132145%include <taglib/generalencapsulatedobjectframe.h>
133146%include <taglib/popularimeterframe.h>
134147%include <taglib/privateframe.h>
148+
149+ %rename(" element_id=" ) TagLib::ID3v2::TableOfContentsFrame::setElementID(const ByteVector &eID);
150+ %include <taglib/tableofcontentsframe.h>
151+
135152%include <taglib/textidentificationframe.h>
136153
137154// Ignore the unified property interface.
0 commit comments