fix pipewire crackling and install yabridge + add playlist to ignore in playlist script

This commit is contained in:
2026-09-01 20:50:48 +02:00
parent cdb562efa4
commit f6e32de84c
3 changed files with 13 additions and 7 deletions
+7 -5
View File
@@ -170,11 +170,13 @@
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
jack.enable = true; jack.enable = true;
extraConfig.pipewire."92-no-crackling" = { extraConfig.pipewire = {
"context.properties" = { "98-crackling-fix" = {
"default.clock.quantum" = 2048; "context.properties" = {
"default.clock.min-quantum" = 256; "default.clock.quantum" = 1024;
"default.clock.max-quantum" = 4096; "default.clock.min-quantum" = 1024;
"default.clock.max-quantum" = 8192;
};
}; };
}; };
}; };
+5 -1
View File
@@ -29,7 +29,7 @@
trash-cli trash-cli
spek spek
ffmpeg ffmpeg
# wine wine
nemo-with-extensions nemo-with-extensions
papirus-icon-theme papirus-icon-theme
rust-analyzer rust-analyzer
@@ -75,6 +75,10 @@
bs-manager bs-manager
nicotine-plus nicotine-plus
piper piper
yabridge
yabridgectl
wineWow64Packages.yabridge
vital
]; ];
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
+1 -1
View File
@@ -38,7 +38,7 @@
BASENAME="/home/user/Music/$SELECTED_SONGS" BASENAME="/home/user/Music/$SELECTED_SONGS"
# echo $BASENAME | kitty +kitten clipboard # echo $BASENAME | kitty +kitten clipboard
shopt -s extglob shopt -s extglob
if grep -q "$BASENAME" "$PLAYLIST_DIR"/!(new|lostfrog).m3u if grep -q "$BASENAME" "$PLAYLIST_DIR"/!(active\ -\ new|other\ -\ lostfrog).m3u
then then
notify-send "Song is in a playlist"; notify-send "Song is in a playlist";
else else