Compare commits

..

No commits in common. "9c60d80bbdd4b6c886a536d5fe51b377e05dd229" and "eb2a7b46c412d806765ce3183c8a46bc7414f397" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -153,11 +153,9 @@ const details = () => ({
if (ffmpegSubs.length > 0) {
let subName = removeMKV(otherArguments.originalLibraryFile.meta.FileName)
response.infoLog += '☒ Changes are required! \n Extracting SRT files';
require("child_process").execSync(`rm -rf "${otherArguments.originalLibraryFile.meta.Directory}/${subName}*.srt`)
require("child_process").execSync(`rm -rf ${otherArguments.originalLibraryFile.meta.Directory}/*.srt`)
response.FFmpegMode = true;

View File

@ -291,7 +291,7 @@ const response = {
}
// Identify if stream is DTS-HD MA
if (file.ffProbeData.streams[i].profile.toLowerCase() === 'dts-hd ma') {
if (file.ffProbeData.streams[i].codec_name.toLowerCase() === 'dts') {
// Check if DTS-HD MA has already been handled by a previous run
// Assume that it will be the second stream (first audio stream) - it should be, if already handled