Skip to content

Pick track with highest quality #626

@KatrinIhler

Description

@KatrinIhler

As far as I can tell, the Annotation Tool still selects the first track of each flavor regardless of quality. I thought I had patched that, but it turns out I only did that for the SWITCH fork that used the External API. But it shouldn't be too hard to introduce that here as well... My code snippet:

                          .thenComparingLong(entry -> {
                            Long width = (Long) entry.getValue().get("width");
                            Long height = (Long) entry.getValue().get("height");
                            if (height != null && width != null) {
                             return width * height;
                            }
                            return 0;
                          })

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions