Package: beets / 1.3.19-2.1

Metadata

Package Version Patches format
beets 1.3.19-2.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix test_hidden | (download)

test/test_hidden.py | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 test_hidden was missing suite() which made testall.suite() fail
no jellyfish | (download)

beets/autotag/hooks.py | 2 1 + 1 - 0 !
beets/util/_jellyfish.py | 56 56 + 0 - 0 !
setup.py | 1 0 + 1 - 0 !
3 files changed, 57 insertions(+), 2 deletions(-)

 bundle levenshtein_distance from jellyfish
 Debian already has a Python library called jellyfish. While we resolve that
 problem, let's avoid the need for re-packaging jellyfish.
Bug-Debian: https://bugs.debian.org/806716
fix test_mediafile_edge | (download)

test/test_mediafile_edge.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 a different exception is now returned for unreadable files
fix test_nonexistent_file | (download)

test/test_ui.py | 5 2 + 3 - 0 !
1 file changed, 2 insertions(+), 3 deletions(-)

 manage patching of try_filesize
skip test_query path tests | (download)

test/test_query.py | 9 9 + 0 - 0 !
1 file changed, 9 insertions(+)

 skip failing tests caused by sqlite_like_doesnt_match_blobs
 Path matching in beets is broken by SQLITE_LIKE_DOESNT_MATCH_BLOBS.
 Let's just skip these tests until upstream has a solution.
mediafile Cleanup mutagen error handling.patch | (download)

beets/library.py | 8 4 + 4 - 0 !
beets/mediafile.py | 65 30 + 35 - 0 !
beetsplug/scrub.py | 13 8 + 5 - 0 !
test/test_mediafile.py | 23 22 + 1 - 0 !
4 files changed, 64 insertions(+), 45 deletions(-)

 mediafile: cleanup mutagen error handling

Instead of the individial mutagen format exceptions use the
mutagen.MutagenError exception introduced in 1.25.

Since 1.33 mutagen will only raise MutagenError for load/save/delete
and no longer raise IOError. Translate both errors to UnreadableFileError
to support older and newer mutagen versions. Unify error handling
in __init__(), save() and delete().

Since it's no longer possible to get an IOError from MediaFile, adjust
all callers and tests accordingly.

This was tested with mutagen 1.27 and current mutagen master.

[smcv: backported to 1.3.19 by replacing six.text_type with unicode]

Test true FLAC bitrate from Mutagen 1.35.patch | (download)

test/test_mediafile.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 test "true" flac bitrate from mutagen 1.35

Fix #2343.