Exit on warning
Posted: 06 Mar 2015, 17:45
Hi,
I was wondering if their is a way to stop the renaming/copy process of filebot when a warning is detected?
I run a script on my synology every hour and for some reason sometimes, the following error arises.
This will result in duplication in my folders because some media info won't be present in the title.
Can I require the mediainfo library to be present before doing any matching/renaming, preferably using the CLI interface so I don't have to change up my script to much.
Or can I maybe make something required in the series/movieFormat, this way it will fail if I want use some of the medialib info.
Thank!!
I was wondering if their is a way to stop the renaming/copy process of filebot when a warning is detected?
I run a script on my synology every hour and for some reason sometimes, the following error arises.
Code: Select all
WARNING: Unable to read media info: Unable to load 32-bit native library 'mediainfo' [XXX.mkv]
Can I require the mediainfo library to be present before doing any matching/renaming, preferably using the CLI interface so I don't have to change up my script to much.
Code: Select all
filebot.sh -script fn:amc --output /volume1/NetBackup/FilebotOutput --log-file amc.log --log info --action copy --conflict auto -non-strict /rsync --def "seriesFormat=/Media/Series/{n}/{n.upperInitial().space('.').replaceAll(/[,]+/)}.{s00e00}.{t.upperInitial().space('.').replaceAll(/[,]+/)}{'.'+vf.match(/720[pP]|1080[pP]/)}{\".\$source\"}{\".\$vc\"}" "movieFormat=/Media/Movies/{n} ({y}){'['+source+']'}/{n.space('.')}.{y}{'.'+fn.match(/3D/)}{'.'+vf}{'.'+ac}{'.'+af}{'.'+lang}{'.CD'+pi}"
Thank!!