Is there a argument that can be passed to the AMC script that would have it call the script specified via the exec argument only once for each match instead of calling it for each file? For example instead of calling it twice, once for the episode video file and once for the subtitles file, call it only once for each episode. If there is no argument that does this, is there an accepted approach that would accomplish this and work for movies and episodes, both single and multi part?
Thanks,
Harry
Calling Exec Script Only Once Per Match
Re: Calling Exec Script Only Once Per Match
FileBot will only execute once each unique command generated by your --def exec expression.
e.g. once:
e.g. once for each folder:
e.g. once for each file:
e.g. once for each series or movie:
e.g. once for each match:
e.g. once:
Code: Select all
echo 1
Code: Select all
echo {folder}
Code: Select all
echo {f}
Code: Select all
echo {id}
Code: Select all
echo {object}