bobarr icon indicating copy to clipboard operation
bobarr copied to clipboard

Add notifications on search, download, and request.

Open xsmaze opened this issue 5 years ago • 2 comments

Send notifications to services like Discord, Gotify, and Pushover when content is requested in the UI, results are grabbed from Jackett, and downloads are completed.

xsmaze avatar May 20 '20 07:05 xsmaze

Hi, thank you for the feedback yes this is a good idea, but it won't be available soon.

iam4x avatar May 20 '20 11:05 iam4x

For the download complete part we could rely on transmission's complete script. In ~/bobarr/packages/transmission/config add the script you want to run when a download is completed. Modify the following lines in settings.json (you have to stop transmission before editing its config file so stop all bobarr before you edit, you might need to use sudo to edit the file) in the following way

"script-torrent-done-enabled": true, "script-torrent-done-filename": "/config/torrentfinish.sh",

torrentfinish.sh is the script you want to run and copied into ~/bobarr/packages/transmission/config. /config/ is the whole ~/bobarr/packages/transmission/config exported to transmissions docker.

In the script you could use any API from any service you prefer (from simple email sending to pushover notifications). Personally I use my personal Matrix istance

blackph0en1x avatar Dec 25 '20 19:12 blackph0en1x