Skip to content

Conversation

@2600box
Copy link

@2600box 2600box commented Sep 14, 2019

needed to reference apikey and token directly when calling the script. tested on rtorrent-ps 0.9.6.

needed to reference apikey and token directly when calling the script. tested on rtorrent-ps 0.9.6.
method.insert = cfg.pushover.userkey, private|const|string, (cat,"PUSHOVER_USERKEY")
method.insert = cfg.pushover.apitoken, private|const|string, (cat,"PUSHOVER_TOKEN")
system.method.set_key = event.download.finished,notify_me,"execute=~/path/to/rtorrent-pushover.sh,$d.get_name="
system.method.set_key = event.download.finished,notify_me,"execute=~/path/to/rtorrent-pushover.sh,$d.get_name=$cfg.pushover.userkey=,$cfg.pushover.apitoken="
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find. I haven't used the multi-user part so this hasn't been a problem for me..
If I'm not mistaken you're missing a comma here between get_name & userkey?
$d.get_name=,$cfg.pushover.userkey=

If you fix that I can merge this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants