Search found 541 matches

by killemov
Wed May 11, 2011 10:06 am
Forum: Support
Topic: script for completed torrent
Replies: 15
Views: 41495

Re: script for completed torrent

Why do this in a separate script that has to be cronned or run manually?

Take a look at Unrar and cleanup script and change it to remove the torrent only.
by killemov
Wed May 11, 2011 9:53 am
Forum: Support
Topic: Stop torrent when download has finished
Replies: 1
Views: 1660

Re: Stop torrent when download has finished

Take a look at Unrar and cleanup script and change it to stop the torrent.
by killemov
Mon May 09, 2011 1:57 pm
Forum: General
Topic: Script for refreshing specific torrents
Replies: 3
Views: 3047

Re: Script for refreshing specific torrents

Mondscheinchen wrote:you could run a cronjob to restart them
Maybe it could be just as simple to run this every X minutes/hours?

transmission-remote -n $USERNAME:$PASSWORD -s
by killemov
Mon May 09, 2011 1:52 pm
Forum: General
Topic: Quit when all downloads complete
Replies: 2
Views: 4294

Re: Quit when all downloads complete

Yes it is possible to exit transmission when all the downloads are complete. Take a good hard look at the options for transmission remote. Here are some examples for Debian. You may want to change it for mac use. This yields the number of torrents that are not done: transmission-remote -n $USERNAME:...
by killemov
Mon May 09, 2011 1:36 pm
Forum: General
Topic: Unrar/unzip and manage your torrents with just one script
Replies: 7
Views: 16987

Re: Unrar/unzip and manage your torrents with just one scrip

You might want to refactor your regexps and use some meaningful names for them.

I guess that a lot of conditions / test could be lumped into a smaller number of variables.

Have you searched for a simple case conversion routine?
For example:
sed 's/\(.*\)/\L\1/'
sed 's/\(.*\)/\U\1/'
by killemov
Mon May 09, 2011 1:13 pm
Forum: General
Topic: The Daemon Isn't Running My Scripts.
Replies: 1
Views: 1685

Re: The Daemon Isn't Running My Scripts.

Have you tried running the script manually first? Some shells are fussy about the starting line. Have you tried this? Unrar and cleanup script As a bonus: Transmissions settings.json can not be configured while running. If you make the changes to settings.json and then stop transmission your changes...
by killemov
Mon May 09, 2011 12:48 pm
Forum: General
Topic: Unrar and cleanup script - UPDATE 2013.05.24
Replies: 142
Views: 270273

Re: Unrar and cleanup script - UPDATE 2011.05.09

I have updated the start post with a new script.

The only change I made was to check if unrar exits with an error code and handle it by exiting.

There are some weird rare occasions that tm thinks it's all done but the content actually is not complete or has minor corruption.
by killemov
Sat Apr 23, 2011 1:38 pm
Forum: Requests
Topic: Limit of downloading torrents at the same time
Replies: 1
Views: 4198

Re: Limit of downloading torrents at the same time

The basic queue-system found in most other clients work with a first come first serve algorithm. While this works reasonably well in general, it does not aim for (actually might harm) the goal you really want: maximum throughput! Example: Your maximum active torrent count is 4. You have 20 torrents ...
by killemov
Sat Apr 23, 2011 1:04 pm
Forum: Requests
Topic: Check torrent content against existing file library
Replies: 1
Views: 5643

Re: Check torrent content against existing file library

So, how is it best to prevent downloading duplicate files which I already have in my library? My idea would be to have an indexing utility that would create a hash table for all my existing files. Then when I add a torrent, the hash for each file within the torrent would be compared to the list of ...
by killemov
Sat Apr 23, 2011 12:17 pm
Forum: General
Topic: Unrar and cleanup script - UPDATE 2013.05.24
Replies: 142
Views: 270273

Re: Unrar and cleanup script - UPDATE 2011.02.20

If i have torrents that I would like not to be deleted from transmission after extraction, could you alter the script to check if the torrent has already been extracted? It looks for a file named "exit" and if it exists the script will exit. It looks for a file named "keep" and ...
by killemov
Sun Mar 13, 2011 10:02 pm
Forum: Requests
Topic: Support for archives with torrents
Replies: 3
Views: 2872

Re: Support for archives with torrents

One big problem with your train of thought is that the NEW torrent, containing the .srt, has nothing to do with the OLD torrent. They will have different hashes. So your example is kind of useless. However, the uploading of a specifically formatted archive might be an idea for initial seeding. Thoug...
by killemov
Sat Mar 12, 2011 8:30 am
Forum: Requests
Topic: Does executing script-torrent-done block transmission?
Replies: 4
Views: 2878

Re: Does executing script-torrent-done block transmission?

Thank you both for your replies. I will update to 2.2x soon. For fixing this right now, do you mean my config entry should look like this: "script-torrent-done-filename": "{ /srv/transmission-emails/libevent-mail.sh >> /srv/transmission-emails/output.log 2>&1} &", Correc...
by killemov
Sun Mar 06, 2011 4:01 pm
Forum: Requests
Topic: Does executing script-torrent-done block transmission?
Replies: 4
Views: 2878

Re: Does executing script-torrent-done block transmission?

You can solve this NOW by surrounding your script with { } &.

For example: viewtopic.php?f=1&t=10364
by killemov
Wed Feb 23, 2011 3:34 pm
Forum: Requests
Topic: Use token for transmission authentication
Replies: 2
Views: 2212

Re: Use token for transmission authentication

This sounds like RPC's "torrent id" field. It is most definitely NOT. As far as I know, $TR_TORRENT_ID or the parameter for rpc just hold a simple integer index. That in itself may be error prone. The ultimate goal is that you do not have to use a username/password to manipulate a single(...
by killemov
Mon Feb 21, 2011 9:13 am
Forum: Requests
Topic: Use token for transmission authentication
Replies: 2
Views: 2212

Use token for transmission authentication

I would like to use token authentication from within the torrent-done-script. A token would only be associated with a specific torrent. It could be generated from the torrenthash + timestamp. The lifespan of a token is limited by the instantiation of the daemon, the lifetime of the torrent in transm...