From 39eec8d1c4506fd79680a5e4ab2ebec67d35bdc6 Mon Sep 17 00:00:00 2001 From: pmow Date: Sun, 21 Feb 2016 08:57:56 -0500 Subject: [PATCH] add'l comment --- External-Scripts-(experimental).md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/External-Scripts-(experimental).md b/External-Scripts-(experimental).md index 88e2bfe..ca6624e 100644 --- a/External-Scripts-(experimental).md +++ b/External-Scripts-(experimental).md @@ -12,7 +12,8 @@ For this video transcode alert script, you should select the script for action t TIMEOUT="10" URL="https://api.telegram.org/bot$KEY/sendMessage" TEXT="$2 is playing $3 on device $4 ($5) $1" - + #Something like: Username is playing Movie Name on device My Device (Android) Transcode + 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