- commandString << "job->subtitle = "
- commandString << ( hash["Subtitles"].to_i - 1).to_s << ";\n "
+ if hash["Subtitles"] == "Autoselect"
+ commandString << "subtitle_scan = 1;\n "
+ else
+ commandString << "job->subtitle = "
+ commandString << ( hash["Subtitles"].to_i - 1).to_s << ";\n "
+ end