microsoft/PowerToys

.opus support for Peek

Open

#42,576 创建于 2025年10月18日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)C# (133,154 star) (7,978 fork)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

贡献者指南