Using AMC Script and this has always worked swimmingly for me since I set it up 13 months ago but the last three movies
i'm getting this erro on the logs ==>
So you're saying you've purchased FileBot from the Store? So why are you not using it? Instead of just calling filebot, you explicitly use a very outdated version of FileBot that you happen to have installed on your system a long time ago?
Please uninstall all versions of FileBot you have installed, and then ONLY install FileBot via the Windows Store. You can check by calling filebot -version. It'll say FileBot 4.8.0.
poochie@poochie-syno:~$ filebot -script 'fn:amc' '/volume1/video/Sources/Downloaded New' --output /volume1/video/ --order Airdate --conflict skip --lang en --def 'unsorted=n' 'skipExtract=y' 'plex=localhost:***' 'excludeList=.excludes' --format {plex} --log all -non-strict --action duplicate --log all
x86_64
Run script [fn:amc] at [Sat Nov 17 00:30:18 CET 2018]
Parameter: unsorted = n
Parameter: skipExtract = y
Parameter: plex = *****
Parameter: excludeList = .excludes
Argument[0]: /volume1/video/Sources/Downloaded New
Use excludes: /volume1/video/.excludes (691)
Ignore system path: /volume1/video/Sources/Downloaded New/@eaDir
Ignore extra: /volume1/video/Sources/Downloaded New/Mr. Robot (2015) Season 3 S03 (1080p BluRay x265 HEVC 10bit AAC 5.1 RCVR)/Featurettes/Deleted Scenes
Ignore extra: /volume1/video/Sources/Downloaded New/Sicario.Day.of.the.Soldado.2018.2160p.BluRay.x265.10bit.HDR.DTS-HD.MA.TrueHD.7.1.Atmos-SWTYBLZ/Sample
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 03/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 07/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 08/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 01/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 04/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 05/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 06/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 02/Extras
Ignore extra: /volume1/video/Sources/Downloaded New/The X-Files (1993) Season 1-9 S01-09 (Bluray 1080p x265 HEVC 10bit AAC 5.1 Qman) [UTR]/Season 09/Extras
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.idx
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.mkv
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.sub
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E02.1080p.BluRay.X264-DEFLATE.idx
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E02.1080p.BluRay.X264-DEFLATE.mkv
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E02.1080p.BluRay.X264-DEFLATE.sub
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E03.1080p.BluRay.X264-DEFLATE.idx
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E03.1080p.BluRay.X264-DEFLATE.mkv
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E03.1080p.BluRay.X264-DEFLATE.sub
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E04.1080p.BluRay.X264-DEFLATE.idx
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E04.1080p.BluRay.X264-DEFLATE.mkv
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E04.1080p.BluRay.X264-DEFLATE.sub
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E05.1080p.BluRay.X264-DEFLATE.idx
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E05.1080p.BluRay.X264-DEFLATE.mkv
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E05.1080p.BluRay.X264-DEFLATE.sub
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E06.1080p.BluRay.X264-DEFLATE.idx
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E06.1080p.BluRay.X264-DEFLATE.mkv
Input: /volume1/video/Sources/Downloaded New/The.X-Files.S10.1080p.BluRay.X264-DEFLATE[rartv]/The.X-Files.S10E06.1080p.BluRay.X264-DEFLATE.sub
xattr: [The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.idx] => [The X-Files - 10x01 - My Struggle]
Group: [tvs:the x files] => [The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.idx, The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.mkv, The.X-Files.S10E01.1080p.BluRay.X264-DEFLATE.sub, The.X-Files.S10E02.1080p.BluRay.X264-DEFLATE.idx, The.X-Files.S10E02.1080p.BluRay.X264-DEFLATE.mkv, The.X-Files.S10E02.1080p.BluRay.X264-DEFLATE.sub, The.X-Files.S10E03.1080p.BluRay.X264-DEFLATE.idx, The.X-Files.S10E03.1080p.BluRay.X264-DEFLATE.mkv, The.X-Files.S10E03.1080p.BluRay.X264-DEFLATE.sub, The.X-Files.S10E04.1080p.BluRay.X264-DEFLATE.idx, The.X-Files.S10E04.1080p.BluRay.X264-DEFLATE.mkv, The.X-Files.S10E04.1080p.BluRay.X264-DEFLATE.sub, The.X-Files.S10E05.1080p.BluRay.X264-DEFLATE.idx, The.X-Files.S10E05.1080p.BluRay.X264-DEFLATE.mkv, The.X-Files.S10E05.1080p.BluRay.X264-DEFLATE.sub, The.X-Files.S10E06.1080p.BluRay.X264-DEFLATE.idx, The.X-Files.S10E06.1080p.BluRay.X264-DEFLATE.mkv, The.X-Files.S10E06.1080p.BluRay.X264-DEFLATE.sub]
Rename episodes using [TheTVDB]
Auto-detected query: [The X Files]
Fetching episode data for [The X-Files]
Fetching episode data for [The Tesla Files]
Fetching episode data for [The FBI Files]
Fetching episode data for [The Doc Files]
Auto-detected query: [The X-Files]
Fetching episode data for [The X-Files]
Fetching episode data for [The Tesla Files]
Fetching episode data for [The FBI Files]
Fetching episode data for [The Doc Files]
Auto-detected query: [The X Files]
Fetching episode data for [The X-Files]
Fetching episode data for [The Tesla Files]
Fetching episode data for [The FBI Files]
Fetching episode data for [The Doc Files]
InvocationTargetException
Finished without processing any files
Failure (°_°)
In the end nothing is moved (I once had one of the subtitle files moved, but nothing else), I always get the exception and the files are added to the exclude-file. Running version 4.8.2 on DSM 6.2 (with license).
Suppressed Exception: net.filebot.format.SuppressedThrowables: Expression yields empty value: Binding "plex": Java heap space
net.filebot.format.SuppressedThrowables: Expression yields empty value: Binding "plex": Java heap space
at net.filebot.format.ExpressionFormat.format(ExpressionFormat.java:163)
at net.filebot.format.ExpressionFormat.format(ExpressionFormat.java:129)
at net.filebot.cli.CmdlineOperations.formatMatches(CmdlineOperations.java:570)
at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:250)
at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:96)
at net.filebot.cli.ScriptShellBaseClass.rename(ScriptShellBaseClass.java:361)
at Script1$_run_closure54.doCall(Script1.groovy:429)
at Script1.run(Script1.groovy:415)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:154)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:36)
at net.filebot.Main.main(Main.java:131)
Caused by: net.filebot.format.BindingException: Binding "plex": Java heap space
at net.filebot.format.ExpressionBindings.get(ExpressionBindings.java:70)
at net.filebot.format.ExpressionFileFormat$1.get(ExpressionFileFormat.java:22)
at net.filebot.format.PrivilegedInvocation$1.run(PrivilegedInvocation.java:34)
at net.filebot.format.PrivilegedInvocation.invoke(PrivilegedInvocation.java:30)
at com.sun.proxy.$Proxy16.get(Unknown Source)
at net.filebot.format.ExpressionFormat$Variable.eval(ExpressionFormat.java:275)
at net.filebot.format.ExpressionFormat.format(ExpressionFormat.java:147)
... 12 more
Caused by: java.lang.reflect.InvocationTargetException
at net.filebot.format.ExpressionBindings.get(ExpressionBindings.java:58)
... 18 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at org.apache.commons.io.output.StringBuilderWriter.write(StringBuilderWriter.java:142)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2538)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2516)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:2493)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:1126)
at net.filebot.subtitle.SubtitleUtilities.decodeSubtitles(SubtitleUtilities.java:329)
at net.filebot.subtitle.SubtitleUtilities.detectSubtitleLanguage(SubtitleUtilities.java:468)
at net.filebot.subtitle.SubtitleUtilities.detectSubtitleLanguage(SubtitleUtilities.java:458)
at net.filebot.format.MediaBindingBean.getLanguageTag(MediaBindingBean.java:603)
at net.filebot.format.MediaBindingBean.getSubtitleTags(MediaBindingBean.java:579)
at net.filebot.format.MediaBindingBean.getPlexStandardPath(MediaBindingBean.java:1079)
at net.filebot.format.ExpressionBindings.get(ExpressionBindings.java:58)
at net.filebot.format.ExpressionFileFormat$1.get(ExpressionFileFormat.java:22)
at net.filebot.format.PrivilegedInvocation$1.run(PrivilegedInvocation.java:34)
at net.filebot.format.PrivilegedInvocation.invoke(PrivilegedInvocation.java:30)
at com.sun.proxy.$Proxy16.get(Unknown Source)
at net.filebot.format.ExpressionFormat$Variable.eval(ExpressionFormat.java:275)
How much memory does your device have? Please run filebot -script fn:sysinfo and post the output.
Alright, that should be more than enough. But probably depends on your files. Do you have a super large sub file laying around somewhere that breaks FileBot?
The OutOfMemoryError is most likely cause by FileBot trying to guess the subtitle language from abnormally large subtitle files, so you run into this particular issue because memory is limited and guessing language from idx/sub files (which is image based and not text based, and thus much larger than expected from the usual text-based *.sub files) that aren't language tagged in the filename.
EDIT: I'll add a limit for the release to make sure FileBot just ignores subtitle files larger than 1 MB (i.e. not actually text-based subtitle files).
Yep, that would do it. Taking a 120 MB binary file and treating it as if it was a 50 KB text file unsurprisingly doesn't end well.
If the .eng language tag is in the filename, then FileBot will just do that, and won't try to read the file, avoiding this particular issue altogether.