https://bugs.kde.org/show_bug.cgi?id=492644
Bug ID: 492644 Summary: Opus files with ".oga" or ".ogg" file extensions are not properly handled Classification: Frameworks and Libraries Product: frameworks-kfilemetadata Version: 6.5.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: pinak.ah...@gmail.com Reporter: openmail+...@siezi.com Target Milestone: --- Opus audio files usually have the ".opus" extension, but ".oga" or ".ogg" are also valid extensions. The mime-type for ".ogg" or ".oga" is "audio/ogg". kfilemetadata relies on taglib to extract the metadata, but explicitly asked for vorbis (not opus!) extraction based on the mime-type[1], which erros in taglib [2] and therefore kfilemetadata. As a result application relying on it (e.g. Elisa) refuse to handle opus in ".ogg" and ".oga" files [3]. I'm not a C++ dev, but I got some kdesrc-build going and did a simple copy&paste job in taglibextractor.cpp [4], which at least fixed playback in Elisa. [1] https://invent.kde.org/frameworks/kfilemetadata/-/blob/master/src/extractors/taglibextractor.cpp#L661 [2] https://github.com/taglib/taglib/blob/master/taglib/ogg/vorbis/vorbisfile.cpp#L124 [3] https://bugs.kde.org/show_bug.cgi?id=443519 [4] https://pastebin.com/BgydkqpM Operating System: CachyOS Linux KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.11.0-rc6-1-cachyos-rc (64-bit) Graphics Platform: Wayland Processors: 12 × 11th Gen Intel® Core™ i5-11400 @ 2.60GHz Memory: 31,2 GiB of RAM Graphics Processor: Mesa Intel® Arc -- You are receiving this mail because: You are watching all bug changes.