Erreur de syntaxe dans la configuration de local/bin/play_tophaire.sh

This commit is contained in:
2023-11-19 17:48:06 +01:00
parent 881804df34
commit eed90f26c4

View File

@@ -7,7 +7,7 @@ test -f "${config_filename}" && . "${config_filename}" || echo "# Fichier de con
### edit directory path music background
if [[ -z "${jingle_tophoraire+set}" ]]; then
jingle_tophoraire=$(xdg-user-dir MUSIC)/jingles/t1.top_h_hkc.mp3
echo "jingle_tophaire=${jingle_tophoraire}" | tee -a "${config_filename}"
echo "jingle_tophoraire=${jingle_tophoraire}" | tee -a "${config_filename}"
fi
@@ -21,5 +21,3 @@ play "$jingle_mp3" >/dev/null 2>&1 &
heure_actuelle=$(date +'%k')
message_annonce="top horaire. $heure_actuelle heures"
espeak-ng "$message_annonce" -v fr+f5 -p 25 -s 135
espeak-ng "top horaire. $(date +\'%k\') heures" -v fr+f5 -p 25 -s 135