First: I have two Filebot AMC scripts running post-qBittorrent. One copies files to one location, and the second moves them to a second backup location and cleans up afterwards.
Code: Select all
/home/lxle/filebot/filebot.sh -script fn:amc "%D" --output "/home/lxle/synmedia" --action copy -non-strict --conflict auto --log-file amc.log --def excludeList=/home/lxle/amc-syn.excludes --def @/home/lxle/amc-formats.txt; /home/lxle/filebot/filebot.sh -script fn:amc "%D" --output "/home/lxle/drobomedia" --action move -non-strict --def clean=y --def unsorted=y --conflict auto --log-file amc.log --def excludeList=/home/lxle/amc-drobo.excludes --def @/home/lxle/amc-formats.txt
The first Filebot script usually works, but the second one sometimes copies the files but doesn't finish up, going into a hung state and not cleaning up the old files and cruft.
Given that, I have a couple of directories in my downloads folder that I'd like to process, so I'm trying to run essentially the same second script, but Filebot is returning nothing.
Code: Select all
lxle@TGHlxle:~$ ls "$HOME/Downloads/Media Processing/2. TGHlxle Completed Downloads"
'Dalziel and Pascoe - series 4' 'Dalziel & Pascoe S07'
lxle@TGHlxle:~$ "$HOME/filebot/filebot.sh" -script fn:amc "$HOME/Downloads/Media Processing/2. TGHlxle Completed Downloads" --output "$HOME/drobomedia" --action move -non-strict --def clean=y --def unsorted=y --conflict auto --log-file amc.log --def excludeList="$HOME/amc-drobo.excludes" --def @"$HOME/amc-formats.txt"
Locking /home/lxle/filebot/data/lxle/logs/amc.log
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/home/lxle/filebot/jar/groovy.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Run script [fn:amc] at [Tue Jan 08 17:30:27 EST 2019]
Parameter: clean = y
Parameter: unsorted = y
Parameter: excludeList = /home/lxle/amc-drobo.excludes
Parameter: seriesFormat = TV Shows/{n}/{episode.special ? 'Special' : 'Season '+s}/{n} - [{episode.special ? 'S00E'+special.pad(2) : s00e00}] - {t.replaceAll(/[`´‘’ʻ]/, /'/).replaceAll(/[!?.]+$/).replacePart(', Part $1')}{'.'+lang}
Argument[0]: /home/lxle/Downloads/Media Processing/2. TGHlxle Completed Downloads
lxle@TGHlxle:~$
I'm guessing something to do with Java hanging and / or the log file being locked out? I've tried filebot -clear-cache, and I've confirmed that the amc-drobo.excludes directory doesn't include the files I'm trying to process.
Any ideas please?