Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cpadil committed Apr 2, 2024
1 parent 326c492 commit c6cffb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Community/Tdarr_Plugin_cp92_clean_audio_subtitles.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const processStreams = (result, file, user_langs, sub_codecs,sub_lang) => {
if (stream.codec_type === "subtitle"){

if( !subtitle_langs.includes(stream.tags.language) ||
subtitle_codecs.includes(stream.codec_name.toLowerCase()) ||
(stream.hasOwnProperty('codec_name') && subtitle_codecs.includes(stream.codec_name.toLowerCase()) )||
stream.disposition.comment == 1 ||
(stream.tags.hasOwnProperty('title') && (stream.tags.title.toLowerCase().includes('commentary') ||
stream.tags.title.toLowerCase().includes('description') ||
Expand Down

0 comments on commit c6cffb9

Please sign in to comment.