Both scripts can be called in the same rtorrent conf.
postdl.sh -> Use Filebot and a dirty movies/series custom switch
postrm.sh -> Seach and delete all broken symlink and call filebot cleaner
# rtorrent.rc
method.set_key = event.download.erased,filebot_cleaner,"execute2=/<path_to_the_script>/postrm.sh"
method.set_key = event.download.finished,filebot,"execute2={/<path_to_the_script>/postdl.sh,$d.get_base_path=,$d.get_name=}"DEBUG_DIR="/opt/rtorrent/log/"
DEBUG_FILE=""
DEBUG_FILE_MOVIES="$DEBUG_DIR/filebot_movies.log"
DEBUG_FILE_SERIES="$DEBUG_DIR/filebot_series.log"
DEBUG_FILE_DEFAULT="$DEBUG_DIR/filebot_default.log"
EXEC_DEBUG="$DEBUG_DIR/postdl.debug"Tested with:
rTorrent/LibTorrent vers les versions 0.9.7/0.13.7
FileBot 4.7.7 (r4678) / OpenJDK Runtime Environment 1.8.0_181 / Linux 4.15.18-9-pve (amd64)
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request and enjoy!
Check out all the awesome contributors.# torrrent rtorrent Tools