Ubuntu / Filebot / rtorrent issue
Posted: 13 Dec 2016, 00:13
Just did a clean install of the following:
Ubuntu 16.04
filebot 4.7.5 / oracle java 8.0
rtorrent 9.6 rutorrent 3.7
rtorrent.rc
system.method.set_key=event.download.finished,filebot_amc,"execute={/media/Extras/Videos/renamer.sh,$d.get_base_path=,$d.get_name=,$d.get_custom1}"
renamer.sh
#!/bin/bash
ARG_PATH="$1"
ARG_NAME="$2"
ARG_LABEL="$3"
filebot -script fn:amc --action move --conflict override -non-strict --def clean=y --def "movieFormat=/media/Extras/Videos/Movies/{n.upperInitial().space('.')}.({y})" "seriesFormat=/media/Extras/Videos/Shows.to.Watch/{n.upperInitial().space('.')}.{s00e00}.{t.upperInitial().space('.')}" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL" &
Now I can trigger it manually by dropping from the ut_dir= on and giving the script my torrent folder location but rtorrent doesn't appear to like it I get this every time it completes.
Event 'event.download.finished' failed: Bad return code.
Anyone have any thought? Also a huge shout out to the dev on this it is one hell of an app thank you.
Ubuntu 16.04
filebot 4.7.5 / oracle java 8.0
rtorrent 9.6 rutorrent 3.7
rtorrent.rc
system.method.set_key=event.download.finished,filebot_amc,"execute={/media/Extras/Videos/renamer.sh,$d.get_base_path=,$d.get_name=,$d.get_custom1}"
renamer.sh
#!/bin/bash
ARG_PATH="$1"
ARG_NAME="$2"
ARG_LABEL="$3"
filebot -script fn:amc --action move --conflict override -non-strict --def clean=y --def "movieFormat=/media/Extras/Videos/Movies/{n.upperInitial().space('.')}.({y})" "seriesFormat=/media/Extras/Videos/Shows.to.Watch/{n.upperInitial().space('.')}.{s00e00}.{t.upperInitial().space('.')}" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL" &
Now I can trigger it manually by dropping from the ut_dir= on and giving the script my torrent folder location but rtorrent doesn't appear to like it I get this every time it completes.
Event 'event.download.finished' failed: Bad return code.
Anyone have any thought? Also a huge shout out to the dev on this it is one hell of an app thank you.