TagLib API Documentation
Public Member Functions | List of all members
TagLib::MP4::NeroChapterList Class Reference

#include <mp4nerochapterlist.h>

Inheritance diagram for TagLib::MP4::NeroChapterList:
[legend]
Collaboration diagram for TagLib::MP4::NeroChapterList:
[legend]

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
 

Detailed Description

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.

Member Function Documentation

◆ read()

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.

◆ remove()

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.

◆ write()

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.


The documentation for this class was generated from the following file: