twodoorcoupe
c6ff9caa5a
Add option to stretch or crop
2024-06-25 10:51:40 +02:00
twodoorcoupe
9f5184a48a
Add unit tests for new image resizing options
2024-06-25 10:51:40 +02:00
twodoorcoupe
89f5dc1243
Refactor ResizeImage and improve ui
2024-06-25 10:51:40 +02:00
twodoorcoupe
6ff4b9ac4a
Add more options to image resizing
2024-06-25 10:51:40 +02:00
Philipp Wolfer
efdd628016
Fixed coverart processing test cases
2024-06-24 19:08:11 +02:00
Philipp Wolfer
064685be02
Build on macos-12 image
...
Github Actions deprecated the macos-11 runner
2024-06-24 19:08:11 +02:00
Philipp Wolfer
9325919f05
ClusterList.lookup_metadata must not be a property
2024-06-22 11:28:51 +02:00
Vaclovas Intas
d584d313f1
Translated using Weblate (Lithuanian)
...
Currently translated at 70.6% (853 of 1208 strings)
Co-authored-by: Vaclovas Intas <gateway_31@protonmail.com >
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/lt/
Translation: Picard/App
2024-06-20 15:42:28 +00:00
Laurent Monin
3fceed3f11
Merge pull request #2514 from twodoorcoupe/display_external_file
...
Add new column for external images to artwork infodialog
2024-06-18 22:31:43 +02:00
twodoorcoupe
d535038601
Improve artwork infodialog
2024-06-18 11:45:14 +02:00
twodoorcoupe
a127c6098d
Hide unneccessary columns in artwork infodialog and update unit tests
2024-06-17 12:28:30 +02:00
twodoorcoupe
c22fe4cd64
Add new external image to artwork infodialog
2024-06-15 11:37:21 +02:00
Philipp Wolfer
9d6434cad7
Merge pull request #2510 from twodoorcoupe/image_processing
...
PICARD-1241: Add option to resize images above a given maximum size
2024-06-15 09:23:10 +02:00
Philipp Wolfer
614330df51
Fix suspend_metadata_images_update used as context
...
MetadataItem.suspend_metadata_images_update is now a context and must not
be assigned directly.
2024-06-14 18:58:34 +02:00
twodoorcoupe
a9797f828c
Apply stylistic fixes
2024-06-14 12:33:47 +02:00
Laurent Monin
b745c1f1f2
Merge pull request #2512 from zas/drop_plugin_prio_enum
...
Drop PluginPriority in favor of a simple integer and add tests
2024-06-14 10:07:05 +02:00
twodoorcoupe
cef3512bae
Improve image processors chain
2024-06-13 21:12:40 +02:00
twodoorcoupe
1a1ca50374
Collect processing time
2024-06-12 10:00:30 +02:00
Laurent Monin
8ee7759589
Drop PluginPriority in favor of a simple integer and add tests
...
- Only default value was used in the code
- having an enum for that is rather limiting its use
- add tests for PluginFunctions class
2024-06-11 16:13:57 +02:00
Vaclovas Intas
6e152fb6cf
Translated using Weblate (Lithuanian)
...
Currently translated at 11.3% (118 of 1041 strings)
Co-authored-by: Vaclovas Intas <gateway_31@protonmail.com >
Translate-URL: https://translations.metabrainz.org/projects/picard/3/constants/lt/
Translation: Picard/Constants
2024-06-11 13:42:30 +00:00
twodoorcoupe
e18ef5a4ac
Compress image only once processing is finished
2024-06-11 11:24:27 +02:00
Vaclovas Intas
0ee767ca46
Translated using Weblate (Lithuanian)
...
Currently translated at 70.5% (852 of 1208 strings)
Co-authored-by: Vaclovas Intas <gateway_31@protonmail.com >
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/lt/
Translation: Picard/App
2024-06-10 11:42:33 +00:00
Vaclovas Intas
712e9d36c6
Translated using Weblate (Lithuanian)
...
Currently translated at 70.5% (852 of 1208 strings)
Co-authored-by: Vaclovas Intas <gateway_31@protonmail.com >
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/lt/
Translation: Picard/App
2024-06-08 15:42:34 +00:00
twodoorcoupe
35b488a4c1
Add option to resize images above a given maximum size
2024-06-07 15:07:51 +02:00
Philipp Wolfer
cc38010597
Merge pull request #2506 from twodoorcoupe/image_filtering
...
PICARD-2926: Add option to filter out images below a given size
2024-06-07 08:46:34 +02:00
ApeKattQuest, MonkeyPython
f28091b8ca
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 46.6% (564 of 1208 strings)
Co-authored-by: ApeKattQuest, MonkeyPython <ApeKattQuestMonkeyPython@users.noreply.translations.metabrainz.org >
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/nb_NO/
Translation: Picard/App
2024-06-05 18:43:03 +00:00
Vaclovas Intas
989e8f2198
Translated using Weblate (Lithuanian)
...
Currently translated at 69.3% (838 of 1208 strings)
Co-authored-by: Vaclovas Intas <gateway_31@protonmail.com >
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/lt/
Translation: Picard/App
2024-06-05 18:43:03 +00:00
Philipp Wolfer
0a967a36df
Translated using Weblate (German)
...
Currently translated at 98.3% (1188 of 1208 strings)
Co-authored-by: Philipp Wolfer <ph.wolfer@gmail.com >
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/de/
Translation: Picard/App
2024-06-05 18:43:03 +00:00
Laurent Monin
7241c8b642
Merge pull request #2509 from zas/register_funcs
...
Move last register_* methods to extension_points
2024-06-05 12:59:03 +02:00
Laurent Monin
abed8baafc
Move register_*_metadata_processor() to new extension_points/metadata.py
2024-06-05 12:32:13 +02:00
Laurent Monin
f86de5d2fe
Move register_(file|album)_*()aethods to new extension_points/event_hooks
2024-06-05 12:31:18 +02:00
twodoorcoupe
f08a663fb4
Refactor caa_url_fallback_list and rename filtering options
2024-06-04 15:59:39 +02:00
twodoorcoupe
14d1337ec1
Allow Cover Art Archive provider to avoid downloading images too small
2024-06-04 11:23:46 +02:00
Philipp Wolfer
80254dd803
Merge pull request #2508 from phw/refactor-dataobj-into-item
...
Refactor dataobj into item
2024-06-03 14:02:05 +02:00
Philipp Wolfer
2369431e47
Clearer name for parent item parameter in File.move / File.remove
2024-06-03 12:52:25 +02:00
Philipp Wolfer
402f8463b6
Add getter / setter for TreeItem.obj
...
The setter ensures the cross link between TreeItem.obj and obj.ui_item
always gets set.
2024-06-03 12:48:12 +02:00
Philipp Wolfer
b2861cdeb6
Renamed File.parent to File.parent_item
...
This avoids hiding QObject.parent()
2024-06-03 08:27:14 +02:00
Philipp Wolfer
d4ba9fc989
Renamed "item" attribute to "ui_item"
2024-06-03 08:27:14 +02:00
Philipp Wolfer
321637b6d6
Merged DataObj class with MetadataItem class
2024-06-03 08:27:13 +02:00
Philipp Wolfer
d30c1c4753
FileList does not need to reimplement iterfiles inherited from FileListItem
2024-06-02 19:01:56 +02:00
Laurent Monin
0e93d921ca
Merge pull request #2503 from zas/filedialog_wrappers
...
Filedialog wrappers
2024-06-02 18:35:56 +02:00
Laurent Monin
2106e5242a
Merge pull request #2504 from zas/parents2
...
More Q* subclasses improvements
2024-06-02 18:35:40 +02:00
Laurent Monin
6b222834de
PICARD-2918: avoid exception if hash isn't found in _datafiles on exit
...
A race condition is possible.
- set _datafiles[self._hash] ASAP
- log errors
- revamp code to limit the risk of race condition
- revamp delete_file() code to be more reliable in case of unexpected errors
2024-06-02 18:22:06 +02:00
Anonymous
aabf26123f
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 47.3% (493 of 1041 strings)
Translated using Weblate (Korean)
Currently translated at 17.1% (179 of 1041 strings)
Co-authored-by: Anonymous <noreply@weblate.org >
Translate-URL: https://translations.metabrainz.org/projects/picard/3/constants/ko/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/constants/zh_Hans/
Translation: Picard/Constants
2024-06-02 02:42:41 +00:00
Vaclovas Intas
aad6470c60
Translated using Weblate (Lithuanian)
...
Currently translated at 11.3% (118 of 1041 strings)
Translated using Weblate (Lithuanian)
Currently translated at 69.3% (838 of 1208 strings)
Co-authored-by: Vaclovas Intas <gateway_31@protonmail.com >
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/lt/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/constants/lt/
Translation: Picard/App
Translation: Picard/Constants
2024-06-02 02:42:41 +00:00
Laurent Monin
3a851d3c26
Merge pull request #2507 from zas/fix_image_dl
...
PICARD-2919: fix download of GIF images (and maybe others)
2024-06-01 19:16:08 +02:00
Laurent Monin
aad152ddf8
PICARD-2919: fix download of GIF images (and maybe others)
...
Issue is the data downloaded is QtCore.QBytesArray object, and it wasn't convert to bytes.
So ensure it is converted before passing it to image detection methods.
2024-06-01 18:02:31 +02:00
Laurent Monin
d599054e22
_picardize_caption(): use PICARD_DISPLAY_NAME and display it at the end
2024-05-31 16:08:44 +02:00
Laurent Monin
1a853363b5
UpdateCheckManager: no need to inherit from QtCore.QObject and pass tagger object from caller
...
- _parent is actually the main window, so derive it from tagger
2024-05-31 14:10:36 +02:00
twodoorcoupe
036f82446c
Refactor cover art filters
2024-05-31 11:58:52 +02:00