-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core (formats,meta): Replace and rewrite cues with chapters.
What most other media players and libraries call "chapters", Symphonia called "cues". Since cues were based off of FLAC's embedded cuesheets, cues were not able to fully represent the chapter structure of other media formats. Therefore, replace cues with chapters. Chapters in Symphonia are a tree-like data structure: `ChapterGroup`s (nodes) may contain one or more `Chapter`s (leaves), or other `ChapterGroup`s. Both may contain optional metadata. Unlike previously, `Chapters` are now defined by a start time, but also an optional end time. `Chapters` may also overlap. Last, like metadata, chapters may be pre-populated and passed to the format reader. This allows chapters stored in ID3v2 tags and other non-native metadata formats to be passed to the format reader. Fixes #16.
- Loading branch information
Showing
20 changed files
with
1,034 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.