If subtitle not found then ...
Posted: 08 Mar 2014, 22:37
Hi,
I've got a script that I run on newly downloaded episodes which should find the subtitle and rename the files accordingly. What I want to do is for the script to quit when no subtitle is found. How should I do that? Currently, I'm using the following to find the subtitles:
I've got a script that I run on newly downloaded episodes which should find the subtitle and rename the files accordingly. What I want to do is for the script to quit when no subtitle is found. How should I do that? Currently, I'm using the following to find the subtitles:
Code: Select all
filebot -get-missing-subtitles "$1" --lang en -non-strict