Skip to content

.opus support for Peek #42576

@kkofu

Description

@kkofu

Description of the new feature / enhancement

With Web Media Extensions installed, I can just rename an audio.opus file to audio.ogg (opus audio codec in ogg container) and it will play fine.
Without Web Media Extensions, seekbar will show "Unsupported Video Type or Invalid File Path", and I think it should fall back to the default warning message

<value>Your device doesn't support the {0} format. To play this file, install a codec that supports this format.</value>

with .opus added on the supportedFileTypes list
private static readonly HashSet<string> _supportedFileTypes = new()
{
".aac",
".ac3",
".amr",
".flac",
".m4a",
".mp3",
".ogg",
".wav",
".wma",
};

Scenario when this would be used?

When using Peek to preview audio files with .opus file extension

Supporting information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueGood for newcomers.Help WantedWe encourage anyone to jump in on these and submit a PR.Idea-EnhancementNew feature or request on an existing productProduct-PeekRefers to Peek PowertoysStatus-In progressThis issue or work-item is under development

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions