Hey rednoah quick question,
I noticed the exec line for rtorrent.rc that's posted in the AMC thread is different than what's listed on the github.. I'm assuming the github is correct as it's the more current of the two. Just wanted to check.
From AMC thread:
system.method.set_key=event.download.finished,filebot,"execute={'`pwd`/rtorrent-postprocess.sh',$d.get_base_path=,$d.get_name=,$d.get_custom1=}"
From Git:
system.method.set_key=event.download.finished,filebot,"execute={rtorrent-postprocess.sh,$d.get_base_path=,$d.get_name=,$d.get_custom1=}"
Just wanted to make sure the github version is the one I should be using. Also would your answer change if I were using Filebot 4.6.1 and NOT 4.7.7?
Thank you for your time.
Quick question about AMC and rtorrent-postprocess.sh
Re: Quick question about AMC and rtorrent-postprocess.sh
Neither is correct.
`pwd`/rtorrent-postprocess.sh will give you the absolute path assuming that rtorrent-postprocess.sh is in the current working directory. This is part of a bash command, and will not appear like this in the configuration file.
This command will add an extra line to .rtorrent.rc:
`pwd`/rtorrent-postprocess.sh will give you the absolute path assuming that rtorrent-postprocess.sh is in the current working directory. This is part of a bash command, and will not appear like this in the configuration file.
This command will add an extra line to .rtorrent.rc:
Code: Select all
echo 'system.method.set_key=event.download.finished,filebot,"execute={'`pwd`/rtorrent-postprocess.sh',$d.get_base_path=,$d.get_name=,$d.get_custom1=}"' >> ~/.rtorrent.rc
Re: Quick question about AMC and rtorrent-postprocess.sh
Okay so rtorrent-postprocess.sh would need to be in the same folder as .rtorrent.rc in this instance?
Re: Quick question about AMC and rtorrent-postprocess.sh
I have no idea. Presumably, rtorrent will search the PATH for rtorrent-postprocess.sh and the .rtorrent.rc folder is most likely not in the PATH.
Re: Quick question about AMC and rtorrent-postprocess.sh
Thanks for your continued help!