Commit Graph

6908 Commits

Author SHA1 Message Date
Bob Swift
9ac7fd290b Add tests for new functions. 2020-01-30 19:31:41 -07:00
Bob Swift
70864210d4 Updated docstrings, variables, function names. Added ValueError check. 2020-01-30 19:31:13 -07:00
Bob Swift
2bd872dc89 Add script functions
Add 'find' substring within string
Add string 'reverse'
Add 'substr' to extract a substring from a string
Add 'get_multi_item' to get an element from a multi-value variable
Add 'foreach' to loop through each item in a multi-value variable
Add 'for' loop
Add 'while' loop
2020-01-29 18:19:27 -07:00
Philipp Wolfer
a9cb192f00 PICARD-1646: Consider release types for AcoustId results
Make the release primary and secondary type as provided by AcoustId available to the matching.
2020-01-29 19:25:36 +01:00
Philipp Wolfer
6879be9ccb Merge pull request #1446 from phw/ci-split-windows-builds
CI: split windows builds into separate jobs
2020-01-29 09:50:41 +01:00
Philipp Wolfer
25c1f874c9 CI: Use a single package workflow to build and release
Allows creating the release in one go, avoids release data getting overwritten by different jobs
2020-01-29 09:40:01 +01:00
Philipp Wolfer
a8da256764 CI: Use build matrix to simplify Windows build setup 2020-01-29 09:08:56 +01:00
Philipp Wolfer
84e6322bc3 CI: Split building Windows packages into separate jobs
Upload separate artifacts and build in parallel.
2020-01-29 08:31:26 +01:00
Philipp Wolfer
3691d94cea Merge pull request #1444 from phw/PICARD-1715-script-change-file-ext
PICARD-1715: Allow changing file extension in renaming script
2020-01-28 16:35:46 +01:00
Philipp Wolfer
162d081af5 Simplified handling of dot in filename extension 2020-01-28 16:16:34 +01:00
Philipp Wolfer
d569706c8b CODE_OF_CONDUCT.md: actually link to the CoC
Render the link as a clickable link instead of as code
2020-01-28 16:07:27 +01:00
Philipp Wolfer
e69ab0cfe1 PICARD-1682: Fix multiline editing for lyrics:{desc} tags 2020-01-28 15:34:52 +01:00
Philipp Wolfer
9b3597ef2c CONTRIBUTING: Fixed link to Google-style docstrings 2020-01-28 15:31:22 +01:00
Philipp Wolfer
1799011eb6 PICARD-1715: Add new script_to_filename_with_metadata function
Keep existing script_to_filename function with same behavior as before
2020-01-28 15:14:47 +01:00
Philipp Wolfer
bcc81d86eb PICARD-1715: Allow changing file extension in renaming script 2020-01-28 13:41:27 +01:00
Laurent Monin
5238440076 Bokmal -> Bokmål
https://en.wikipedia.org/wiki/Bokm%C3%A5l
2020-01-28 12:16:10 +01:00
Laurent Monin
95ac29d973 kaj_NG locale name is missing parenthesis around country suffix 2020-01-27 19:27:18 +01:00
Laurent Monin
88cb05f1fc Resync pot file 2020-01-27 12:28:43 +01:00
Laurent Monin
f506ae303a Update translation files 2020-01-27 12:28:09 +01:00
Philipp Wolfer
ab5aa68b4f Use standard key sequences instead of custom checks in keyPressEvent.
Ensures platform specific shortcuts are used.
2020-01-26 18:24:32 +01:00
Philipp Wolfer
8f693aaf4d PICARD-1714: Use standard search shortcut to focus search input 2020-01-26 17:30:39 +01:00
Philipp Wolfer
c52519d91a PICARD-239: Handle tags like "comment" and "comment:" the same
Some of Picard's tag names allow an additional description separated by a colon, e.g. "comment:desc". In case the description part is empty and the tag ends on a colon this is now treated the same as without any colon. So "lyrics" and "lyrics:" are the same tag.

Handling this in Metadata makes this change immediately available in scripting and to all formats. Script using both forms will still work.
2020-01-26 17:07:42 +01:00
Philipp Wolfer
58ffb1a763 Update picard.pot 2020-01-26 17:03:21 +01:00
Philipp Wolfer
133404dd26 Merge pull request #1440 from zas/remove_shortcut
PICARD-1712: use QtGui.QKeySequence.Delete for remove albums/files shortcut
2020-01-26 08:06:47 +01:00
Laurent Monin
e3c7e18829 Use Ctrl+G shortcut instead of Ctrl+E for View Log action 2020-01-25 19:33:59 +01:00
Laurent Monin
84d83417a3 PICARD-1712: use QtGui.QKeySequence.Delete for remove albums/files shortcut 2020-01-25 17:31:05 +01:00
Laurent Monin
8b944984c1 Set Add Folder accelerator & shortcut to e and Ctrl+E
Reason: Ctrl+D is usually associated with Delete action, see https://doc.qt.io/qt-5/qkeysequence.html
2020-01-25 17:25:22 +01:00
Philipp Wolfer
fba431521f Added Dutch countries translation 2020-01-24 10:48:19 +01:00
Philipp Wolfer
a53e12d54e Updated translations from Transifex 2020-01-24 10:46:01 +01:00
Philipp Wolfer
d67973c936 Set StartupWMClass in .desktop file again
The Ubuntu / GNOME dock otherwise does not properly detect the correct .desktop entry. The name is the same that is used for the QApplication application name (PICARD_APP_NAME).
2020-01-23 19:43:13 +01:00
Laurent Monin
aefbdb6a73 Move more code from Metadata to external small functions, test them 2020-01-23 18:01:28 +01:00
Laurent Monin
210e71b426 Pass parts to weights_from_release_type_scores() 2020-01-23 18:01:28 +01:00
Philipp Wolfer
8f745f1a0d PICARD-1711: Fix deleting lyrics tag from ASF, APE, ID3 files 2020-01-23 12:10:15 +01:00
Philipp Wolfer
3654df83cf Update picard.pot 2020-01-23 10:55:00 +01:00
Philipp Wolfer
e43430d8db PICARD-991: Make "Generate fingerprints" action available for toolbar
Allow users to configure the toolbar to include the new Generate fingerprints action.
2020-01-23 10:53:04 +01:00
Philipp Wolfer
4d85c2e31f PICARD-1589: Support language for ID3 comments.
Adds syntax "comment:{language}:{description}" in addition to existing "comment:{description}" for comment tag names.
2020-01-23 07:57:41 +01:00
Philipp Wolfer
f5aa26095e PICARD-1625: Perform actual file processing outside of drop events
Previously when dropping files during processing of those files no further drag and drop events could be handled. The change ensures the drop handler returns early and he expensive processing takes place outside of the drop handler.
2020-01-22 20:02:24 +01:00
Philipp Wolfer
50fd080ad7 PICARD-1625: Stay responsive while clustering, moving and matching files
Make sure the UI stays responsive while clustering, moving large amount of files in the tree view or while matching files to releases.
2020-01-22 20:02:24 +01:00
Philipp Wolfer
d552063fdf Use updated builds of fpcalc for windows
For consistency with macOS version. Using updated builds with latest FFmpeg
2020-01-21 18:40:17 +01:00
Philipp Wolfer
b1faf91c34 Fixed loading MP4 files without tags 2020-01-21 14:36:40 +01:00
Philipp Wolfer
e82767e0d8 PICARD-1707: Download updated macOS fpcalc build
Using a macOS fpcalc build from custom repository until an official new version build with newer macOS SDK is available.
2020-01-21 14:08:53 +01:00
Philipp Wolfer
1175987788 GHA: Run apt-get update before apt-get install
Otherwise apt-get install might fail
2020-01-20 22:18:54 +01:00
Laurent Monin
9139db8f98 Merge pull request #1434 from zas/metadata_2
Move code outside Metadata class, to ease testing
2020-01-19 19:58:15 +01:00
Laurent Monin
e44c6929c5 Move code outside Metadata class, to ease testing 2020-01-19 13:51:41 +01:00
Philipp Wolfer
3bf22085c8 Extend appstream description 2020-01-14 23:36:45 +01:00
Philipp Wolfer
af5440d516 Move changelog-for-version to separate scripts/tools folder 2020-01-14 22:36:11 +01:00
Philipp Wolfer
d4c92aa9be Windows builds: Calculate commit count only once 2020-01-14 22:27:15 +01:00
Philipp Wolfer
2d5a5375e3 Add XML doctype to entitlemens.plist 2020-01-14 22:15:31 +01:00
Philipp Wolfer
4d1963fdae Revert "PICARD-1465: Changed Windows app display name"
This reverts commit 8408c655ca.
2020-01-14 21:57:41 +01:00
Philipp Wolfer
a5b85dfc47 PICARD-1465: For Windows store version combine patch and build number
The Windows store allows only a 3 part version number (build number part is reserved for internal store use), but still requires increasing versions on each publication.


In order to be able to upload the same release version multiple times, combine the patch number and build number into a single integer with "patch * 100000 + build".

E.g. version 2.3.1 with build number 6858 would get a store version of 2.3.106858
2020-01-14 21:20:19 +01:00