Skip to content

Find overlapping timestamps when sanitizing #6

@rndusr

Description

@rndusr

subed should now properly prevent overlapping subtitles while editing, but it
will still load a file with illegal timestamps.

Sanitizing should report:

  • Subtitles that have a larger start time than their stop time.

  • Subtitles that have a larger stop time than the next subtitle's start time, if
    there is a next subtitle.

Should this be implemented generically for all subtitle formats?

I'm not familiar with any subtitle formats besides SubRip. If all widely used
formats have the same concept of start/stop timestamps per subtitle, these
checks should probably be implemented generically.

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