Merge pull request #203 from HaveAGitGat/supersnellehenk-patch-2

Update henk audio codec plugin
make-only-subtitle-default
HaveAGitGat 4 years ago committed by GitHub
commit 210b155041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -64,7 +64,11 @@ function plugin(file, librarySettings, inputs) {
for (let i = 0; i < file.ffProbeData.streams.length; i += 1) {
const currStream = file.ffProbeData.streams[i];
if (currStream.codec_type.toLowerCase() === 'audio' && currStream.codec_name === inputs.output_codec) {
if (
currStream.codec_type.toLowerCase() === 'audio'
&& currStream.codec_name === inputs.output_codec
&& currStream.tags
) {
if (currStream.tags.COPYRIGHT === 'henk_asac') {
killPlugin = true;
}

Loading…
Cancel
Save