koldfront

Notifications for deluge

I couldn't make the 'Notifications' plugin for deluge work, and I want confirmation that a torrent has been added when I click a magnet link, so instead I configured the 'Execute' plugin to run this script on the 'Torrent Added' event:

    #!/bin/sh
    /usr/bin/notify-send --icon /usr/share/pixmaps/deluge.png --expire-time 2000 'Deluge' "Torrent '$2' added"

So little effort, such reward.

Add comment?

Title:

Name:

Email (won't be displayed online):

Text:

0.0201 s
webcustodian@koldfront.dk