Skip to content

Editor: Invalid end range #121

@HD1080ide

Description

@HD1080ide

If the end range is greater than 1984, I get the invalid end range error message.

A range of 0-1984 still works:

Parsing JSON file...
EditConfig {
  "remove": [
    "0-1984"
  ]
}
Removed 1985 metadata frames.
Generating and writing metadata to JSON file... Done.

A range of 0-1985 results in an error:

Parsing JSON file...
EditConfig {
  "remove": [
    "0-1985"
  ]
}
Removed 1986 metadata frames.
Generating and writing metadata to JSON file...
thread 'main' (50428) panicked at hdr10plus\src\metadata_json.rs:115:37:
index out of bounds: the len is 0 but the index is 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

A range of 0-1986 (or higher) will result in the invalid end range error:

Parsing JSON file...
EditConfig {
  "remove": [
    "0-1986"
  ]
}
Error: invalid end range 1986

I use a Windows computer, in case that's relevant.

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