add yellow filter - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 121ede57a568a6f5ae38501ffdf243ae75a25514
(DIR) parent cfd8e58bca3d7981f4d0111c6f4b639e5070d92b
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 11 May 2022 13:07:01 +0200
add yellow filter
Also reorder the imam filter, which was out of alphabetical order.
Signed-off-by: Annna Robert-Houdin <annna@bitreich.org>
Diffstat:
M annna-message-common | 5 +++--
M ffmpeg-effect | 6 ++++--
2 files changed, 7 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -830,6 +830,7 @@ case "${text}" in
"${botname}, please daybowbow #"*|\
"${botname}, please dontdoit #"*|\
"${botname}, please doomify #"*|\
+"${botname}, please imam #"*|\
"${botname}, please loop #"*|\
"${botname}, please mow #"*|\
"${botname}, please putin #"*|\
@@ -846,9 +847,9 @@ case "${text}" in
"${botname}, please thin #"*|\
"${botname}, please torture #"*|\
"${botname}, please trumpapprove #"*|\
-"${botname}, please imam #"*|\
"${botname}, please widen #"*|\
-"${botname}, please ww1 #"*)
+"${botname}, please ww1 #"*|\
+"${botname}, please yellow #"*)
hashtag="$(printf "%s\n" "${text}" | sed 's/.*#//; s/ .*//' )"
recipient="$(printf "%s\n" "${text}" | sed 's/.* for //' )"
origext="$(grep -E "^#${hashtag} " "${hashtagfile}" | sed 's/.*\.//')"
(DIR) diff --git a/ffmpeg-effect b/ffmpeg-effect
@@ -91,6 +91,8 @@ process_filter() {
mix_audio "${mediadir}/dontdoit.mp3" "$2" "$3";;
doomify)
mix_audio "${mediadir}/doom.mp3" "$2" "$3";;
+ imam)
+ mix_audio "${mediadir}/imam.mp3" "$2" "$3";;
loop)
i=0
input=""
@@ -140,14 +142,14 @@ process_filter() {
side_by_side "${mediadir}/clockworkorange.mkv" "$2" "$3";;
trumpapprove)
mix_audio "${mediadir}/trump-approves.opus" "$2" "$3";;
- imam)
- mix_audio "${mediadir}/imam.mp3" "$2" "$3";;
wide|widen)
$ffmpeg_common -i "$2" \
-vf "scale=iw*4:ih,crop=iw/4:ih:iw/4:ih,setsar=1" \
"$3" </dev/null;;
ww1)
mix_audio "${mediadir}/ww1.mp3" "$2" "$3";;
+ yellow)
+ mix_audio "${mediadir}/yellow.opus" "$2" "$3";;
*) usage;;
esac
}