Qbittorrent-filebot script
Posted: 03 Jun 2024, 22:52
Hi All,
I've been trying to run a qbittorrent-filebot script on unraid. I don't understand how to edit the file to make it do what I want.
1. I would like it to clean up any left over folders after sorting. I believe this is achieved with --def clean=y\ but it doesn't seem to run the script if i make the change even after restarting the docker, do i have the --def clean in the wrong spot'?
2. Is there a way to have it move the file but not sort files into categories e.g. TV shows=> XXX show => Season 1 etc
On qbittorrent the following commands are set to run external command /data/filebot/fb.sh "%F" "%N" "%L"
Current Command fb.sh
I've been trying to run a qbittorrent-filebot script on unraid. I don't understand how to edit the file to make it do what I want.
1. I would like it to clean up any left over folders after sorting. I believe this is achieved with --def clean=y\ but it doesn't seem to run the script if i make the change even after restarting the docker, do i have the --def clean in the wrong spot'?

2. Is there a way to have it move the file but not sort files into categories e.g. TV shows=> XXX show => Season 1 etc
On qbittorrent the following commands are set to run external command /data/filebot/fb.sh "%F" "%N" "%L"
Current Command fb.sh
Shell: Select all
#!/bin/bash
# Future feature
#if [ ! -f /filebot/osdb.loggedin ]; then
# printf "$OSDB_USER\n$OSDB_PASSWD\n" | /filebot/filebot.sh -script fn:configure
# touch /filebot/osdb.loggedin
#fi
# Set this to 1 if you want to customize the fb.sh script. So it won't be reset at restart.
custom=0
/filebot/filebot.sh \
-script fn:amc \
--output /media \
--lang "$FILEBOT_LANG" \
--action "$FILEBOT_ACTION" \
--conflict "$FILEBOT_CONFLICT" \
--log-file /data/filebot/filebot.log \
--def excludeList=/data/filebot/amc-exlude-list.txt \
--def clean=y \
-non-strict \
--def \
unsorted=y \
music="$FILEBOT_PROCESS_MUSIC" \
musicFormat=/media/"$MUSIC_FORMAT" \
artwork=/media/"$FILEBOT_ARTWORK" \
movieFormat=/media/"$MOVIE_FORMAT" \
seriesFormat=/media/"$SERIE_FORMAT" \
animeFormat=/media/"$ANIME_FORMAT" \
ut_dir="$1" \
ut_title="$2" \
ut_label="$3"