-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
picard: 2.2.1 -> 2.2.2 #70854
picard: 2.2.1 -> 2.2.2 #70854
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
while running it, i still got this:
[nix-shell:/home/jon/.cache/nix-review/pr-70854]$ ./results/picard/bin/picard
W: 08:34:35,422 /nix/store/msx0qv3cmay9j805cxj1ypxfrixly9qr-picard-2.2.2/lib/python3.7/site-packages/picard/ui/playertoolbar.__init__:98: Internal player: unavailable, cannot import name 'QtMultimedia' from 'PyQt5' (/nix/store/whvma9712dk1csy9lhr158kf13n0wb03-python3.7-PyQt5.sip-4.19.18/lib/python3.7/site-packages/PyQt5/__init__.py)
Hi, thanks for taking the time to review, that error is related to the experimental built-in player, the warning also exists with the current version:
It is easy enough to get rid of the warning by adding index dc1118f47e0..fc49e91d414 100644
--- a/pkgs/applications/audio/picard/default.nix
+++ b/pkgs/applications/audio/picard/default.nix
@@ -13,10 +13,10 @@ in pythonPackages.buildPythonApplication rec {
sha256 = "1iibkvwpj862wcrl0fmyi6qhcgx4q5ay63yr0zyg0bkqgcka0gpr";
};
- nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ];
+ nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase qt5.qtmultimedia ];
propagatedBuildInputs = with pythonPackages; [
- pyqt5
+ pyqt5_with_qtmultimedia
mutagen
chromaprint
discid Then you'll be able to enable the player toolbar, however it doesn't work properly (no-audio, no progress bar). I can't tell if this is an issue with NixOS, or with Picard. Either way, it is explicitly an optional feature (e.g. Debian and Arch Linux both list the dependency on There is some info on the player toolbar here: https://tickets.metabrainz.org/browse/PICARD-1488 At some point I might try debugging the feature to get it to work, but so far it's not even producing anything in the debug logs, so it might be a while... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested with nix-review, clicked around a little bit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Builds and runs.
chromaprint 1.4.3 now provides a compatible fpcalc
Motivation for this change
Picard update from 2.2.1 to 2.2.2.
I haven't added
qtmultimedia
to enable to the experimental player.Also acoustic fingerprinting is currently broken as Picard requires an updated version of
chromaprint
(this was also the case with 2.2.1). See #60137 for thechromaprint
update.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @ehmry