microsoft/PowerToys

.opus support for Peek

Open

#42.576 aberto em 18 de out. de 2025

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)C# (133.154 stars) (7.978 forks)batch import
Good first issueHelp WantedIdea-EnhancementProduct-PeekStatus-In progress

Description

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 https://github.com/microsoft/PowerToys/blob/b3628aa06826841fa7ecc3ee112d973287925d20/src/modules/peek/Peek.UI/Strings/en-us/Resources.resw#L376 with .opus added on the supportedFileTypes list https://github.com/microsoft/PowerToys/blob/b3628aa06826841fa7ecc3ee112d973287925d20/src/modules/peek/Peek.FilePreviewer/Previewers/MediaPreviewer/AudioPreviewer.cs#L163-L174

Scenario when this would be used?

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

Supporting information

No response

Guia do colaborador