Pushover script
Posted: Sat Jun 25, 2016 12:17 pm
Hello,
I currently use uTorrent and would like to switch to deluge. The one thing stopping me is a powershell script that send a pushover notification
No I'm a complete noob when is comes to coding is it possible to run a batch file through deluge that call the above script, as I've read deluge doesn't support powershell?
I currently use uTorrent and would like to switch to deluge. The one thing stopping me is a powershell script that send a pushover notification
Code: Select all
<#
.SYNOPSIS
Send a message when a torrent has finished
.DESCRIPTION
uTorrent allows a script to be ran with various parameters when a torrent has finished downloading
or its state has changed.
Settings can be found at Options -> Preferences -> Advanced -> Run Program
Set the option Run this program when a torrent finishes" to the following
powershell.exe -ExecutionPolicy Unrestricted -File C:\Pushover-uTorrentNotify.ps1 %N
#>
Import-Module PS-Pushover
Send-PushoverMessage -title "Download Finished" -message $args[0] -sound "cashregister" `
-user "user key" -token "api token"