rust-id3 icon indicating copy to clipboard operation
rust-id3 copied to clipboard

Chapters TOC

Open brainrepo opened this issue 3 years ago • 2 comments

Is there a plan to add chapters TOC like in the https://id3.org/id3v2-chapters-1.0#sec3.2? I'd like to contribute but I am a newbie on rust :(

brainrepo avatar Sep 24 '22 22:09 brainrepo

CHAP is implemented, CTOC is not. I would welcome a patch that adds it!

If you would like to give this a shot, you might be able to start out by looking at how CHAP is decoded. Looking at the spec, it does seem like a quite complicated frame, so if you want to pass that's fine too :)

If you (or anyone reading along) would like me to implement this, please attach one or more files that contains such frames.

polyfloyd avatar Sep 25 '22 13:09 polyfloyd

I am trying to delve into the code :D in a while I will share with you an example. The file contains 3 chapters with TIT2, a link and an IMAGE per chapter. Also CTOC is present testsilence.mp3.zip

brainrepo avatar Sep 25 '22 16:09 brainrepo