Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Torrent added script #18

Open
wants to merge 117 commits into
base: 0.7x
Choose a base branch
from
Open

Torrent added script #18

wants to merge 117 commits into from

Conversation

xpt3
Copy link

@xpt3 xpt3 commented Mar 11, 2016

It's useful to add an option to notify when a torrent is added to Transmission, like the Prowl App integratrion, but more personalized.

This would be similar to the Transmission option to notify when a torrent is finished.

1100101 added 30 commits January 3, 2012 14:05
This reverts commit ff9d5ec.
 I use this for testing regex matching without actually forwarding any found torrents to Transmission
  within suboptions. (Use '\' to mark a continued line)
- Removed parsing code for obsolete "url" and "patterns" options.
- General code cleanup
@xpt3
Copy link
Author

xpt3 commented Apr 5, 2016

I use a script to do that, and I run it with cron

/usr/bin/automatic -f -c automatic.conf -o > automatic.tmp 2>&1

cat automatic.tmp | grep Found | cut -d':' -f5- | rev | cut -d'(' -f2- | rev | while read t
do
#some notification
notify-send "Torrent added: $t"
done

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.

6 participants