diff --git a/local/bin/play_tophaire.sh b/local/bin/play_tophaire.sh index 69f88c6..421681f 100755 --- a/local/bin/play_tophaire.sh +++ b/local/bin/play_tophaire.sh @@ -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