Been using Filebot for a few years and sometime last year I started to get issues with that my old trusty script took longer than usual (as in from a minute or two up to 40 minutes or hours). Observing this a bit more it seemed like the Synology (DS415play) where thrashing the disk by swapping back and forth memory (kswap and the Java process for filebot taking turns on the NAS).
There was another helpful thread viewtopic.php?f=6&t=9542 , which I followed (my autoupdate of Java had stopped just like that case) but even though there were improvements, more often than not the script would just take ages. Is this due to Plex taking ever more memory leaving less for Filebot which then constrained gives up? Perhaps, in the past I have seen improved performance by restarting the NAS but even this seems to be helping less.
So I tried to do a "manual" AMC by running (and timing) Filebot with -r and running the cleaner script and manually curl:ing Plex for an update. This takes less than a minute to finish every time, indicating to me that the issue is not so much with Filebot as with the AMC script (the cleaner script also runs neatly).
I'd love to have this resolved/improved since my current workaround has limitations (I sometimes also have tv-shows in the mix, and would prefer .nfo files not to be moved as well for instance).
Attaching some outputs and code below with <REDACTED> for identifiable information.
Code: Select all
filebot -script fn:sysinfo
FileBot 4.8.5 (r5996)
JNA Native: 5.2.2
MediaInfo: 17.12
7-Zip-JBinding: 9.20
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-11-29 (r539)
Groovy: 2.5.4
JRE: Java(TM) SE Runtime Environment 1.8.0_191
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 170 MB Max Memory / 12 MB Used Memory
OS: Linux (i386)
HW: Linux Hyrule 3.2.40 #23824 SMP PREEMPT Fri Sep 7 12:49:23 CST 2018 i686 GNU/Linux synology_evansport_415play
DATA: /volume1/@appstore/filebot/data/<REDACTED>
Package: SPK
License: FileBot License <REDACTED> (Valid-Until: 2019-07-24)
Code: Select all
free -h
total used free shared buff/cache available
Mem: 699M 376M 125M 30M 197M 114M
Swap: 2.4G 578M 1.8G
Code: Select all
filebot /volume1/Download/ -rename -r --format {plex.tail} -non-strict --action move --log all --db TheMovieDB --output /volume1/Video/Cinema/ --log-file fb-mov.log -no-xattr
curl -G http://<REDACTED>:32400/library/sections/all/refresh?X-Plex-Token=<REDACTED>
filebot -script fn:cleaner /volume1/Download/
Code: Select all
filebot -script fn:amc --output "/volume1/Video/" --action move -non-strict --def clean=y --conflict auto --def plex=<REDACTED> --def movieFormat="/volume1/Video/Cinema/{n} ({y})/{n} ({y}){' Pt'+pi}" --def seriesFormat="/volumeUSB1/usbshare/TV Shows/{n}/{n} - {s00e00} - {t}" "/volume1/Download" --log-file /var/services/homes/<REDACTED>/fbot-script.log --log-lock no --log all -no-xattr