Yes, sorry, I have a bit more that I didn't think relevant (path info, etc.) earlier in the command – so it starts with '
I'm confident it's not commandline argument, but because then everything should fail afaik. Now it just ignores the 10 bit part – as it should if it don't see it. The issue is that Filebot on mac sees it, while Filebot on Linux don't.
It's the same files, in the same location (I have a test directory with "challenging" filenames).
Mediainfo:
MacOS (via Filebot GUI):
Via cli on Linux AND macOS:
I see that the output in Linux cli is a bit different than in Filebot gui? Does Filebot modify the output in any way? Have mediainfo changed the output between version 19 and 20?
Do my command need to look for "bit depth" (instead of "bitdepth") and "10 bits" (instead of "10")?
(I did try to modify to "bit depth" and "10 bits", but did not help. I put them in " quotes inside the command:
{if("bit depth" == "10 bits")'10bit'} – not sure if that is correct)
(Here is the whole initial command from start to finish – 10bit part works on Filebot gui, not in cli:
Code: Select all
filebot -script fn:amc --output "/path/to/output/" --action symlink -non-strict "/path/to/testmedia/" --log-file /path/to/fb.log --def minLengthMS=120000 --def movieFormat='movies/{plex.derive{" " + tags}{" " + [allOf{allOf {vf}{hdr}.join(" ")}{source}{allOf{ac}{channels}.join(" ")}{allOf{vc}{if(bitdepth == 10)'10bit'}.join(" ")}.join(" - ")]}.tail}' --def seriesFormat='series/{plex.derive{" " + tags}{" " + [allOf{allOf {vf}{hdr}.join(" ")}{source}{allOf{ac}{channels}.join(" ")}{allOf{vc}{if(bitdepth == 10)'10bit'}.join(" ")}.join(" - ")]}.tail}'