diff --git a/Community/Tdarr_Plugin_vdka_Tiered_CPU_CRF_Based_Configurable.js b/Community/Tdarr_Plugin_vdka_Tiered_CPU_CRF_Based_Configurable.js index 16def02..e1d5aee 100644 --- a/Community/Tdarr_Plugin_vdka_Tiered_CPU_CRF_Based_Configurable.js +++ b/Community/Tdarr_Plugin_vdka_Tiered_CPU_CRF_Based_Configurable.js @@ -191,7 +191,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => { // check if the file contains a hevc track // it will not be transcoded if true and the plugin will exit - if (file.ffProbeData.streams.some((x) => x.codec_name?.toLowerCase() === 'hevc')) { + if (file.ffProbeData.streams.filter((x) => x.codec_name.toLowerCase() === 'hevc').length) { response.infoLog += '☑File is already in hevc! \n'; return response; }