twodoorcoupe
e18ef5a4ac
Compress image only once processing is finished
2024-06-11 11:24:27 +02:00
Laurent Monin
ad2753cacc
Make CoverArtImage sortable + matching tests
2024-05-20 18:30:20 +02:00
Laurent Monin
6bddf8e1b4
normalized_types(): return a tuple (hashable)
2024-05-20 18:30:20 +02:00
Laurent Monin
86736c5cc1
normalized_types(): ensure front type is first and the rest sorted
...
It fixes a minor issue where back cover could appear before front cover in dialogs showing those
2024-05-19 17:31:22 +02:00
Laurent Monin
a6fb5ef647
Fix tests
2024-04-25 19:26:39 +02:00
Philipp Wolfer
b096b982cb
PICARD-2814: Fix exception on loading embedded cover with invalid ID3 type
2024-01-08 13:23:07 +01:00
Philipp Wolfer
eb237c1e01
PICARD-2774: Do not fail loading files with invalid ID3 image types
2023-10-10 16:18:53 +02:00
Laurent Monin
6e0054d242
TagCoverArtImage(): properly set _repr() and _str() for this subclass
...
Also add matching tests
2023-09-20 13:16:01 +02:00
Laurent Monin
9cbc2b4766
Add tests for CoverArtImage __repr__() and __str__()
2023-09-14 14:56:40 +02:00
Philipp Wolfer
75871991b8
PICARD-2595: Customizable replacement for directory separators
2022-12-06 09:37:45 +01:00
Philipp Wolfer
cb339c6a4a
PICARD-356: Allow user defined replacements for Windows incompatible characters
2022-12-05 17:08:56 +01:00
Philipp Wolfer
95c736a13e
PICARD-2553: Add option to use underscores instead of spaces in file naming
...
This collapses multiple whitespace characters and underscores in a filename into a single underscore
2022-12-04 18:07:42 +01:00
Philipp Wolfer
a65a078e3b
Added test for default cover name with CoverArtImage._make_image_filename
2022-11-28 10:23:19 +01:00
Philipp Wolfer
de94e98fc8
Added test for relative paths with CoverArtImage._make_image_filename
2022-11-28 10:05:29 +01:00
Philipp Wolfer
c39c0cbb8d
PICARD-2590: Fix saving cover art images with relative paths
2022-11-28 09:46:55 +01:00
Philipp Wolfer
508e81991c
PICARD-2565: Apply make_short_filename and make_save_path to saved image files
2022-11-05 06:51:51 +01:00
Laurent Monin
2f6479747d
Update headers
2022-02-07 09:41:57 +01:00
Laurent Monin
14ce07756e
Update Copyright headers, with the help of fix-headers.py script
2021-11-10 21:38:54 +01:00
Philipp Wolfer
8154af24c9
PICARD-2311: Preserve ID3 APIC types for loaded images
2021-10-29 18:13:16 +02:00
Laurent Monin
6b5e852a60
Run fix-header on *.py
2020-02-24 10:25:09 +01:00
Laurent Monin
3f25bda3c8
Fix a bunch of flake8 warnings, mostly cosmetic changes
2020-02-21 21:43:40 +01:00
Philipp Wolfer
dd4da2aa47
Updated isort config to put test imports in separate section
2019-04-04 08:32:22 +02:00
Philipp Wolfer
05fc98c64a
Run isort over all files
2019-04-03 21:19:12 +02:00
Philipp Wolfer
7cf3945272
Removed unused imports
2019-03-29 10:55:28 +01:00
Philipp Wolfer
63cb114080
Always run tagger.run_cleanup for PicardTestCase
2019-03-29 08:59:14 +00:00
Philipp Wolfer
10f896d327
Formats test code cleanup
...
Addressed review comments
2019-03-28 14:18:14 +01:00
Philipp Wolfer
a268b13ceb
Refactored cover art file tests into format specific test files
2019-03-28 11:45:42 +01:00
Laurent Monin
9d7b8dc995
CoverArtImage.__init__(): add parameters to override supported types
...
It's convenient for testing
2019-03-22 10:32:31 +01:00
Laurent Monin
1a1e250489
Add tests for Metadata with images
2019-03-20 10:42:50 +01:00
Philipp Wolfer
bba5cef5fe
PICARD-1490: Run Windows path test on Windows only
2019-03-12 16:18:45 +01:00
Philipp Wolfer
e573dccc09
PICARD-1490: Fix local cover art loading on Windows
2019-03-12 09:19:16 +01:00
Philipp Wolfer
ccebf9c8b9
Refactored local cover art class
...
Generalized the handling of cover art URLs to also handle file:// scheme.
2019-02-22 14:14:00 +01:00
Philipp Wolfer
ecf8ad565a
PICARD-1178: Support comparing cover images with only one type
...
All our current tags support either no or only one type.
Fixes issues where files where shown as modified when loading again and comparing against cover art with more than one type.
2019-02-22 11:05:08 +01:00