Commit Graph

9496 Commits

Author SHA1 Message Date
Laurent Monin
16507ff4a3 Simplify _relation_attributes() (#2215)
Use try/except as the key should be always there, and that's the fastest in such case.
Except is there to prevent any issue if the API does something weird.
2023-05-30 10:10:02 +02:00
Philipp Wolfer
e01a43dc4b Updated translations 2023-05-30 08:58:26 +02:00
Laurent Monin
33b9f6c4aa Merge pull request #2214 from zas/mbjson_split
_relations_to_metadata(): split in smaller bits and reduce code redundancy
2023-05-30 08:18:37 +02:00
Laurent Monin
70a5945a9e _relations_to_metadata(): convert if/elif to dict search returning a function 2023-05-29 23:23:33 +02:00
Laurent Monin
ca561b38dd Convert context to new namedtuple TargetTypeFuncContext 2023-05-29 23:23:33 +02:00
Laurent Monin
1f72c6982b _relations_to_metadata(): merge contexts in one 2023-05-29 23:23:33 +02:00
Laurent Monin
91d943e37c _relations_to_metadata(): move bits to new _relations_to_metadata_target_type_series() 2023-05-29 23:23:33 +02:00
Laurent Monin
2a85a96bfc _relations_to_metadata(): move part of the code to new _relations_to_metadata_target_type_url() 2023-05-29 23:23:33 +02:00
Laurent Monin
1d27db520a _relations_to_metadata(): move part of the code to new _relations_to_metadata_target_type_work() 2023-05-29 23:23:33 +02:00
Laurent Monin
67092d068a _relations_to_metadata(): move code to new _relations_to_metadata_target_type_artist() 2023-05-29 23:23:33 +02:00
Philipp Wolfer
cb720416d5 Fixed docs for $min and $max scripting functions 2023-05-29 22:28:17 +02:00
Philipp Wolfer
ab1ee997ad PICARD-711: Use RG series details if release ARs are enabled 2023-05-29 21:42:42 +02:00
Philipp Wolfer
26cf9b507e PICARD-711: Add support for series variables
Adds support for variables for release group, release, recording
and work series. The following variables are getting set:

- ~recording_series
- ~recording_series_id
- ~recording_seriescomment
- ~recording_seriesnumber
- ~release_series
- ~release_series_id
- ~release_seriescomment
- ~release_seriesnumber
- ~releasegroup_series
- ~releasegroup_series_id
- ~releasegroup_seriescomment
- ~releasegroup_seriesnumber
- ~work_series
- ~work_series_id
- ~work_seriescomment
- ~work_seriesnumber
2023-05-29 21:42:42 +02:00
Philipp Wolfer
70eb7cc2a6 Update picard.pot 2023-05-22 21:52:46 +02:00
Philipp Wolfer
b273b116ca PICARD-2616: Add tests for releasedate tag 2023-05-22 20:46:45 +02:00
certuna
b0376184c0 PICARD-2616: Support releasedate tag (TDRL in ID3v2.4) 2023-05-22 08:13:43 +02:00
Philipp Wolfer
0309e9f08e PICARD-2645: Fix handle the quit confirmation when reveiving QUIT command 2023-05-21 18:15:08 +02:00
Philipp Wolfer
828abe875a PICARD-2627: Ensure pipe listener threads closes on quit
It can happen that tagger.pipe_server hangs waiting getting data from the
pipe. If this happens when Picard is closing the pipe_server thread keeps
running in the background until it reveives data, which likely won't
happen. To fix this write a MESSAGE_TO_IGNORE to the pipe when closing.
2023-05-21 18:14:51 +02:00
Philipp Wolfer
047255c7c0 Build with PyInstaller 5.11 2023-05-14 11:25:38 +02:00
Philipp Wolfer
b2991f8daf Adjust copyright year in about dialog 2023-05-14 11:22:45 +02:00
Philipp Wolfer
c000f31059 Upgrade pip dependencies 2023-05-12 08:07:13 +02:00
Philipp Wolfer
62cdf090bf Default implementation for Option.convert
Avoids pylint warnings about hidden attribute and makes the code
more readable.
2023-05-01 16:21:07 +02:00
Philipp Wolfer
17ec1d265b PICARD-900: Use ID3v2.4 UTF-8 by default 2023-05-01 14:41:22 +02:00
Laurent Monin
6a1add01c9 No need to test for is_flac twice, minor simplification 2023-04-30 14:18:47 +02:00
Philipp Wolfer
d07a77f434 Fix call to album.error_append 2023-04-28 12:29:21 +02:00
Philipp Wolfer
bdf407e656 Added Lithuanian translation for Windows installer 2023-04-28 11:32:08 +02:00
Philipp Wolfer
e691fbf2b2 Updated translations from Transifex 2023-04-28 11:32:08 +02:00
Philipp Wolfer
69a982db74 Update to use transifex-client 1.x 2023-04-28 11:32:07 +02:00
Philipp Wolfer
c90c6c7efd Refactor log string substitution
Rely on the string substitutions of the logging module to avoid
unnecessary substitutions if log output never gets written
2023-04-28 09:57:04 +02:00
Philipp Wolfer
d232b5d4d2 PICARD-2642: Open "submit cluster" always on 127.0.0.1
The old implementation would open on 0.0.0.0 if
browser_integration_localhost_only was disabled.
2023-04-28 09:17:26 +02:00
Laurent Monin
42e4a1fdb4 Merge pull request #2205 from phw/pyinstaller-5.10.1
Upgrade to PyInstaller 5.10.1
2023-04-19 10:45:43 +02:00
Philipp Wolfer
0b823f2443 PICARD-2535: Strip trailing null chars for Vorbis / FLAC 2023-04-18 11:16:48 +02:00
Philipp Wolfer
03449e01d3 PICARD-2630: Fix potential crash on config upgrade 2023-04-18 10:43:10 +02:00
Philipp Wolfer
55c1b2c200 Upgrade to PyInstaller 5.10.1 2023-04-18 09:27:05 +02:00
Laurent Monin
5a9d6b9581 PICARD-2634: Use standardized artist names by default
It only changes the default value (from False to True), so it has no impact on existing configurations.
2023-04-17 19:31:46 +02:00
tuspar
10083409c3 PICARD-1649: Allow plugins to link to user guides 2023-04-10 18:18:59 +02:00
Philipp Wolfer
e2c1f46c74 Merge pull request #2201 from rdswift/script_editor_saving
PICARD-2625: Improve file naming script editing and new script creation
2023-04-10 18:14:08 +02:00
Laurent Monin
aecf546588 Minor code simplification (#15) 2023-03-19 09:55:53 -06:00
bob
73304699c2 Remove unused assignments. 2023-03-18 10:37:40 -06:00
bob
9a61a6e719 Fix subscript error. Add check to disallow duplicate script names. 2023-03-17 11:13:52 -06:00
bob
6180f5e260 General revision to file naming script editor:
- Add presets to list of user scripts in configuration
- Make all scripts editable
- Allow selecting starting template for new scripts
2023-03-16 18:24:01 -06:00
Philipp
a5cf1b821e PICARD-2620: Added new icon for macOS 2023-03-14 07:58:37 +01:00
Philipp Wolfer
235b92e73e PICARD-2629: Add a single "Search similar items" action to the menu
This action triggers either "search similar tracks" or search similar albums" based on context. There is a single shortcut for both.
2023-03-03 12:04:42 +01:00
Philipp Wolfer
60eb83a29c PICARD-2629: Add keyboard shortcut for "Search for similar albums"
Also add this action to the tools menu. Use the same shortcut as for "Search for similar tracks", as only either one or another can be enabled.
2023-03-03 12:04:42 +01:00
Philipp Wolfer
2bc68db4e2 Added source files for no-access and not-found error icons 2023-03-03 09:51:05 +01:00
Philipp Wolfer
3f5e578746 PICARD-2626: add 512px & 1024px macOS icons 2023-02-28 22:50:51 +01:00
Philipp Wolfer
db3ff8969a Use binary builds of libdiscid for macOS 2023-02-28 22:05:10 +01:00
Philipp Wolfer
c4c66df644 Package libdiscid 0.6.3 for Windows and macOS builds 2023-02-28 22:05:10 +01:00
Philipp Wolfer
67fed1e04a Added link to mutagen spec collection 2023-02-14 16:15:43 +01:00
Philipp Wolfer
f838b1d5f5 Updated links to format specs and metadata mappings
- Fixed link to ID3 specs, as id3.org has been down for a long time
- Link to DJ app metadata comparison
2023-02-14 16:13:24 +01:00