filebot can't use existing script (renall)
Posted: 30 Nov 2022, 19:32
It's been a while since I ran a scan for my TV shows and since then, there was an OS upgrade as well (Debian 10->11). There's this command I use in one of my scripts but now it refuses to work, and I don't fully understand why.
I get this error:
Version:
Could you give hints on what's wrong? The groovy script does exist:
Code: Select all
filebot --encoding UTF-8 -rename --db xattr --action symlink --format "$SYMLINK_TEMP_BASE/$TARGET_TV/
{
plex.derive{
def x = model.count{ [it.ext, it.episode, it.lang] == [ext, episode, any{m.lang.ISO2}{null}] }
return x > 1 ? \" - part\$di\" : null
}.tail
}
" -script fn:renall "$PATH_TV"
Code: Select all
Starting filebot rename pass...
Script not found: [renall] not in [amc, artwork, artwork.tmdb, artwork.tvdb, chkall, cleaner, configure, duplicates, explain, extract, history, import, lib/htpc, lib/web, logs, mediainfo, mi, miss, nfo, osdb.explain, osdb.stats, preferences, properties, suball, sysenv, sysinfo, tags, update-mes, verify, watcher, xattr, zip]
Failure (×_×)⌒☆
Code: Select all
FileBot 4.9.4 (r8736) / OpenJDK Runtime Environment 16.0.2
Code: Select all
$ ls -l ~media/filebot/scripts/renall.groovy
-rw-r--r-- 1 media media 640 Aug 18 2018 /home/media/filebot/scripts/renall.groovy