Qbittorrent failing to run external program Filebot AMC Script
Posted: 12 Jan 2024, 09:17
Apologies for having to ask this but I am at my wits' end. I have searched and read and learned a lot but I cannot find a solution that works for my system. I am new to Linux (sorry again).
Issue
Calling the Filebot AMC Script from Qbittorrent's 'Run external program-->Run on torrent finished' fails. The input and output folders are on different computers, with the output folder being a mounted network folder.
What I have tried
I have tried using the filebot debug script, and although Qbittorrent appears to call it correctly, the log in the /tmp folder is not updated unless I invoke it manually from the terminal.
When run from the terminal the following script (i.e. the one I am trying to fix), located on the target system (asgardplex) but invoked from the source system (Monty) the following script works fine:
I can see from the Qbittorrent execution log https://pastebin.com/4zJzKfpD that when I use the script above but replace the input folder with '%F' it is recognised properly by Qbittorrent, but it still fails to run
When I tried adding '/bin/bash' to the start of the command in Qbittorrent (as I had seen other posts suggest) it does then say that it is running the program, but then it still does nothing, presumably (I am guessing and out of my depth here) because the script isn't in the right shell script format for use with bash? I have tried specifying what I believe is the symbolic link to filebot and also what I think is the absolute path but cannot get anything to work.
Any help to get this working would be very much appreciated as having to do the script manually is a bit of a pain.
Thanks in advance.
About my setup
My OS is Linux Mint:
qBittorrent v4.6.2 (64-bit)
My filebot system information https://pastebin.com/Rh1ii3cq
Filebot logs of last two days of trying to get this to work https://pastebin.com/ap7aRuJ1
Qbittorrent execution log https://pastebin.com/4zJzKfpD
Issue
Calling the Filebot AMC Script from Qbittorrent's 'Run external program-->Run on torrent finished' fails. The input and output folders are on different computers, with the output folder being a mounted network folder.
What I have tried
I have tried using the filebot debug script, and although Qbittorrent appears to call it correctly, the log in the /tmp folder is not updated unless I invoke it manually from the terminal.
When run from the terminal the following script (i.e. the one I am trying to fix), located on the target system (asgardplex) but invoked from the source system (Monty) the following script works fine:
Code: Select all
filebot -script fn:amc --output "/media/gavin/asgardplex" --action duplicate --conflict skip -non-strict --log-file amc.log --def excludeList=amc.excludes unsorted=y music=y artwork=y ut_kind="multi" ut_dir="/home/gavin/BBTDownloads/complete" plex=*.*.*.*:******************
Code: Select all
filebot -script fn:amc --output "/media/gavin/asgardplex" --action duplicate --conflict skip -non-strict --log-file amc.log --def excludeList=amc.excludes unsorted=y music=y artwork=y ut_kind="multi" ut_dir="%F" plex=*.*.*.*:******************
Code: Select all
/usr/bin/filebot.sh
Code: Select all
/usr/share/filebot
Any help to get this working would be very much appreciated as having to do the script manually is a bit of a pain.
Thanks in advance.
About my setup
My OS is Linux Mint:
Code: Select all
Linux Monty 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
My filebot system information https://pastebin.com/Rh1ii3cq
Filebot logs of last two days of trying to get this to work https://pastebin.com/ap7aRuJ1
Qbittorrent execution log https://pastebin.com/4zJzKfpD