Allow more looops. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit d045f609034936b193a96c826a3274ca9bf5ece2 DIR parent e054a11f18d6613c483be66605966477ce26268c HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Fri, 25 Aug 2023 10:06:54 +0200 Allow more looops. Diffstat: M annna-message-common | 1 + M ffmpeg-effect | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -1002,6 +1002,7 @@ case "${text}" in "${ircuser}, please FRENCH #"*|\ "${ircuser}, please imam #"*|\ "${ircuser}, please loop #"*|\ +"${ircuser}, please looop #"*|\ "${ircuser}, please mow #"*|\ "${ircuser}, please namflashback #"*|\ "${ircuser}, please pullmyfinger #"*|\ DIR diff --git a/ffmpeg-effect b/ffmpeg-effect @@ -157,7 +157,8 @@ process_filter() { mix_audio_video "${mediadir}/french-thursday.mp4" "$2" "$3" 800 450;; imam) mix_audio "${mediadir}/imam.mp3" "$2" "$3";; - loop) + loop|looop) + [ "$1" == "looop" ] && repeats=10 i=0 input="" while test $i -lt $repeats; do