qbittorrent_telegram_notification icon indicating copy to clipboard operation
qbittorrent_telegram_notification copied to clipboard

Problem making it work

Open berta24 opened this issue 1 year ago • 5 comments

Does it work for you? looks like my qbittorrent uses a total different syntax.. in declaring and using a variable my qbittorrent requires to use '${1}' instead of your ${1}. with your code a msg is never sent and the log shows image this is my qbit config image

in the past i had it working with this script, with bot_token and chat_id explicitly written,

#!/bin/bash
curl -S -X POST 'https://api.telegram.org/bot***BOT_TOKEN***/sendMessagechat_id=***CHAT_ID***&text=DownloadIniziato'${1}'&parse_mode=HTML'

the problem was on the name, it would show only the first word if there was a space in between, like in the example above, Resident Evil Death Island 2023 Bluray 2160p AV1 HDR10 EN_FR_ES_ITA OPUS 7.1-UH was shorten to: image

berta24 avatar Dec 18 '23 11:12 berta24