Commit Graph

6873 Commits

Author SHA1 Message Date
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
Philipp Wolfer
51404a9cbb Revert "Use PyInstaller 3.5 for macOS builds"
This reverts commit c336ba778c.
2020-01-13 09:00:04 +01:00
Philipp Wolfer
c336ba778c Use PyInstaller 3.5 for macOS builds
PyInstaller 3.6 is causing runtime errors on start.
2020-01-13 08:39:08 +01:00
Philipp Wolfer
172df0a831 Do not use virtualenv on macOS builds
This fixes recent build errors and unifies the bild scripts with the Windows version.
2020-01-13 08:24:05 +01:00
Philipp Wolfer
1636fcb310 PICARD-1703: Upgrade to PyInstaller 3.6
Allows us to remove some Windows specific workarounds, fixes a CVE related to the portable onefile install.
2020-01-11 15:09:01 +01:00
Philipp Wolfer
18e1932294 Removed no longer needed StartupWMClass 2020-01-10 08:28:18 +01:00
Philipp Wolfer
f1cde96ac6 PICARD-1054: Allow Qt to handle default Qt and X command line arguments 2020-01-10 08:28:18 +01:00
Philipp Wolfer
17bd114a18 Fix initialization of QApplication with argv 2020-01-10 08:28:18 +01:00
Philipp Wolfer
f40bdceb29 PICARD-1699: Fix run fingerprinting after asking user to enable it
When fingerprinting is disabled and the user tries to use scan, Picard asks the user if they want to open the options to configure fingerprinting. After the user has enabled fingerprinting Picard is supposed to perform the action. This commit restores this functionaility which broke in f8eb755.
2020-01-07 18:18:11 +01:00
Philipp Wolfer
ff7d3dc7e0 Removed unused CI configurations 2020-01-07 18:16:55 +01:00
Philipp Wolfer
f3b06786f1 CI: Test with PyQt 5.13.2 (in addition to current 5.14.x) 2020-01-07 15:52:09 +01:00
Philipp Wolfer
0d695dc8ce Update picard.pot 2020-01-07 15:43:03 +01:00
Philipp Wolfer
51732187c0 On Scan only run fpcalc if the fingerprint was not already calculated.
Since there is now a dedicated "Generate fingerprints" action the user can still choose to re-generate the fingerprints if needed. Also they can first use "Generate fingerprints" and do the lookup based on those fingerprints later.
2020-01-07 11:18:39 +01:00
Philipp Wolfer
7b0b501f8a PICARD-991: Add action to generate AcoustId fingerprints without lookup
This just fingerprints the files, without actually searching for matches. This allow users who just want to submit fingerprints to analyze already matched files or to analyze and match files manually.
2020-01-07 11:18:39 +01:00
Philipp Wolfer
cf08b00275 Use PyQt 5.14.1 for Windows builds 2020-01-07 11:17:32 +01:00
Philipp Wolfer
4abd360fe9 Replaced undocumented initialization of QAction with checkable=True
Using checkable=True in QAction constructor is undocumented. It is working currently but might break in future versions similar to how QActionGroup(..., exclusive=...) broke with PyQt 5.14.
2020-01-07 09:01:31 +01:00
Philipp Wolfer
32e05058e0 PICARD-1700: Fix crash on PyQt >= 5.14 on cover art context menu
In PyQt 5.14 the exclusive parameter for QActionGroup is no longer available. Also QActionGroup is exclusive by default in Qt5, so there is no need to set this.
2020-01-07 09:01:31 +01:00