microsoft/PowerToys

.opus support for Peek

开放

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

 (4 条评论) (0 个反应) (0 位负责人)C# (7,978 个派生)batch import
Good first issueHelp WantedIdea-EnhancementProduct-PeekStatus-In progress

仓库指标

星标
 (133,154 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南