Giter Club home page Giter Club logo

Comments (10)

Zazama avatar Zazama commented on August 22, 2024 2

Chapter (CHAP) support in 6f11909

It's gonna be in the next release soon, you can test/use it with the master index.js, I've tested it with eyeD3 implementation and everything seems to work fine

from node-id3.

Zazama avatar Zazama commented on August 22, 2024 1

You can basically embed everything you want.

chapter: [{
  elementID: "Follow-up: TSMC 10nm",
  startTimeMs: 54700,
  endTimeMs: 88300,
  tags: {                // OPTIONAL
    image: "/path/to/image",
    userDefinedText: [{
      description: "URL",
      value: "url..."
    }]
  }
}]

I don't know which kind of frame Forecast uses to embed the URL, though.

from node-id3.

Zazama avatar Zazama commented on August 22, 2024 1

I wanted to rewrite some stuff before publishing because the implementation is a bit messy, but it's taking a bit longer, so I've published it as 0.1.15 for now.

from node-id3.

Zazama avatar Zazama commented on August 22, 2024 1

Hey @shealan

urls are supported since 0.1.17, you can see their usage at the bottom of the tags list in the readme file. If you face any problems, feel free to open a new issue.

from node-id3.

shealan avatar shealan commented on August 22, 2024

This is very exciting. Is it possible to embed urls and images into the chapter marks?

There's a mac application that can do this https://overcast.fm/forecast so I am assuming the spec allows for it?

from node-id3.

shealan avatar shealan commented on August 22, 2024

@Zazama that's fantastic, thank you! Any idea how long until this will be merged into the main branch?

from node-id3.

FelicitusNeko avatar FelicitusNeko commented on August 22, 2024

As a note, it looks like URLs are kept under WXXX, which, according to your roadmap, isn't supported yet. Here's a screenshot of an example, as seen in a hex editor, if this helps any.

image

from node-id3.

shealan avatar shealan commented on August 22, 2024

Hey @Zazama. I'm coming back to this after a hiatus working on the project that required it. Are chapter urls still unsupported? I've looked far and wide for a solution that supports writing the full chapter spec, with titles, urls and images. This lib is the closest I can find :)

from node-id3.

shealan avatar shealan commented on August 22, 2024

@Zazama I have done some experimentation with chapters support. Results are encouraging but one last hurdle...

Although I can add chapter marks successfully they are not properly displayed by podcast players.

This clip is an example of a podcast with chapters. https://auphonic.com/media/blog/auphonic_chapters_demo.mp3 I erased all the ID3 tags and attempted to add some back in using node-id3.

When I run my file in Overcast (iOS podcast app) although I do see the chapter names display as they are played, I do not see the interactive chapter tool.

As a reference this is what I see with the example file mentioned above:

I have put up a demo podcast here: https://podlaunch.com/test/podcast.xml

Episode 1: Chapters Example (created with node-id3) - https://podlaunch.com/test/test.mp3
Episode 2: That example file mentioned above - https://podlaunch.com/test/original.mp3

Could it be something to do with table of contents? CTOC? When I compare the two files in another ID3 package I see that the version with chapters created using node-id3 is missing this.

from node-id3.

Zazama avatar Zazama commented on August 22, 2024

@shealan Right, CTOC seems to be the problem here, I've created #87

from node-id3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.