Hi Pieter,

I appears to be due to the change in oggopus: provide a bitrate property (#704) 
[1] which was introduced in mutagen v1.48.0 [2].

I prepared a PR [3] instead of pushing to the repo directly. Could you please 
review?

Alternatively, attached is the patch as well.

Thanks!


[1] https://github.com/quodlibet/mutagen/pull/704
[2] https://github.com/quodlibet/mutagen/compare/release-1.47.0...release-1.48.0
[3] 
https://salsa.debian.org/python-team/packages/python-mediafile/-/merge_requests/1

--
Regards,
Lester

[email protected]
OpenPGP: 107B6026A82D044C97D7D8B92100C145E0F3655E

Description: fix bitrate in tests
 From mutagen 1.48.0 (a161810), oggopus now provides a bitrate property
Author: Lester Guerzon <[email protected]>
Bug: https://bugs.debian.org/1148518
Forwarded: not-needed
Last-Update: 2026-09-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

Index: python-mediafile/test/test_mediafile.py
===================================================================
--- python-mediafile.orig/test/test_mediafile.py
+++ python-mediafile/test/test_mediafile.py
@@ -987,7 +987,7 @@ class OpusTest(ReadWriteTestBase, unitte
     extension = "opus"
     audio_properties = {
         "length": 1.0,
-        "bitrate": 66792,
+        "bitrate": 52392,
         "bitrate_mode": "",
         "encoder_info": "",
         "encoder_settings": "",

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to