From 879b468dec327a70ef24c6b243711fc10fb4d3d8 Mon Sep 17 00:00:00 2001 From: pmow Date: Wed, 20 Jan 2016 20:37:09 -0500 Subject: [PATCH] Telegram notification script : excluded Copy from notification --- External-Scripts-(experimental).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/External-Scripts-(experimental).md b/External-Scripts-(experimental).md index 47acf15..2369731 100644 --- a/External-Scripts-(experimental).md +++ b/External-Scripts-(experimental).md @@ -8,6 +8,6 @@ URL="https://api.telegram.org/bot$KEY/sendMessage" TEXT="Crap, your server is transcoding something: ! Go check on it, noob!" - if [ "" != "Direct Play" ]; then + if [ "$1" != '"Direct Play"' ] && [ "$1" != '"Copy"' ]; then curl -s --max-time $TIMEOUT -d "chat_id=$USERID&disable_web_page_preview=1&text=$TEXT" $URL > /dev/null fi \ No newline at end of file