Migz Plugins

Correct typo in CleanSubs plugin. Thanks zzeneg for spotting this.
This commit is contained in:
Migz93 2020-05-23 12:23:44 +01:00
parent 8f123d18a2
commit 2836112150

View file

@ -109,7 +109,7 @@ function plugin(file, librarySettings, inputs) {
file.ffProbeData.streams[i].tags.title.toLowerCase().includes("sdh")) file.ffProbeData.streams[i].tags.title.toLowerCase().includes("sdh"))
) { ) {
ffmpegCommandInsert += `-map -0:s:${subtitleIdx} `; ffmpegCommandInsert += `-map -0:s:${subtitleIdx} `;
response.infoLog += `☒Subtitle stream detected as being Commentary or Description, removing. Subtitle stream 0:s:${SubtitleIdx} - ${file.ffProbeData.streams[i].tags.title}. \n`; response.infoLog += `☒Subtitle stream detected as being Commentary or Description, removing. Subtitle stream 0:s:${subtitleIdx} - ${file.ffProbeData.streams[i].tags.title}. \n`;
convert = true; convert = true;
} }
} catch (err) {} } catch (err) {}