Replies: 2 comments 1 reply
-
FWIW, I'm a PHP dev that is currently learning SwiftUI (100 days of swift) and would love to be able to contribute to this project at some point! If you have any |
Beta Was this translation helpful? Give feedback.
-
Hi @n8udd ! usually the m4b files from Audible already have the chapters info encoded in, could you try importing that file into the app and see if the chapters are properly rendered? as to how BookPlayer parses this metadata, the AVFoundation framework provided by Apple is sort of a black box that handles extracting the metadata and exposes them via a separate API, but, for mp3s, we have verified that if you follow the ID3 tags standard(?) where besides the chapters (CHAP) array, you need to provide a table of contents (CTOC) frame, where it details the order of the chapters. Re the mp4 container, I haven't looked too much into it to be honest, but hopefully the m4b file already has all that info available As an additional note, if you download the books from your Audible library (aax format), there's an open source project, that handle removing the DRM, and even have the website up, where you just drop the aax file, select output format and OS, and it'll put out the file free of DRM and with all the metadata in place (I've only tested with m4b format) |
Beta Was this translation helpful? Give feedback.
-
I have recently downloaded my Audible library using Libation.
For each book I currently have a
.mp3
,.cue
,.m4b
and.metadata.json
files.The
metadata.json
file output is below, but I was wondering what I need to edit beforehand so that the chapters will show the correct chapter names.Is there any kind of documentation for how BookPlayer parses metadata and perhaps any kind of best practices/standards for formatting?
Beta Was this translation helpful? Give feedback.
All reactions