Commit Graph

6973 Commits

Author SHA1 Message Date
Philipp Wolfer
a33133b13e PICARD-1744: Fixed crash on invalid ignore_regex 2020-02-16 18:58:21 +01:00
Philipp Wolfer
4027eeafff Added German with Swiss ortography
de_CH does not seem to be supported on Transifex, but the differences to German (Germany) are small. The de_CH.po only contains the strings with differences, gettext will automatically fallback to "de" for the rest.
2020-02-15 14:23:10 +01:00
Bob Swift
6683dcf891 Remove unnecessary 'try' block from $slice function 2020-02-14 08:16:02 +01:00
Laurent Monin
f3ca11c161 Merge pull request #1471 from zas/translate_nsh_french
French translation for installer (.nsh)
2020-02-13 16:42:31 +01:00
Laurent Monin
4b2bfc2b5a Minor French installer translation fixes 2020-02-12 22:33:15 +01:00
Laurent Monin
2aafa0f5e8 Enable French language for installer 2020-02-12 18:21:16 +01:00
Laurent Monin
cd295cf8e2 Merci de -> veuillez
Suggested by trebmuh
2020-02-12 17:29:43 +01:00
Laurent Monin
94b1628533 French translation for installer (.nsh) 2020-02-12 16:28:45 +01:00
Philipp Wolfer
a9b16c2578 PICARD-1740: Store originalfilename to ASF as WM/OriginalFilename
See also:
- http://msdn.microsoft.com/en-us/library/ms867702.aspx
- https://help.mp3tag.de/main_tags.html
2020-02-11 23:46:55 +01:00
Philipp Wolfer
c018f076ea PICARD-1739: Use new Version class for version comparison in update check
Fixes update check not properly comparing alpha, beta and rc releases.
2020-02-11 23:03:20 +01:00
Philipp Wolfer
12e8e20906 Fixed typo in changelog 2020-02-11 20:51:00 +01:00
Philipp Wolfer
58ffb8bb1c Generate SHA256 checksums for release packages 2020-02-11 16:48:33 +01:00
Philipp Wolfer
b836da0219 Release 2.3.0rc1 2020-02-11 16:30:44 +01:00
Philipp Wolfer
9c5f669acf Update translations 2020-02-11 15:44:53 +01:00
Philipp Wolfer
68a6ce79df Merge pull request #1465 from phw/PICARD-1688-batch-submit-acoustid
PICARD-1688: Submit AcoustID fingerprints in batches
2020-02-11 13:59:17 +01:00
Philipp Wolfer
dce902f192 PICARD-1688: Added tests for AcoustID submission 2020-02-11 13:35:04 +01:00
Philipp Wolfer
4abadede20 PICARD-1688: Code cleanup 2020-02-11 12:55:18 +01:00
Philipp Wolfer
c0185c7dec PICARD-1738: Load standalone-recording when searching for a recording URL 2020-02-11 12:00:31 +01:00
Philipp Wolfer
81c395fef2 Simplify the open_plugin_dir implementation 2020-02-11 10:54:40 +01:00
Philipp Wolfer
e7fe616512 PICARD-1688: Submit AcoustID fingerprints in batches
Avoids issues with exceeding the body size limit for submission requests. Also this makes the entire submission process more robust, as the submission of many fingerprints can now succeed partially instead of failing in its entirety.

The upper limit is around 250 fingerprints, which is equivalent to roughly 1 MiB of data. But use a batch count of actually 240 fingerprints per submission to have some leeway for varying data.
2020-02-10 17:09:31 +01:00
Philipp Wolfer
569c0bae46 Added categories to appdata 2020-02-10 16:36:54 +01:00
Laurent Monin
cb99c4a452 Merge pull request #1464 from zas/cache_size_const
Improve Network Cache size logging, use SI human-readable units
2020-02-10 15:13:44 +01:00
Laurent Monin
c93d9098f5 Improve debug infos about network cache
This code was arbitrarily use binary units instead of SI units.
Use `bytes2human` methods to produce human-readable output in the debug logs.
2020-02-10 13:39:51 +01:00
Laurent Monin
212db1c9f6 bytes2human: add l10n parameter to prevent localization
By default, localization happens, there was no way to disable it.
2020-02-10 13:39:51 +01:00
Philipp Wolfer
db8a2e1895 Bundle mutagen 1.44 for macOS / Windows builds 2020-02-10 12:07:35 +01:00
Laurent Monin
b727dfb4e3 Merge pull request #1462 from zas/tests_really_remove_dirs
Tests: ensure temporary directories and files are removed after tests
2020-02-09 23:10:23 +01:00
Laurent Monin
0631e5ff28 Move copy_file_tmp() and remove_file_tmp() to PicardTestCase
It helps to reduce code redundancy.
2020-02-08 18:04:39 +01:00
Laurent Monin
64291c309c Use NamedTemporaryFile instead of mkstemp 2020-02-08 18:04:39 +01:00
Laurent Monin
498c8eab1b Add mktmpdir method to PicardTestCase, and use it more widely 2020-02-08 18:04:39 +01:00
Laurent Monin
b7389a6445 Tests: ensure temporary directories and files are removed after tests
- QSettings object needs special care, as file was re-created on exit
- Append a cleanup function as soon as possible to ensure temporary dirs & files are removed in any case
- prefer addCleanup() over tearDown(), keeping creation and cleanup together
2020-02-08 18:04:39 +01:00
Philipp Wolfer
b7281c5147 Update picard.pot 2020-02-07 10:07:55 +01:00
Philipp Wolfer
901795907a PICARD-1724: Do not mark fingerprints in left pane for submission
Submitting fingerprints should only be done if files are properly matched to tracks on the right. They should not be marked as submittable if they are on the left, even if they have `musicbrainz_recordingid` set.
2020-02-07 09:58:57 +01:00
Philipp Wolfer
9fb4c954a9 PICARD-1737: Add keyboard shortcut for "Generate Fingerprints" 2020-02-07 09:58:00 +01:00
Philipp Wolfer
3cab7b04f9 PICARD-1736: Shorter label for "Generate Fingerprints" action in toolbar 2020-02-07 09:58:00 +01:00
Bob Swift
7762f9b929 Add $datetime() function and associated tests 2020-02-07 00:49:35 +01:00
Philipp Wolfer
f090c06572 CI: Also run package workflow when tests have changed
This provides proper builds after fixing tests.
2020-02-06 19:55:42 +01:00
Philipp Wolfer
7c6929286b Apply utime test workaround for all macOS versions.
This also seems not only on the macOS version but also on the Python build being used. On the build server with macOS 10.15 this works with the Python binaries provided on the server, but fails with official binaries from python.org.
2020-02-06 19:55:42 +01:00
Philipp Wolfer
f3aa0c1b08 PICARD-1733: Use official Python binaries on macOS
Fixes issues with builds not running on macOS 10.12 as the Python available on GHA is working only with macOS 10.13 and later.
2020-02-06 19:55:42 +01:00
Philipp Wolfer
1ad55ebff0 PICARD-1726: Moved widget deleted detection logic to OptionsPage 2020-02-06 19:54:56 +01:00
Philipp Wolfer
d21eca5a25 PICARD-1726: Fix crash when closing options while loading plugins
Work around Qt C++ objects getting deleted before request callback gets called.
2020-02-06 19:54:56 +01:00
Philipp Wolfer
5f70314a2a Update translations from Transifex 2020-02-05 09:16:58 +01:00
Philipp Wolfer
d7e1fd0bd6 PICARD-1727: Fix translating performer tag 2020-02-05 07:59:15 +01:00
Philipp Wolfer
f7f7f109de PICARD-1725: Fix rendering artifacts in fingerprint indicator
On scrolling sometimes the fingerprint indicator column got partial repaints, which were not supported. Completely repaint the cell now.
2020-02-05 07:52:27 +01:00
Laurent Monin
5115c48930 Merge pull request #1451 from rdswift/scripting_slice_multi
PICARD-1720: Add scripting $slice() with associated tests.
2020-02-03 23:06:52 +01:00
Bob Swift
3903007a79 Add $slice() function and associated tests 2020-02-03 14:58:16 -07:00
Laurent Monin
0053087be6 Merge pull request #1452 from rdswift/scripting_join_multi
PICARD-1721: Add $join() script function and associated tests
2020-02-03 22:19:28 +01:00
Bob Swift
761c49124a Add $join() function and associated tests 2020-02-03 12:24:26 -07:00
Philipp Wolfer
b63a35296a Adapt capitalization of "Generate AcoustID Fingerprints"
Use same capitalization as in other actions.
2020-02-03 18:02:23 +01:00
Philipp Wolfer
d653270b71 PICARD-1723: Consider disc number when comparing metadata
Improves results when matching files to multi-disc albums.
2020-02-03 11:16:52 +01:00
Laurent Monin
793aff31fb Merge pull request #1453 from zas/fix_script_func_names
Unify new and old script function names
2020-02-01 19:22:00 +01:00