From e8026531325ac2a84c976ec1f1a0ad9704db22a4 Mon Sep 17 00:00:00 2001 From: Breizh Date: Sat, 12 Nov 2022 01:00:38 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20du=20gestionnaire=20de?= =?UTF-8?q?=20notifications=20MPD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/ncmpcpp/config | 4 ++-- .local/bin/mpd-notif | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config index cf4ce7e..b7ce251 100644 --- a/.config/ncmpcpp/config +++ b/.config/ncmpcpp/config @@ -102,7 +102,7 @@ visualizer_in_stereo = yes # #visualizer_fps = 60 # -visualizer_autoscale = yes +#visualizer_autoscale = yes # #visualizer_look = ●▮ # @@ -129,7 +129,7 @@ visualizer_autoscale = yes # #visualizer_spectrum_dft_size = 2 # -#visualizer_spectrum_gain = 10 +visualizer_spectrum_gain = 23 # ## Left-most frequency of visualizer in Hz, must be less than HZ MAX # diff --git a/.local/bin/mpd-notif b/.local/bin/mpd-notif index a666d55..c17d308 100755 --- a/.local/bin/mpd-notif +++ b/.local/bin/mpd-notif @@ -16,7 +16,7 @@ do cursong="$(mpc -f '[[%artist%\n|%name%\n]%title%[\n%album%]]|[%file%]' current)" # Si le morceau a changé depuis la dernière vérification - if [[ "$cursong" != "$prevsong" ]] + if [[ "$cursong" != "$prevsong" && "$prevsong" != "Arrêt" ]] then # Extractions des informations depuis la chaîne récupérée plus