11248 Commits

Author SHA1 Message Date
brtc
62c25f3849 Translated using Weblate (Turkish)
Currently translated at 7.3% (77 of 1041 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Turkish)

Currently translated at 35.0% (424 of 1208 strings)

Co-authored-by: brtc <brtc@users.noreply.translations.metabrainz.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/tr/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/appstream/tr/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/constants/tr/
Translation: Picard/App
Translation: Picard/AppStream
Translation: Picard/Constants
2024-07-20 13:42:32 +00:00
Laurent Monin
95c8b72be5 Merge pull request #2526 from akshatkhatri/patch-1
Update INSTALL.md
2024-07-17 13:35:14 +02:00
Akshat Khatri
bbb088913f Update INSTALL.md
The previous link was broken as python website went a redesigning
the new attached link points to the correct URL
2024-07-17 11:40:53 +05:30
Philipp Wolfer
b1a8b2c85c PICARD-2939: Fix exception when genre filtering results in empty genre list 2024-07-13 11:14:18 +02:00
jaimeMF
e3e70753c4 Translated using Weblate (Spanish)
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Spanish)

Currently translated at 67.8% (820 of 1208 strings)

Co-authored-by: jaimeMF <jaimeMF@users.noreply.translations.metabrainz.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/es/
Translate-URL: https://translations.metabrainz.org/projects/picard/3/appstream/es/
Translation: Picard/App
Translation: Picard/AppStream
2024-07-12 20:42:31 +00:00
Laurent Monin
1ab588ce77 Merge pull request #2521 from twodoorcoupe/dont_replace_bigger_images
PICARD-1477: Option to never replace an image with a smaller one
2024-07-12 09:31:36 +02:00
twodoorcoupe
d1c8d16626 Fix names consistency for image_info 2024-07-10 18:40:16 +02:00
twodoorcoupe
fba6441fc9 Modify explanation text in the image type selector 2024-07-10 13:45:59 +02:00
twodoorcoupe
17f5c61ae1 Add option to filter images by type 2024-07-10 11:07:31 +02:00
twodoorcoupe
c96f0b07e6 Move new option to image filters 2024-07-10 11:07:31 +02:00
twodoorcoupe
e8e3bc7188 Make filters use ImageInfo as well 2024-07-10 11:07:31 +02:00
twodoorcoupe
4093acc0f7 Add option to never replace an image with a smaller one 2024-07-10 11:07:31 +02:00
Laurent Monin
035f66ac58 Merge pull request #2522 from rdswift/coverart_type_selector_ui_improvements
Update caa types selector to allow replacement instructions text
2024-07-09 20:51:49 +02:00
Bob Swift
2681bf09bd Clean up default text assignments 2024-07-09 11:16:54 -06:00
Bob Swift
31351a3d71 Update caa types selector to allow replacement instructions text. 2024-07-08 13:50:12 -06:00
Laurent Monin
ad09a5aa42 Merge pull request #2520 from twodoorcoupe/improve_processing_ui
Improve resizing options page UI
2024-07-03 13:32:55 +02:00
twodoorcoupe
3d2cf7fc18 Improve processing constants and resize mode combobox 2024-07-02 13:11:07 +02:00
Vaclovas Intas
46fdbf40e2 Translated using Weblate (Lithuanian)
Currently translated at 71.9% (869 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-07-01 12:42:29 +00:00
twodoorcoupe
aa49786785 Make spinboxes show nothing when disabled 2024-07-01 11:54:30 +02:00
twodoorcoupe
d0670b32bb Add scale to width and scale to height resize modes 2024-07-01 10:28:53 +02:00
Bob Swift
337e80e3b7 Move processing mode and image type options lists to defaults file:
- Create new `picard/const/cover_processing.py` file to hold new
`COVER_RESIZE_MODES` and `COVER_CONVERTING_FORMATS` constants.
- Create `COVER_RESIZE_MODES` constant list of modes to display in the
combo box.  Each entry is a named tuple comprised of 'mode', 'title' and
'tooltip' to keep all information together for ease of maintenance.
- Create `COVER_CONVERTING_FORMATS` constant list of allowed formats to
display in the combo box.
- Dynamically populate the resize modes and image formats combo boxes
from the `COVER_RESIZE_MODES` and `COVER_CONVERTING_FORMATS` constants
to facilitate changes in the options or display order without having to
recompile the UI file.
- Fix i18n `N_()` function missing on some tooltips.
- Add missing copyright notice for Giorgio Fontanive in
`picard/const/defaults.py`
- Minor formatting changes.
2024-06-28 21:10:02 -06:00
twodoorcoupe
6aa6317083 Improve image resizing options UI 2024-06-28 11:10:22 +02:00
twodoorcoupe
2357b2cdaa Add explicit method for getting qimage to ProcessingImage 2024-06-28 09:15:31 +02:00
Vaclovas Intas
5a8031d2a2 Translated using Weblate (Lithuanian)
Currently translated at 71.6% (866 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-27 20:42:30 +00:00
salo.rock
5cda5800dc Translated using Weblate (Italian)
Currently translated at 100.0% (1208 of 1208 strings)

Co-authored-by: salo.rock <salo.rock@users.noreply.translations.metabrainz.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/3/app/it/
Translation: Picard/App
2024-06-27 20:42:30 +00:00
Philipp Wolfer
10b8d7a53d Merge branch '2.x'
# Conflicts:
#	.github/workflows/package-pypi.yml
#	.github/workflows/package.yml
#	.github/workflows/run-tests.yml
#	picard/__init__.py
#	picard/cluster.py
#	picard/coverart/image.py
#	picard/dataobj.py
#	picard/ui/itemviews.py
#	picard/ui/metadatabox.py
#	picard/ui/searchdialog/track.py
#	picard/util/tags.py
#	picard/webservice/ratecontrol.py
#	po/appstream/it.po
#	po/appstream/ru.po
#	po/ar.po
#	po/attributes/es.po
#	po/constants/ko.po
#	po/constants/lt.po
#	po/constants/ru.po
#	po/constants/sv.po
#	po/constants/zh_Hans.po
#	po/id.po
#	po/it.po
#	po/ko.po
#	po/lt.po
#	po/nb.po
#	po/nl.po
#	po/pl.po
#	po/ru.po
#	po/sk.po
#	po/sl.po
#	po/sq.po
#	po/sv.po
#	po/tr.po
#	requirements-build.txt
#	requirements-macos-10.12.txt
#	requirements-macos-10.14.txt
#	scripts/package/macos-package-app.sh
#	scripts/package/win-common.ps1
2024-06-27 11:00:03 +02:00
Philipp Wolfer
d375fc1793 Prepare release 2.12 2024-06-27 08:17:48 +02:00
Laurent Monin
fed841599e Merge pull request #2519 from twodoorcoupe/format_converting
PICARD-2936: Add option to convert cover art images to a different format
2024-06-26 18:57:49 +02:00
salo.rock
aa2302fa7d Translated using Weblate (Italian)
Currently translated at 100.0% (17 of 17 strings)

Co-authored-by: salo.rock <salo.rock@users.noreply.translations.metabrainz.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/3/appstream/it/
Translation: Picard/AppStream
2024-06-26 14:42:30 +00:00
salo.rock
4e4ff006fc Translated using Weblate (Italian)
Currently translated at 100.0% (17 of 17 strings)

Co-authored-by: salo.rock <salo.rock@users.noreply.translations.metabrainz.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/appstream/it/
Translation: Picard/AppStream
2024-06-26 14:42:29 +00:00
Vaclovas Intas
48d5ade18f Translated using Weblate (Lithuanian)
Currently translated at 71.2% (861 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-26 14:42:29 +00:00
Vaclovas Intas
466fc59d0f Translated using Weblate (Lithuanian)
Currently translated at 69.9% (821 of 1174 strings)

Co-authored-by: Vaclovas Intas <gateway_31@protonmail.com>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/lt/
Translation: Picard/App
2024-06-26 14:42:29 +00:00
twodoorcoupe
1be7fd92d2 Add option to save images in a different format 2024-06-26 10:57:31 +02:00
Laurent Monin
0653bd3305 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-25 17:21:30 +02:00
Laurent Monin
b29a8f692c 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-25 17:13:04 +02:00
Philipp Wolfer
d6d2517c8e PICARD-2935: apply genre filters and threshold before selecting minimal usage 2024-06-25 17:10:22 +02:00
Philipp Wolfer
dbe1254a2f PICARD-2935: apply genre filters and threshold before selecting minimal usage 2024-06-25 17:09:28 +02:00
Philipp Wolfer
e2af35caf5 Build with setuptools < 70 2024-06-25 17:00:42 +02:00
Vaclovas Intas
e73c260092 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-25 13:42:29 +00:00
Vaclovas Intas
66375cdd38 Translated using Weblate (Lithuanian)
Currently translated at 69.2% (813 of 1174 strings)

Co-authored-by: Vaclovas Intas <gateway_31@protonmail.com>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/lt/
Translation: Picard/App
2024-06-25 13:42:29 +00:00
Laurent Monin
fc71fea5f4 Merge pull request #2515 from twodoorcoupe/more_processing_options
Add more options to image resizing
2024-06-25 11:41:31 +02:00
twodoorcoupe
ccf716fbe1 Improve resize modes tooltips formatting 2024-06-25 11:10:52 +02:00
twodoorcoupe
762afe38d2 Fix scale factor check and improve tooltips for resize modes 2024-06-25 10:51:40 +02:00
twodoorcoupe
ccbd59324d Add tooltips to new radio buttons 2024-06-25 10:51:40 +02:00
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
74e58b5b05 Build on macos-12 image 2024-06-25 09:05:06 +02:00
Philipp Wolfer
efdd628016 Fixed coverart processing test cases 2024-06-24 19:08:11 +02:00