Commit Graph

10272 Commits

Author SHA1 Message Date
Philipp Wolfer
d375fc1793 Prepare release 2.12 2024-06-27 08:17:48 +02: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
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
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
e2af35caf5 Build with setuptools < 70 2024-06-25 17:00:42 +02: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
Philipp Wolfer
74e58b5b05 Build on macos-12 image 2024-06-25 09:05:06 +02:00
Vaclovas Intas
6aa1954d16 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-20 15:42:28 +00:00
Vaclovas Intas
d2af4fbd5a 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/2/constants/lt/
Translation: Picard/Constants
2024-06-11 13:42:30 +00:00
Vaclovas Intas
1efbbf260d Translated using Weblate (Lithuanian)
Currently translated at 69.1% (812 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-10 11:42:40 +00:00
Anonymous
85cd9f2dac 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/2/constants/ko/
Translate-URL: https://translations.metabrainz.org/projects/picard/2/constants/zh_Hans/
Translation: Picard/Constants
2024-06-08 15:42:38 +00:00
Vaclovas Intas
0100222de3 Translated using Weblate (Lithuanian)
Currently translated at 69.1% (812 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-08 15:42:38 +00:00
ApeKattQuest, MonkeyPython
da436a173e Translated using Weblate (Norwegian Bokmål)
Currently translated at 47.7% (560 of 1174 strings)

Co-authored-by: ApeKattQuest, MonkeyPython <ApeKattQuestMonkeyPython@users.noreply.translations.metabrainz.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/nb_NO/
Translation: Picard/App
2024-06-05 18:43:12 +00:00
Vaclovas Intas
4926159484 Translated using Weblate (Lithuanian)
Currently translated at 67.9% (798 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-05 18:43:11 +00:00
Vaclovas Intas
e408429f45 Translated using Weblate (Lithuanian)
Currently translated at 11.3% (118 of 1041 strings)

Translated using Weblate (Lithuanian)

Currently translated at 67.9% (798 of 1174 strings)

Co-authored-by: Vaclovas Intas <gateway_31@protonmail.com>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/lt/
Translate-URL: https://translations.metabrainz.org/projects/picard/2/constants/lt/
Translation: Picard/App
Translation: Picard/Constants
2024-06-02 08:42:34 +00:00
Laurent Monin
c774465605 Fix AttributeError: 'ScriptEditorDialog' object has no attribute 'unsaved_changes_confirmation'
Traceback (most recent call last):
  File "/home/zas/src/picard/./picard/ui/mainwindow/__init__.py", line 300, in closeEvent
    if not self.script_editor_dialog.unsaved_changes_confirmation():
AttributeError: 'ScriptEditorDialog' object has no attribute 'unsaved_changes_confirmation'. Did you mean: 'unsaved_changes_in_profile_confirmation'?

This issue was introduced in e253ef4956
2024-05-25 18:58:38 +02:00
wileyfoxyx
3737723180 Translated using Weblate (Russian)
Currently translated at 100.0% (15 of 15 strings)

Translated using Weblate (Russian)

Currently translated at 46.3% (482 of 1041 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Russian)

Currently translated at 58.1% (683 of 1174 strings)

Co-authored-by: wileyfoxyx <wileyfoxyx@users.noreply.translations.metabrainz.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/ru/
Translate-URL: https://translations.metabrainz.org/projects/picard/2/appstream/ru/
Translate-URL: https://translations.metabrainz.org/projects/picard/2/constants/ru/
Translate-URL: https://translations.metabrainz.org/projects/picard/2/installer/ru/
Translation: Picard/App
Translation: Picard/AppStream
Translation: Picard/Constants
Translation: Picard/Installer
2024-05-19 17:42:35 +00:00
Laurent Monin
d5ea4bdc01 PICARD-2901: Only try to open edit tag dialog if there are tags to edit
Properly initialize `tag_diff` and check if it's `None`.
2024-05-17 16:00:37 +02:00
Philipp Wolfer
ecc0a870cb PICARD-2896: Support .ogx extension for Ogg container 2024-05-13 09:55:58 +02:00
Philipp Wolfer
e4953a03e6 PICARD-2895: Web service requests must set Authorization header only when required
Setting an empty authorization header can lead to request errors if the
server tries to validate the header if present.
2024-05-12 18:51:11 +02:00
salo.rock
89693c818f Translated using Weblate (Italian)
Currently translated at 100.0% (1174 of 1174 strings)

Co-authored-by: salo.rock <salo.rock@users.noreply.translations.metabrainz.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/it/
Translation: Picard/App
2024-05-11 10:42:40 +00:00
Philipp Wolfer
36168cf977 PICARD-2891: When clustering files attached to a Track use orig_metadata 2024-05-09 13:48:09 +02:00
Vaclovas Intas
b0ae353fd8 Translated using Weblate (Lithuanian)
Currently translated at 67.8% (796 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-05-07 14:42:28 +00:00
Vaclovas Intas
88b0a8c4b0 Translated using Weblate (Lithuanian)
Currently translated at 67.6% (794 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-05-06 09:42:50 +00:00
Vaclovas Intas
74d7f1fd5e Translated using Weblate (Lithuanian)
Currently translated at 67.1% (788 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-05-04 12:42:28 +00:00
Philipp Wolfer
f57000eb48 PICARD-2883: Refactor FileItem.decide_file_icon_info
Return icon and tooltip in a single function.
2024-05-03 16:50:49 +02:00
Philipp Wolfer
6f2026a318 PICARD-2883: Show match icon tooltip also for files
Previously this was only shown for tracks, but not if multiple files
got linked to the same track.
2024-05-03 16:50:38 +02:00
Philipp Wolfer
eeaf8d90d9 PICARD-2885: Fix file permission and not found error icons not being shown
Majority of file errors happen inside mutagen and are wrapped into a
MutagenError. This hid the handling of the specific error conditions
for permission and file not found errors.
2024-05-03 12:35:40 +02:00
Laurent Monin
a26312cd91 Python 3.9 isn't available anymore with macos-latest, stick to macos-12 2024-05-02 07:01:52 +02:00
Philipp Wolfer
286c05de25 PICARD-2880: Ensure ratecontrol.set_minimum_delay stores the delay as int 2024-05-01 12:15:28 +02:00
Philipp Wolfer
e5fddc3ed6 Run Windows-1251 EAC log test only if charset-normalizer or chardet are available 2024-05-01 12:00:35 +02:00
Laurent Monin
c16a8315a9 NonAlbumTrack: fix genres on refresh, clear genres before loading 2024-04-30 11:47:18 +02:00
Laurent Monin
fe8f8e3017 Make DataObj.genres a property (internally using _genres) 2024-04-30 11:47:08 +02:00
Philipp Wolfer
01a3ee39b5 Always detect_file_encoding ASCII as UTF-8
This ensures partially analyzed documents that are detected as ASCII
but contain UTF-8 encodings later in the file still get loaded. Also
it standardizes charset detection between chardet and charset_normalizers,
which previously differed on the \00 test case.
2024-04-30 11:44:47 +02:00
Philipp Wolfer
43f7603c01 Fix tests for detect_file_encoding without charset-normalizer installed 2024-04-30 11:44:21 +02:00
Philipp Wolfer
60c3ed0c13 Fixed utf-32 detection from BOM
- the utf-32-le BOM was in wrong order
- longer BOMs need to be checked first
- added BOM for utf-8-sig
2024-04-30 11:44:11 +02:00
Dimlbur
5b56623a76 Translated using Weblate (Russian)
Currently translated at 57.8% (679 of 1174 strings)

Co-authored-by: Dimlbur <Dimlbur@users.noreply.translations.metabrainz.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/ru/
Translation: Picard/App
2024-04-28 11:42:36 +00:00
Dimlbur
3b0c634516 Translated using Weblate (Russian)
Currently translated at 57.8% (679 of 1174 strings)

Co-authored-by: Dimlbur <Dimlbur@users.noreply.translations.metabrainz.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/ru/
Translation: Picard/App
2024-04-27 10:42:32 +00:00
Dimlbur
36ffc794d3 Translated using Weblate (Russian)
Currently translated at 57.1% (671 of 1174 strings)

Co-authored-by: Dimlbur <Dimlbur@users.noreply.translations.metabrainz.org>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/ru/
Translation: Picard/App
2024-04-26 09:42:27 +00:00
Vaclovas Intas
aab6b57588 Translated using Weblate (Lithuanian)
Currently translated at 66.0% (775 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-04-26 09:42:27 +00:00
Vac31
8d46361d3c Translated using Weblate (Lithuanian)
Currently translated at 66.0% (775 of 1174 strings)

Co-authored-by: Vac31 <gateway_31@protonmail.com>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/lt/
Translation: Picard/App
2024-04-23 16:42:40 +00:00
Laurent Monin
b5f01cb370 PICARD-2868: don't try to move a non-existing file after search 2024-04-20 17:39:51 +02:00
Philipp Wolfer
22ef84596a PICARD-2850: Use old filename if naming script evaluates to empty filename
This is a variation of previously fixed PICARD-2219, but for the case
where only the basename results in an empty name.
2024-04-20 17:39:42 +02:00
Philipp Wolfer
e41727b428 PICARD-2850: Extend file naming examples with additional variables
This includes technical file variables and additional tags that would
be set for the selected recordings.
2024-04-20 17:39:41 +02:00
toineenzo
f303e50e21 Translated using Weblate (Dutch)
Currently translated at 100.0% (1174 of 1174 strings)

Co-authored-by: toineenzo <toinerademacher@hotmail.com>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/nl/
Translation: Picard/App
2024-04-12 01:28:59 +00:00
Philipp Wolfer
7c5b690444 Translated using Weblate (Turkish)
Currently translated at 30.7% (361 of 1174 strings)

Translated using Weblate (Swedish)

Currently translated at 54.2% (637 of 1174 strings)

Translated using Weblate (Albanian)

Currently translated at 22.4% (264 of 1174 strings)

Translated using Weblate (Slovenian)

Currently translated at 23.6% (278 of 1174 strings)

Translated using Weblate (Slovak)

Currently translated at 26.4% (311 of 1174 strings)

Translated using Weblate (Polish)

Currently translated at 56.3% (661 of 1174 strings)

Translated using Weblate (Korean)

Currently translated at 60.2% (707 of 1174 strings)

Translated using Weblate (Indonesian)

Currently translated at 14.2% (167 of 1174 strings)

Co-authored-by: Philipp Wolfer <ph.wolfer@gmail.com>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/id/
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/ko/
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/pl/
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/sk/
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/sl/
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/sq/
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/sv/
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/tr/
Translation: Picard/App
2024-04-07 12:29:01 +00:00
dependabot[bot]
78c4b6a101 Bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 18:57:03 +02:00
ankhedonic
cf9fceedf1 Translated using Weblate (Polish)
Currently translated at 56.3% (661 of 1174 strings)

Co-authored-by: ankhedonic <ankhedonic@gmail.com>
Translate-URL: https://translations.metabrainz.org/projects/picard/2/app/pl/
Translation: Picard/App
2024-04-02 10:28:57 +00:00