add breakingnews filter - 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 e5f45058d06153e35ccc024ac9d3801dc094dc76 DIR parent 020c41a2d405d284d1bbb53cbfaccb329fe1fe95 HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Wed, 5 Oct 2022 15:06:02 +0200 add breakingnews filter Signed-off-by: Annna Robert-Houdin <annna@bitreich.org> Diffstat: M annna-message-common | 1 + M ffmpeg-effect | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -867,6 +867,7 @@ case "${text}" in "${ircuser}, please amsterdamify #"*|\ "${ircuser}, please banjo #"*|\ "${ircuser}, please bounce #"*|\ +"${ircuser}, please breakingnews #"*|\ "${ircuser}, please celtify #"*|\ "${ircuser}, please concatenate #"*|\ "${ircuser}, please daybowbow #"*|\ DIR diff --git a/ffmpeg-effect b/ffmpeg-effect @@ -132,6 +132,8 @@ process_filter() { $ffmpeg_common -i "$2" \ -filter_complex "[0]reverse[r];[0][r]concat,loop=${repeats}:250,setpts=N/25/TB" -an \ "$3" </dev/null;; + breakingnews) + mix_audio "${mediadir}/breakingnews.opus" "$2" "$3";; celtify) mix_audio "${mediadir}/broceliande.ogg" "$2" "$3";; concatenate)