Skip to content

invalid chapter "length" parameter in json output #33

@itzexor

Description

@itzexor

Hello,

I have an ogg opus file which is part of a split-file audiobook. The first file contains embedded chapters which can be loaded by audiobookshelf. ABS uses tone for metadata analysis, and is getting some invalid chapter data past the first chapter. I decided to test tone standalone and see how the metadata was coming through. For some reason, this tool seems to generate invalid data for the "length" property for all except the first chapter. The embedded metadata is the standard vorbis chapters comment format, with no durations specified. Additionally, the chapters list total duration far exceeds the playback time of the file, so that could be having some fun interactions.

tone dump & opusinfo output:
https://gist.github.com/itzexor/29cd09be45ea986900fc8e6d7b2904d5

edit:
it's clear from the gist, but i forgot to mention that this is with json output. i didn't actually see a duration in the default dump

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions