Add amsterdamify support to annna. - 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 10323e6d4dd4f8d46e585690afc9c9fcfefd99a4 DIR parent 5a034f48f9cedcba6c52adbd56447e43b48a6282 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Fri, 4 Jun 2021 06:36:01 +0200 Add amsterdamify support to annna. Diffstat: M annna-message-common | 3 ++- M ffmpeg-effect | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -667,7 +667,8 @@ case "${text}" in "${botname}, please loop #"*|\ "${botname}, please bounce #"*|\ "${botname}, please sexify #"*|\ -"${botname}, please sendtohell #"*) +"${botname}, please sendtohell #"*|\ +"${botname}, please amsterdamify #"*) hashtag="$(printf "%s\n" "${text}" | sed 's/.*#//' )" origext="$(grep -E "^#${hashtag} " "${hashtagfile}" | sed 's/.*\.//')" { DIR diff --git a/ffmpeg-effect b/ffmpeg-effect @@ -10,7 +10,7 @@ repeats=5 usage() { printf 'usage: %s [-n REPEATS] FILTER infile outfile\n' "${0##*/}" 1>&2 printf 'where FILTER is one of: wide, thin, speedup, ' 1>&2 - printf 'slowdown, reverse, loop, bounce, sexify, sendtohell.\n' 1>&2 + printf 'slowdown, reverse, loop, bounce, sexify, sendtohell, amsterdamify.\n' 1>&2 printf 'For loop and bounce, option -n sets the number of repeats (default %d).\n' "$repeats" 1>&2 exit 1 } @@ -56,7 +56,7 @@ process_filter() { -i "${mediadir}/careless_whisper.mp3" \ -filter_complex "amix=inputs=2:duration=shortest:weights=3 2" \ "$3" </dev/null;; - sendtohell) + sendtohell|amsterdamify) $ffmpeg_common -i "$2" \ -i "${mediadir}/hell.mkv" \ -filter_complex "