Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHAP and CTOC support #63

Closed
attilagyorffy opened this issue Dec 4, 2014 · 8 comments
Closed

CHAP and CTOC support #63

attilagyorffy opened this issue Dec 4, 2014 · 8 comments

Comments

@attilagyorffy
Copy link

Hi,

Taglib has added CHAP and CTOC support back in July. It is not in a stable release yet, but I'd be interested in knowing what would it take to add bindings in taglib-ruby. I am not a C++ developer but I'd love to know if this was a lot of effort and if I could help. I don't quite know how one would add native extension support to begin with. Any help would be greatly appreciated.

Thanks,

-- Attila

@jacobvosmaer
Copy link
Collaborator

Hi @liquid , thanks for offering your help!

At the moment taglib-ruby is still targeting TagLib 1.7.2. If we add the CHAP/CTOC support now that would prevent taglib-ruby from working with 1.7.2 I think.

cc @robinst

@montekaka
Copy link

Do we have any method to add the chapter info?
thanks

@robinst
Copy link
Owner

robinst commented May 18, 2016

@montekaka No, not yet. As for upgrading to a newer minimum version of TagLib, we could upgrade to 1.9.1 (that's in Debian stable now). But CHAP/CTOC were only released in 1.10.

@miyagawa
Copy link

Hi, looks like version 1.0.0 of this gem has bumped the TagLib requirement to 1.11, meaning adding CHAP/CTOC isn't a problem wrt its dependency, I suppose.

I would love to be able to tag chapters in my Ruby workflow for podcasts -- currently I'm shelling out to Python3 to use Mutagen.

@neilberkman
Copy link

neilberkman commented Jan 8, 2021

Demo of an MP3 tagged using @iamazeem's code in #103 in Overcast. This uses:

  • TableOfContentsFrame
  • for each chapter:
    • TextIdentificationFrame for title (TIT2)
    • UserUrlLinkFrame (WXXX) for an external URL
    • AttachedPictureFrame for a chapter image

Repo: https://github.com/neilberkman/chapter-demo

chapter_demo.mov

@iamazeem
Copy link
Contributor

iamazeem commented Jan 9, 2021

@neilberkman:
Thank you for such an elaborate example! That repo is really helpful!

@robinst
Copy link
Owner

robinst commented Jan 20, 2021

Thanks @iamazeem, released in 1.1.0 🎉: https://github.com/robinst/taglib-ruby/blob/main/CHANGELOG.md#110---2021-01-20

@robinst robinst closed this as completed Jan 20, 2021
@razum2um
Copy link

Just in case anybody interested in alternatives, see https://github.com/hardcodefm/ruby-mp3info or PR

Also, test example, real-world example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants