-
-
Notifications
You must be signed in to change notification settings - Fork 410
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
Script doesn't execute. Torrents never get labeled as "Finished". #473
Comments
Some command aliases have been deprecated for a long time, so check src/main.cc and src/command_*.cc for the correct command names for "$d.get_base_path=,$d.get_name=". There's also a wiki page for deprecated command names. |
Thanks for your reply, rakshasa. Still. the script never gets executed because the torrents never get labeled as "finished", at least that is what i think, correct me if i'm wrong. Thanks. |
Well, the syntax looks good, but (because there's always a but :) ) : A.
B. you can check if the
|
I added the 2 methods to my configuration file, and now it seems to work just fine! Thank you very much, mate! |
Ok, it worked for 35 minutes :) Now i get: |
That error probably is a syntax error, that suggest it never worked. |
You missed the 2nd part of that. :)
Once it works then you can remove the |
It seems to work now, thanks 👍 Even if with my luck in a couple of days it will stop working Let's say i want to pass to the script some other information, do i have to create something like that string you gave me and then pass the method to the script ? |
|
https://github.com/rakshasa/rtorrent/wiki/LOG-Logging There's a logging option that lets you see both the command executed and the raw binary output. When dealing with scripts not working that is what you should look at first, before making tickets and such. |
Which someone really should write up in the wiki or something. |
Hi,
I'm trying to run a script whenever a torrent finishes, the problem is that the torrents never get labeled as "finished" so the event "event.download.finished" never occurs.
system.method.set_key = event.download.finished,fileprocessing,"execute=/media/sdah1/nicissimo97/private/rtorrent/file_processing.sh,$d.get_base_path=,$d.get_name="
Running: 0.9.6
What am i doing wrong?
The text was updated successfully, but these errors were encountered: