Commit Graph

6889 Commits

Author SHA1 Message Date
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
Philipp Wolfer
8408c655ca PICARD-1465: Changed Windows app display name 2020-01-14 21:01:20 +01:00
Philipp Wolfer
ffbf0f9509 macOS: Add LSApplicationCategoryType to Info.plist 2020-01-14 20:34:04 +01:00
Philipp Wolfer
b42fbddb68 PICARD-1402: Allow opening directories via FileOpen event
Allows dragging entire folders onto the app icon on macOS to open the containing files in Picard.
2020-01-14 20:31:30 +01:00
Philipp Wolfer
382d13c1d0 PICARD-1402: Register macOS app for supported file types
Allows opening these file types from Finder or by drag and drop on the dock icon.
2020-01-14 20:31:30 +01:00
Philipp Wolfer
bda5b5f7e4 Fixed syntax error 2020-01-14 20:29:14 +01:00
Philipp Wolfer
4059a0c3d0 PICARD-1465: Adjust appxmanifest for store requirements 2020-01-14 20:26:22 +01:00
Philipp Wolfer
740cfa7541 PICARD-1465: Adjust publisher display name for Windows 10 app
The name must match the registered organization name.
2020-01-14 20:03:34 +01:00
Philipp Wolfer
be406b1f74 PICARD-1465: Set build number for Windows app to 0
Otherwise the msix package cannot be uploaded to the Windows store, since the build number is reserved for store usage.
2020-01-14 19:51:20 +01:00
Philipp Wolfer
12c28d19c6 Update picard.pot 2020-01-14 17:38:07 +01:00
Philipp Wolfer
aa0bd075c6 Avoid overwriting gettext _() 2020-01-14 17:30:12 +01:00
Philipp Wolfer
86c75f2a4f Merge pull request #1431 from phw/PICARD-34-acoustid-fingerprint-indicator
PICARD-34: AcoustID fingerprint indicator
2020-01-14 17:26:26 +01:00
Philipp Wolfer
dd6790d18c Set constant for default icon size in main table columns 2020-01-13 15:41:38 +01:00
Philipp Wolfer
63cb098006 PICARD-34: Fingerprint indicators shows submission status
The fingerprint indicator is shown in red for unsubmitted fingerprints and gray for submitted fingerprints. The tooltip explains the status.
2020-01-13 15:39:54 +01:00
Philipp Wolfer
7df2c2cb96 Ensure main panel columns are resizable after restore 2020-01-13 15:39:54 +01:00
Philipp Wolfer
b04649c597 PICARD-34: Use custom column widget for fingerprint indicator
Allows for nicer icon placement without reserved space for column text.
2020-01-13 15:39:54 +01:00
Philipp Wolfer
ce72861b07 PICARD-34: Paint fingerprint icon in fingerprint status column 2020-01-13 15:39:53 +01:00
Philipp Wolfer
7409113624 PICARD-34: Add a AcoustId column to main panel
This column both shows the AcoustId and a fingerprint icon indicating that the fingerprint was generated for the file.
2020-01-13 15:39:53 +01:00
Philipp Wolfer
515df3a0aa Downgrade setuptools for CI builds
Latest setuptools 45.0 is breaking PyInstaller, see 555c5e8163/PyInstaller/hooks/hook-pkg_resources.py
2020-01-13 14:59:04 +01:00
Philipp Wolfer
6488683d82 Fixed AcoustId lookup loading empty nat
Fixes a regression introduced in 2cc0b35 were an AcoustId lookup loading a NAT showed an empty NAT.
2020-01-13 14:06:28 +01:00