qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.31k stars 3.98k forks source link

Webhook/telegram/Discord bot support when finished #16520

Open zzz6839 opened 2 years ago

zzz6839 commented 2 years ago

Suggestion

I tried to run Curl on the external programs section but neither Windows nor Docker version QB was working, could we have a separate internal notification program when torrent status changed?

Use case

download finished notification via Telegram

Extra info/examples/attachments

log: 2/17/2022 5:44 PM - Torrent: [VCB-Studio] Persona4, running external program, command: curl -X POST -d chat_id=my id -d text="[VCB-Studio] Persona4 download completed (65918065678 bytes)" 'https://api.telegram.org/mybot/sendMessage'

swannie-eire commented 2 years ago

i do this and it works fine with slack webhook. you sure the command works when ran outside of the container?

if i remember correctly you have to use the absolute path to bin file. e.g /bin/curl

zzz6839 commented 2 years ago

i do this and it works fine with slack webhook. you sure the command works when ran outside of the container?

if i remember correctly you have to use the absolute path to bin file. e.g /bin/curl

The log above was from windows version QB and nothing happened after that, tried separately on windows cmd prompt but reported "URL using bad/illegal format or missing URL", so I was thinking if we could have a separate GUI for webhook other than email for any OS.