Filebot code with "must contain"
Posted: 16 Apr 2020, 08:04
Hi all 
Please look at my code:
I would like to integrate the function must contain and not contains:
But it doesn't work: / I can't find the right code, or is my error please ??

Please look at my code:
Code: Select all
filebot -script fn:amc --output "/Volumes/HDD_4/Torrents/Hardlink/Test" --action hardlink -non-strict "/Volumes/HDD_4/Torrents/1" --log-file amc.log --def excludeList=amc.txt --def unsorted=y music=y artwork=n "ut_label=" "ut_kind=multi" movieFormat="{genres.contains('Animation') ? 'Animations' : info.productionCompanies.contains('Marvel Studios') ? 'Marvel' : info.productionCompanies.contains('Lucasfilm') ? 'Star Wars' : info.productionCompanies.contains('Documentaire') ? 'Documentaire' : info.productionCompanies.contains('DC Comics') ? 'DC Comics' : info.productionCompanies.contains('Marvel Entertainement') ? 'Marvel' : 'Films'} /{plex.name}" --lang fr
Code: Select all
info.productionCompanies(fn =~ 'Marvel') ? 'Marvel'