Commit Graph

9044 Commits

Author SHA1 Message Date
Philipp Wolfer
94d554bb9f Use the style override only for macOS
We currently only need it there. This prevents unwanted side effects on other platforms.
2022-07-05 18:37:31 +02:00
Philipp Wolfer
20fa8fe64b PICARD-2515: Ensure color chooser buttons can be styled on macOS
On macOS the style override prevents styling these buttons. Hence explicitly reset the style for these widgets only.
2022-07-05 18:34:45 +02:00
Kamil
a204b5223f unparsed_args removed from tagger.py (#2127)
unparsed_args removed from `tagger.py`

The variable wasn't used anywhere (wasn't even stored as `Tagger`'s attribute)
2022-07-04 08:01:33 +02:00
Laurent Monin
7cf6b9225a Merge pull request #2126 from skelly37/tests
Timeouts added to all the unit tests
2022-07-01 14:56:35 +02:00
Kamil
f3d3b2647d unified timeouts 2022-06-29 14:19:17 +00:00
Kamil
4896e30dbe timeout added 2022-06-28 23:36:52 +00:00
Kamil
20869e31b1 timeouts added 2022-06-28 23:34:48 +00:00
Kamil
965f675243 added timeout to *verify sdist package*
Should have a bit more time preallocated than just run-tests but it also can get stuck (runs tests too), so timeout 40min should be okay.
2022-06-28 23:30:19 +00:00
Philipp Wolfer
67db5950a2 Update picard.pot 2022-06-27 08:55:07 +02:00
Philipp Wolfer
6e6f3da20a Merge pull request #2125 from rdswift/unexpected_script_execution
PICARD-2508: Unexpected script execution results when using file naming script editor
2022-06-27 07:59:56 +02:00
Bob Swift
28b9187dab Only execute scripts if original metadata has not changed 2022-06-26 14:40:29 -06:00
Bob Swift
8c1af7eade Build example file names from a copy of the file metadata 2022-06-26 11:50:31 -06:00
Philipp Wolfer
84f1092ff7 PICARD-2507: Include pregap track in medium's totaltracks count 2022-06-26 18:14:22 +02:00
Philipp Wolfer
277e943e5c PICARD-2506: Fixed calling fpcalc with long path filename
On Windows always add the long path prefix \\?\ if the path exceeds this limit, independent of the OS configuration for long path supports. This fixes ffmpeg currently not being able to handle long paths.

Added util method win_prefix_longpath() to help with that.
2022-06-26 18:13:58 +02:00
Kamil
9c0e373314 timeout added to pytest (#2122)
timeout added to pytest
2022-06-26 14:14:35 +02:00
Philipp Wolfer
2c7928c4e3 Merge pull request #2120 from phw/PICARD-2504-configurable-query-limit
PICARD-2504: Increase default query limit and make it configurable
2022-06-25 00:14:24 +02:00
Philipp Wolfer
eb74f499d1 PICARD-2505: Sanitize cover art type before using it as filename
Fixes accidental folder creation for types "matrix/runout" or "raw/unedited".
2022-06-25 00:13:24 +02:00
Philipp Wolfer
ec8c71ab63 PICARD-2504: Limit query limit choice to 25, 50, 75 and 100 2022-06-21 08:12:30 +02:00
Philipp Wolfer
680654b244 PICARD-2504: Add query_limit to option profiles 2022-06-21 08:05:04 +02:00
Philipp Wolfer
9250d01559 PICARD-2504: Increase MB web service query limit to 50 2022-06-20 21:21:29 +02:00
Philipp Wolfer
8d987ade6a PICARD-2504: Make MB web service query limit configurable 2022-06-20 21:21:29 +02:00
Frazer Smith
401102d2ef Update GitHub Actions 2022-06-18 22:58:43 +02:00
Philipp Wolfer
3b26fe8c42 Haiku: Added Icon-O-Matic source icon 2022-06-10 14:02:19 +02:00
Philipp Wolfer
b65a9104e6 Merge pull request #2118 from phw/PICARD-2480-eac-log-detect-data-tracks
PICARD-2480: Detect and ignore data tracks in EAC logs
2022-06-10 06:44:41 +02:00
Philipp Wolfer
1ac8b5dccf Merge pull request #2117 from phw/PICARD-2498
PICARD-2498: HTML escape plugin metadata before display in options
2022-06-09 23:16:23 +02:00
Laurent Monin
54fcdb98f3 TestCalculateMbTocNumbers: test NotSupportedTOCError messages 2022-06-09 22:23:17 +02:00
Laurent Monin
e3edfb757e calculate_mb_toc_numbers(): use f-string 2022-06-09 22:23:17 +02:00
Laurent Monin
73b57bf3a9 calculate_mb_toc_numbers(): toc is empty, not needed in exception message 2022-06-09 22:23:17 +02:00
Philipp Wolfer
f65dcd79b1 Use a namedtuple for TOC entries from parsed ripper logs 2022-06-09 17:56:51 +02:00
Philipp Wolfer
32fef293e1 PICARD-2480: Detect and ignore data tracks in EAC log files 2022-06-09 17:56:51 +02:00
Philipp Wolfer
5ef1a4825e Re-enable macOS tests with Python 3.10 2022-06-08 23:56:31 +02:00
Philipp Wolfer
bb07ff7f41 PICARD-2498: Added test for PluginsOptionsPage.link_authors 2022-06-08 21:16:57 +02:00
Philipp Wolfer
51bbbf362a PICARD-2498: Link plugin authors with e-mail using mailto: 2022-06-07 18:12:18 +02:00
Philipp Wolfer
fdb9752147 PICARD-2498: HTML escape plugin metadata before display 2022-06-07 17:56:51 +02:00
Philipp Wolfer
04ddb9f3f0 Release 2.8.1 2022-06-07 08:10:30 +02:00
Philipp Wolfer
3dcaf0ccdf Updated translations from transifex 2022-06-07 08:00:29 +02:00
Laurent Monin
b6665ce159 album.load_tracks(): move constant result test outside the loop 2022-06-05 09:23:53 +02:00
Laurent Monin
2005645b9d album.load_tracks(): reduce code redundancy
- introduce a local function _load_track()
2022-06-05 09:23:53 +02:00
Laurent Monin
df2c0da507 Merge pull request #2114 from phw/PICARD-2494-standalone-recordings-no-info
PICARD-2494: The view info dialog is not needed for NatAlbum
2022-06-03 10:33:20 +02:00
Philipp Wolfer
918120b5c8 PICARD-2494: The view info dialog is not needed for NatAlbum 2022-06-02 20:51:17 +02:00
Laurent Monin
4353f1d276 Merge pull request #2113 from phw/PICARD-2489-strxfrm-catch-oserror
PICARD-2491: Handle crash when loading albums with MBID redirect
2022-05-31 09:56:20 +02:00
Philipp Wolfer
daf6fe2412 PICARD-2491: Handle crash when loading albums with MBID redirect
After loading an album that leads to an MBID redirect _parse_result would be False, but since 8fa8bd8 this would trigger advanced relationship reload. This would trigger finalizing the loading without data being parsed.

Introduce ParseResult enum to separate the different results of parsing.
2022-05-30 21:54:20 +02:00
Philipp Wolfer
08e2328956 PICARD-2489: Handle strxfrm raising OSError
locale.strxfrm can raise OSError on some systems. Handle this gracefully to avoid Picard crashing.
2022-05-30 17:10:55 +02:00
Philipp Wolfer
a9da67e000 PICARD-2493: Ensure translation domains get used even if some translation files are missing 2022-05-30 09:02:24 +02:00
Philipp Wolfer
eb21d36d6c Release 2.8 2022-05-24 08:02:55 +02:00
Philipp Wolfer
765024d743 Build releases with PyJWT 2.4.0 2022-05-23 20:26:15 +02:00
Philipp Wolfer
9325ab4e8e README: Use HTTPS for all links 2022-05-23 10:43:19 +02:00
Philipp Wolfer
424c947706 README: Link to plugin list 2022-05-23 10:40:28 +02:00
Philipp Wolfer
a492594575 Updated translations from Transifex 2022-05-18 08:24:11 +02:00
Philipp Wolfer
a45eb53f7c Fixed NSIS template build 2022-05-12 10:39:00 +02:00