#include <mp4nerochapterlist.h>
Public Member Functions | |
| bool | read (TagLib::File *file) |
| bool | write (TagLib::File *file) |
| bool | remove (TagLib::File *file) |
Public Member Functions inherited from TagLib::MP4::ChapterHolder | |
| ChapterList | chapters () const |
| void | setChapters (const ChapterList &chapters) |
| bool | isModified () const |
| void | setModified (bool chaptersModified) |
Additional Inherited Members | |
Protected Attributes inherited from TagLib::MP4::ChapterHolder | |
| ChapterList | chapterList |
| bool | modified = false |
Reads, writes, and removes Nero-style chapter markers (chpl atom) from MP4 files. Operates independently of MP4::Tag – the chpl atom lives at moov/udta/chpl, a sibling of the metadata ilst path.
| bool TagLib::MP4::NeroChapterList::read | ( | TagLib::File * | file | ) |
Reads chapter markers from the already-opened file. Returns false if the file has no chpl atom.
| bool TagLib::MP4::NeroChapterList::remove | ( | TagLib::File * | file | ) |
Removes the chpl atom from the already-opened file. Returns true on success, or if no chpl atom exists.
| bool TagLib::MP4::NeroChapterList::write | ( | TagLib::File * | file | ) |
Writes chapter markers to the already-opened file, replacing any existing chpl atom. The chapter count is capped at 255 (Nero format limit). Returns true on success.