
Search found 10 matches
- Fri Jul 01, 2011 5:05 am
- Forum: Plugins
- Topic: How to see time it took to download a torrent?
- Replies: 16
- Views: 13002
Re: How to see time it took to download a torrent?
I think it is related to Python issues my distro has had with updates. Thanks a ton for your help, greatly appreciated. I'm going to try on distro forum and report back here if any luck 

- Thu Jun 30, 2011 5:48 pm
- Forum: Plugins
- Topic: How to see time it took to download a torrent?
- Replies: 16
- Views: 13002
Re: How to see time it took to download a torrent?
Saved that as torrenttest.sh and chmod+x, it works:
Code: Select all
./torrenttest.sh 7ff6f0ca13415686703fe7b8d18203f95805f2b4
0:12:14
- Thu Jun 30, 2011 3:29 am
- Forum: Plugins
- Topic: How to see time it took to download a torrent?
- Replies: 16
- Views: 13002
Re: How to see time it took to download a torrent?
I used other torrent ID as that one was just for testing script and I deleted it:
Code: Select all
/usr/bin/python2 /home/bobby/scripts/deluge/torrentTimeDelta.py 6885686de45f284ac2a44f021dbf9584cac24d1e
65 days, 16:08:33
- Thu Jun 30, 2011 2:49 am
- Forum: Plugins
- Topic: How to see time it took to download a torrent?
- Replies: 16
- Views: 13002
Re: How to see time it took to download a torrent?
Okay I did this, but it's freezing my deluge now when it executes. Checking PIDs I see: psaux deluge bobby 1599 0.8 0.8 73760 28544 ? Sl Jun28 13:24 /usr/bin/python2 /usr/bin/deluged bobby 1604 0.3 0.4 22372 16460 ? S Jun28 6:02 /usr/bin/python2 /usr/bin/deluge-web -f bobby 1809 0.2 0.2 15816 6752 p...
- Thu Jun 30, 2011 1:30 am
- Forum: Plugins
- Topic: How to see time it took to download a torrent?
- Replies: 16
- Views: 13002
Re: How to see time it took to download a torrent?
Ok I used that as torrentID.py and did:
So it works, but only manually?
Code: Select all
python2 torrentTimeDelta.py 363e9064f2af41f63e16779dc9dccf4b9cf0542d
2:48:16
- Thu Jun 30, 2011 12:05 am
- Forum: Plugins
- Topic: How to see time it took to download a torrent?
- Replies: 16
- Views: 13002
Re: How to see time it took to download a torrent?
Okay this is what I have put: #!/bin/bash torrentid=$1 torrentname=$2 torrentpath=$3 torrenttimedelta=`python /home/bobby/scripts/deluge/torrentTimeDelta.py $1` subject="Started download new torrent!" message="$torrentname to $torrentpath" echo -e `date`"::Finished downloadi...
- Wed Jun 29, 2011 8:21 pm
- Forum: Plugins
- Topic: How to see time it took to download a torrent?
- Replies: 16
- Views: 13002
Re: How to see time it took to download a torrent?
Thanks! How should I call it from my script? Just pass it $1 and it will return a string. Sorry mate I'm pretty bad with bash lol, my script is: #!/bin/bash torrentid=$1 torrentname=$2 torrentpath=$3 subject="Started download new torrent!" message="$torrentname to $torrentpath" ...
- Wed Jun 29, 2011 2:49 am
- Forum: Plugins
- Topic: How to see time it took to download a torrent?
- Replies: 16
- Views: 13002
Re: How to see time it took to download a torrent?
Thanks! How should I call it from my script?
- Tue Jun 28, 2011 8:43 pm
- Forum: Plugins
- Topic: How to see time it took to download a torrent?
- Replies: 16
- Views: 13002
How to see time it took to download a torrent?
I see Active Time and Seeding Time, and the math is simple enough of course, but I have an automated script to send me an email when torrent is complete, and I'm wondering how I can add in the email a little blurb with the time it took to complete the torrent download? This is the email script I am ...
- Sun Apr 03, 2011 7:49 pm
- Forum: Plugins
- Topic: [Solved]is it possible to make Email Notification plugin?
- Replies: 10
- Views: 9728
Re: [Solved]is it possible to make Email Notification plugin
I am using this script (modified to torrent_complete.sh intead of added) and it works great (note: I did have to restart the deluge daemon but tested and working now). Just a question, in the bash script you have the lines subject="Started download new torrent!" message="$torrentname ...