microsoft/PowerToys

.opus support for Peek

Aperta

#42.576 aperta il 18 ott 2025

 (4 commenti) (0 reazioni) (0 assegnatari)C# (7978 fork)batch import
Good first issueHelp WantedIdea-EnhancementProduct-PeekStatus-In progress

Metriche repository

Star
 (133.154 stelle)
Metriche merge PR
 (Merge medio 14g 20h) (117 PR mergiate in 30 g)

Descrizione

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

Guida contributor