microsoft/PowerToys

.opus support for Peek

Open

#42,576 opened on 2025年10月18日

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 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

コントリビューターガイド