Add trailing ? for subtitles

This commit is contained in:
Rick Meijer 2021-02-17 11:10:32 +01:00
parent 19c75f9972
commit bb0f81625b
No known key found for this signature in database
GPG key ID: C36BEC4306EE98E2

View file

@ -106,7 +106,7 @@ function plugin(file, librarySettings, inputs) {
response.processFile = true; response.processFile = true;
response.container = `.${file.container}`; response.container = `.${file.container}`;
response.reQueueAfter = true; response.reQueueAfter = true;
response.preset += ' -map 0:s '; response.preset += ' -map 0:s? ';
} else { } else {
response.infoLog response.infoLog
+= '☑File doesn\'t contain audio tracks with the specified codec.\n'; += '☑File doesn\'t contain audio tracks with the specified codec.\n';