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