Mise à jour du gestionnaire de notifications MPD

This commit is contained in:
Breizh 2022-11-12 01:00:38 +01:00
parent 0c9b4bd3f6
commit 1751468953
2 changed files with 3 additions and 3 deletions

View file

@ -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
#

View file

@ -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" != "<i>Arrêt</i>" ]]
then
# Extractions des informations depuis la chaîne récupérée plus