Salut à tous,
J'ai voulu utiliser ce script mais malheureusement même en l'adaptant il ne fonctionne pas.
En fait rtorrent n'appel pas le script à la fin d'un téléchargement.
Mon .rtorrent.rc
network.scgi.open_port = 127.0.0.1:5001
encoding.add = UTF-8
network.port_range.set = 45000-65000
network.port_random.set = no
pieces.hash.on_completion.set = no
directory.default.set = /home/cmathiasfilms/torrents
session.path.set = /home/cmathiasfilms/.session
protocol.encryption.set = allow_incoming, try_outgoing, enable_retry
schedule2 = watch_directory,1,1,load.start=/home/cmathiasfilms/watch/*.torrent
schedule2 = untied_directory,5,5,stop_untied=/home/cmathiasfilms/watch/*.torrent
schedule2 = espace_disque_insuffisant,1,30,close_low_diskspace=500M
trackers.use_udp.set = yes
dht.mode.set = off
protocol.pex.set = no
throttle.min_peers.normal.set = 40
throttle.max_peers.normal.set = 100
throttle.min_peers.seed.set = 10
throttle.max_peers.seed.set = 50
throttle.max_uploads.set = 15
execute2 = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php cmathiasfilms &}
log.open_file = "rtorrent.log", (cat,/home/cmathiasfilms/log/rtorrent.log.,(system.pid))
log.add_output = "critical", "rtorrent.log"
log.add_output = "error", "rtorrent.log"
log.add_output = "warn", "rtorrent.log"
log.add_output = "notice", "rtorrent.log"
log.add_output = "info", "rtorrent.log"
log.add_output = "debug", "rtorrent.log"
method.set_key=event.download.finished,filebot,"execute2={/home/cmathiasfilms/rtorrent-postprocess,$d.directory=,$d.name=,$d.custom1=}"
Le script rtorrent-postprocess fonctionne en manuel. Donc c'est bien un problème de gestion rtorrent.
Merci de votre aide