From 7efe1cfe51600d8bedd7ec20bf2296c40a87f1b8 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 1 Sep 2020 09:19:15 +0300 Subject: [PATCH] beets: Fix wavpack mediafile test Extend mutagen-1.43.patch to include a fix for now supported bitrate of wavpack files. See https://github.com/beetbox/mediafile/commit/d2fc3b59f77c515b02dfe7ad936f89264375d2b4 for upstream's version of the change. --- pkgs/tools/audio/beets/mutagen-1.43.patch | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/audio/beets/mutagen-1.43.patch b/pkgs/tools/audio/beets/mutagen-1.43.patch index 84cf1bab03ec..d0d448c15e9a 100644 --- a/pkgs/tools/audio/beets/mutagen-1.43.patch +++ b/pkgs/tools/audio/beets/mutagen-1.43.patch @@ -1,8 +1,10 @@ -Backport https://github.com/beetbox/mediafile/commit/b3343c4ee08d1251ae5e2344401a2f5892b4e868 +Backport +https://github.com/beetbox/mediafile/commit/b3343c4ee08d1251ae5e2344401a2f5892b4e868 +https://github.com/beetbox/mediafile/commit/d2fc3b59f77c515b02dfe7ad936f89264375d2b4 to Beets 1.4.9. diff --git i/setup.py w/setup.py -index 79278f8..b8d6068 100755 +index 79278f8b..b8d60687 100755 --- i/setup.py +++ w/setup.py @@ -87,7 +87,7 @@ setup( @@ -15,9 +17,18 @@ index 79278f8..b8d6068 100755 'musicbrainzngs>=0.4', 'pyyaml', diff --git i/test/test_mediafile.py w/test/test_mediafile.py -index 36a2c53..54ef9dd 100644 +index 36a2c53a..0ddde44e 100644 --- i/test/test_mediafile.py +++ w/test/test_mediafile.py +@@ -888,7 +888,7 @@ class WavpackTest(ReadWriteTestBase, unittest.TestCase): + 'bitrate': 109312, + 'format': u'WavPack', + 'samplerate': 44100, +- 'bitdepth': 0, ++ 'bitdepth': 16, + 'channels': 1, + } + @@ -912,7 +912,7 @@ class AIFFTest(ReadWriteTestBase, unittest.TestCase): 'bitrate': 705600, 'format': u'AIFF',