mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-13 01:10:27 -07:00
Merge branch 'master' into defaultValues
This commit is contained in:
commit
13de43b1b1
1 changed files with 5 additions and 1 deletions
|
|
@ -90,7 +90,11 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||||
|
|
||||||
for (let i = 0; i < file.ffProbeData.streams.length; i += 1) {
|
for (let i = 0; i < file.ffProbeData.streams.length; i += 1) {
|
||||||
const currStream = file.ffProbeData.streams[i];
|
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') {
|
if (currStream.tags.COPYRIGHT === 'henk_asac') {
|
||||||
killPlugin = true;
|
killPlugin = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue