Commit Graph

7712 Commits

Author SHA1 Message Date
Philipp Wolfer
718b8a4fe3 PICARD-2110: Add originaldate and originalyear to file naming examples 2021-02-09 19:32:13 +01:00
Tche333
97fae676c6 Update __init__.py 2021-01-22 14:45:09 +01:00
Tche333
758ea525fb Update __init__.py
Add a debug log when receiving a response from WebService.
Useful in case of AcousticId submission, specifically when the submissions are blocked in pending state on server in order to track the status.
2021-01-22 14:45:09 +01:00
Philipp Wolfer
1f128a2a04 Use PyQt 5.15.2 for Windows builds 2021-01-19 15:01:22 +01:00
Philipp Wolfer
105b8da7c3 Fixed Markdown formatting of $unset function docs 2021-01-18 16:08:16 +01:00
Philipp Wolfer
ee3a07de68 Update copyright years in about dialog 2021-01-18 15:51:56 +01:00
Philipp Wolfer
41e0c95ae3 Update picard.pot 2021-01-16 16:10:03 +01:00
Philipp Wolfer
dee1ad5c81 PICARD-1998: Add "director" (for videos) tag
This adds a tag "director" which is filled with the "video director" AR from MB by default.
2021-01-16 15:48:53 +01:00
Philipp Wolfer
f845a10cac Use yield from syntax where appropriate 2021-01-15 19:21:08 +01:00
Philipp Wolfer
4807b34c86 PICARD-204: Rename original release date variables
Use %_recording_firstreleasedate% and `%_releasegroup_firstreleasedate% for better readability.
2021-01-15 17:23:57 +01:00
Philipp Wolfer
a7e0b9f999 PICARD-204: Support for recording-level original release date
Provide variables %_recordingoriginaldate% and %_releaseoriginaldate%.
2021-01-15 17:23:57 +01:00
Philipp Wolfer
e5b98b8f47 PICARD-2092: Fixed autocomplete sorting and partial match 2021-01-15 13:59:29 +01:00
Philipp Wolfer
864903564f Merge pull request #1735 from phw/PICARD-2092-non-annoying-auto-completer
PICARD-2092: non annoying script autocompletion
2021-01-15 11:51:21 +01:00
Philipp Wolfer
af2cc80dac PICARD-2092: Use iterator for autocompletion choices 2021-01-15 11:34:40 +01:00
Philipp Wolfer
6b507a2b3c PICARD-2092: Fixed warning when autocompleting at end of script 2021-01-15 11:21:45 +01:00
Philipp Wolfer
bb36e781c3 PICARD-2092: Extend list of autocompleted variables
Add known hidden variables to the autocompletion.
2021-01-14 10:34:55 +01:00
Philipp Wolfer
12a22eeb7f PICARD-2092: Improved script auto completion
- Fixed popup not getting removed and triggering unexpectedly
- Allow explicitly opening the completion popup with Ctrl+Space
- More intelligent replacement of opening ( for functions and trailing % for variables
- Match text only up to current cursor position
2021-01-14 10:21:49 +01:00
Philipp Wolfer
3dbbcadb1b PICARD-2092: Use UnfilteredPopupCompletion for script autocomplete 2021-01-13 16:16:20 +01:00
Philipp Wolfer
e72aecb107 PICARD-2092: Make script autocompletion less annoying
Trigger script autocompletion only on text input, allow accepting a suggestion with return key.
2021-01-13 16:16:20 +01:00
Philipp Wolfer
1cc105d528 PICARD-2097: Fixed format strings in zh_CN localization 2021-01-10 21:44:03 +01:00
Philipp Wolfer
336a9271a8 Updated changelog for 2.5.6 release 2021-01-05 15:02:59 +01:00
Philipp Wolfer
16ea2a594c Register the Unity LauncherEntry interface on /com/canonical/unity/launcherentry/1
For better compatibility with libunity. Fixes issues with allowing access to this interface in snapd, maybe improves compatibility with other implementations as well.
2021-01-05 13:47:54 +01:00
Philipp Wolfer
134f3efea6 Run upgrade hooks on config upgrade only
For newly created configs there is no need to run upgrade hooks, the config defaults are already set accordingly.

This also allows having hooks that do changes that apply only on upgrade.
2021-01-05 10:40:56 +01:00
Philipp Wolfer
0ac28e7ff7 Get extensions for all supported image formats from imageinfo
Avoids maintaining a separate list of image extensions in coverartbox.
2021-01-04 13:28:19 +01:00
Philipp Wolfer
71a500318e Fixed fetching remote images other then PNG and JPEG
Refactored coverartbox to use imageinfo for getting supported mimetypes and directly try to initialize cover images instead of trying imageinfo.identify first.
2021-01-04 13:28:19 +01:00
Philipp Wolfer
6aeb1f2de4 Merge pull request #1730 from zas/imageread
Use classes for image type identification code
2021-01-03 13:05:53 +01:00
Laurent Monin
433af6c0aa TIFF: only test h and w properties when one is set 2021-01-03 12:56:17 +01:00
Laurent Monin
7bf8e06c77 Rework IdentifyTiff a bit 2021-01-03 12:46:50 +01:00
Laurent Monin
8013506f19 Use a set for JPEG Start Of Frame markers, and add one that was missing
0xC3 was forgotten

https://en.wikibooks.org/wiki/JPEG_-_Idea_and_Practice/The_header_part
https://www.disktuna.com/list-of-jpeg-markers/
https://de.wikipedia.org/wiki/JPEG_File_Interchange_Format
2021-01-03 11:08:19 +01:00
Laurent Monin
31b89e8d5c Convert image type identifying code to classes 2021-01-03 11:08:19 +01:00
Philipp Wolfer
0b7522f84d Restructured util.imageinfo 2021-01-03 10:06:38 +01:00
Philipp Wolfer
60087bfc3b PICARD-2090: Add TIFF support again 2021-01-03 10:06:38 +01:00
Philipp Wolfer
d4476ba02d Fixed file.metadata.deleted_tags not cleared after saving for ID3 v2.3 files
Behavior was wrong, even if I could not produce an actual visible wrong behavior.
2021-01-02 22:16:08 +01:00
Philipp Wolfer
a5479719a2 Merge pull request #1728 from phw/PICARD-2089-webp
PICARD-2089: Support WebP for cover art images
2021-01-02 22:05:10 +01:00
Philipp Wolfer
4eee1ad4d0 Add util.bitreader instead of importing private API from mutagen 2021-01-02 14:34:52 +01:00
Philipp Wolfer
7dbf56c557 PICARD-2089: Read dimensions of WebP simple format (lossy) 2021-01-02 12:24:20 +01:00
Philipp Wolfer
0d01615498 PICARD-2089: Support WebP for cover art images 2021-01-02 12:18:40 +01:00
Philipp Wolfer
9f57e09be4 PICARD-2088: Remove now obsolete locking mechanism from config.ConfigSection 2021-01-01 23:51:33 +01:00
Philipp Wolfer
0b2454fa6f Use get_config() instead of direct config access. 2021-01-01 23:51:33 +01:00
Philipp Wolfer
be7b578c75 PICARD-1943: Fix macOS app signature breaking on macOS 10.12/10.13
Avoid signature being written to extended file system attributes by moving resource files to Contents/Resources.
2020-12-31 20:15:54 +01:00
Philipp Wolfer
7cb9605e29 Updated translations 2020-12-31 14:52:37 +01:00
Philipp Wolfer
b7f4f3f11b Bump version to 2.6.0dev1
The changes to the config system with per thread config instances is considered an internal API change.
2020-12-31 12:38:00 +01:00
Philipp Wolfer
91943d1f14 PICARD-2087: Fix crash with Qt < 5.10 when adding new tag
QListWidget.isPersistentEditorOpen is only available in Qt 5.10 or later.
2020-12-31 12:32:58 +01:00
Philipp Wolfer
a2eec8bda7 Merge pull request #1723 from phw/modern-macos-build
PICARD-1950: Provide updated builds for macOS 10.12+ and 10.14+
2020-12-29 10:17:29 +01:00
Philipp Wolfer
999846c1ae Unity progress indicator is supposed to return an APP URI
See https://wiki.ubuntu.com/Unity/LauncherAPI#Progress
2020-12-28 12:44:45 +01:00
Philipp Wolfer
643ab1dc60 PICARD-2083: Allow empty fpcalc path, auto detect path if empty 2020-12-27 12:22:37 +01:00
Philipp Wolfer
19bafa2999 macOS: Only test package after build if it was codesigned
Without code signing this will likely fail due to signature errors
2020-12-26 16:53:41 +01:00
Philipp Wolfer
3c50b3ea4e More verbose output in macOS build script 2020-12-26 16:41:54 +01:00
Philipp Wolfer
293c2c730f macos: build with Python 3.9.1 2020-12-26 15:30:13 +01:00
Philipp Wolfer
09aa1b7467 macos: verify notarization and code signature 2020-12-26 15:30:12 +01:00