Commit Graph

7550 Commits

Author SHA1 Message Date
Philipp Wolfer
e16274a3f7 Build with Python 3.8 on Windows 2020-11-18 19:23:06 +01:00
Philipp Wolfer
5889c30b7f Build with PyInstaller 4.1 2020-11-18 19:23:06 +01:00
Philipp Wolfer
715c5c8837 Fixed changelog formatting 2020-11-16 15:30:51 +01:00
Philipp Wolfer
c87c9140f2 Added missing item to changelog 2020-11-16 09:27:45 +01:00
Philipp Wolfer
b8fc83b038 Release 2.5.2 2020-11-15 18:18:10 +01:00
Philipp Wolfer
b8216925e3 Updated translations 2020-11-15 16:48:58 +01:00
Philipp Wolfer
de3ed42c40 PICARD-2014: Fix config upgrade from versions < 1.3.0 2020-11-15 16:39:22 +01:00
Philipp Wolfer
84952ffc49 PICARD-1948: Limit fractional scaling support to Windows
This was originally introduced in PICARD-1777 to improve scaling support on Windows.
It causes UI regressions on Linux were it sometimes results in wrong scaled
fonts if no scaling factor is configured.
2020-11-15 00:07:52 +01:00
Philipp Wolfer
a2ae1d7d04 Fix Linux installs missing desktop file and scalable icon 2020-11-14 21:40:27 +01:00
Philipp Wolfer
f4e24606de Updated translations 2020-11-11 09:05:50 +01:00
Philipp Wolfer
88856ef5b2 PICARD-2006: Optimize moving files to albums on load
This ensures files of an album are available to plugins and cover art
providers during loading. Also optimizes moving files to already loaded
releases by matching them to tracks directly without move to unmatched_files
first.

This also fixes PICARD-2012 (moving files to already loaded album on MBID redirect).
2020-11-10 11:48:55 +01:00
Philipp Wolfer
9d2dd7cf35 PICARD-2007: Disable fingerprinting for MIDI files
Audio fingerprinting can by design not work on MIDI files
2020-11-05 12:00:45 +01:00
Philipp Wolfer
9c4794c239 PICARD-2005: Fix tags being shown as unchanged if multiple tracks are selected
If multiple tracks have been selected where some have changes in existing tags but the first track being looked at has no changes because incoming metadata is empty,
then the tag is being shown as unchanged.
2020-11-05 08:05:26 +01:00
Philipp Wolfer
0af7e5685e Prepare PyPI code signing only for release builds 2020-11-03 08:39:06 +01:00
Philipp Wolfer
e3880091cd Sign Python bdist packages 2020-11-03 08:30:35 +01:00
Philipp Wolfer
edc3cfddee Run Python package builds always, but only upload on release 2020-11-03 08:05:50 +01:00
Philipp Wolfer
99a9b27a78 PICARD-2004: Fix plugin metadata changes getting lost after file match
If a plugin does load additional metadata asynchronously, such as the AcousticBrainz or Wikidata plugins, these metadata changes were not saved as part of track.orig_metadata.
2020-11-02 19:23:06 +01:00
Philipp Wolfer
b7e4ede1e4 Make pywin32 optional 2020-11-02 13:53:54 +01:00
Philipp Wolfer
c055646d22 Merge pull request #1674 from phw/fix-case-rename
PICARD-1992: Fix case only changes when renaming files
2020-11-02 10:50:46 +01:00
Philipp Wolfer
3bb85c8836 PICARD-2001: Avoid single files getting lost when dropped on clusters
When adding a single file to Picard and dropping it on the file browser the file would get lost, because clusters with a single file currently cannot be created.
2020-11-02 10:47:42 +01:00
Philipp Wolfer
42672f13d0 PICARD-2001: Ensure dropped files are moved to a valid target
Always move added files to a valid target in the UI. If no drop target is given or the drop target does not support adding files always drop to unclustered files.
2020-11-02 10:47:42 +01:00
Philipp Wolfer
87b94d5829 PICARD-1828: Avoid selection changes when cover art gets updated 2020-10-31 17:26:09 +01:00
Philipp Wolfer
a1c09fc1b6 PICARD-1828: Allow setting cover art for multiple selected files 2020-10-31 17:26:09 +01:00
Philipp Wolfer
251b882f8a PICARD-1991: Ensure file name case changes on Linux
Apply workaround to ensure file name changes in case only also on Linux when using case insensitive file systems.
Unify the approaches for Windows and Linux. Apply the workaround only if necessary.
2020-10-31 13:15:18 +01:00
Philipp Wolfer
e1545bffca PICARD-1992: On Windows use win32api.GetLongPathNameW to get actual file name
Use win32api.GetLongPathNameW on Windows to get the actual file name with the casing as on disk.
2020-10-31 11:52:48 +01:00
Philipp Wolfer
d4af836d11 PICARD-1992: Force case-changing on file systems not supporting it
On some case sensitive, case preserving file systems a normal rename will not change the casing. Detect this case and workaround it by doing a double rename.
2020-10-31 11:52:47 +01:00
Philipp Wolfer
6e225c886f PICARD-1999: Build binary distributions for PyPI on Github Actions 2020-10-30 06:17:18 +01:00
Philipp Wolfer
cb5dfbc3c0 picard.spec: Ensure local picard module gets loaded
Otherwise a globally installed picard is preferred, resulting in wrong version information of the generated package.
2020-10-30 06:17:18 +01:00
Philipp Wolfer
edfa273353 PICARD-1999: Use entry_point for bdist builds on Windows.
This makes sure a picard.exe gets generated for launching Picard.
2020-10-30 06:17:18 +01:00
Philipp Wolfer
84dde200fb Bump version to 2.5.2dev1 2020-10-29 16:04:12 +01:00
Philipp Wolfer
c4e2087431 Fix CI package error if macOS codesigning was skipped 2020-10-29 09:18:41 +01:00
Philipp Wolfer
02e0a505e4 Run CI tests on Python 3.9 also 2020-10-29 09:12:38 +01:00
Philipp Wolfer
2354f65d61 Extended setuptools metadata
Set python_requires, extend classifiers
2020-10-29 08:17:12 +01:00
Philipp Wolfer
6cab6adf4e Updated appxmanifest after testing on Windows 10.0.19042 2020-10-28 22:56:32 +01:00
Philipp Wolfer
3c105f136a Fixed syntax error in PyPi deploy script 2020-10-28 21:32:25 +01:00
Philipp Wolfer
9835519f18 Release 2.5.1 2020-10-28 20:32:00 +01:00
Philipp Wolfer
f5aa916122 Updated translations 2020-10-28 18:20:14 +01:00
Philipp Wolfer
2477a9892c Sign sdist files on pip upload 2020-10-28 18:04:06 +01:00
Philipp Wolfer
1814a02313 Update macOS distribution certificate
Update the mechanism to work exactly as we do it for the Windows code signing.
2020-10-28 14:23:45 +01:00
Philipp Wolfer
6bb914c907 PICARD-1997: Reduce performance impact of fingerprint column
Use standard QTreeWidget icon implementation instead of custom column widget.
In local tests this reduced file loading time by 32% if the column is hidden
and by 80% if the column is visible.
2020-10-28 10:44:01 +01:00
Philipp Wolfer
c50bc72ccc PICARD-1989: Fix auto resizing of title column 2020-10-28 10:44:01 +01:00
Philipp Wolfer
6296df93b6 PICARD-1995: Add command line parameter --no-player
Allows disabling built-in media player completely.
2020-10-27 16:38:00 +01:00
Philipp Wolfer
12cb2ac2f4 PICARD-1985: Use "performer:chorus master" instead of performer:conductor 2020-10-26 12:37:14 +01:00
Philipp Wolfer
f94b9a955b PICARD-1987: Fix ~totalalbumtracks not being available for matched files 2020-10-25 22:16:22 +01:00
Philipp Wolfer
2cefb42607 Refactor File._finalize_loading_track 2020-10-25 16:59:55 +01:00
Philipp Wolfer
bd0db6f130 PICARD-1987: Fix ~multiartist, ~pregap and ~datatrack variables not set for files 2020-10-25 16:59:55 +01:00
Philipp Wolfer
b76237ca5c PICARD-1990: Fix file renaming not performed on case-only changes
This affects only Windows with Python >= 3.8, as os.path.realpath will
return the path as it is on disk.
2020-10-25 12:02:56 +01:00
Philipp Wolfer
e7d25956b0 Add system specific pyobjc dependencies to requirements.txt 2020-10-24 20:00:19 +02:00
Philipp Wolfer
6334deb56c PICARD-1988: Fix crash on errors reading directories
Catch all exceptions thrown by os.scandir when loading directories, log them as warnings. Avoids crashes e.g. when attemtping to load directories without permission.
2020-10-24 00:39:38 +02:00
Philipp Wolfer
869dbd5e16 Release 2.5 2020-10-22 16:00:04 +02:00