From 3b9502e6557e02486eeafaf7ae71958ad2bfdd04 Mon Sep 17 00:00:00 2001 From: Jeff Hessenflow Date: Fri, 25 Aug 2023 09:55:10 -0500 Subject: [PATCH] Extend genpts matches to include mpg|mpeg Extend match to include additional container extensions. --- Community/Tdarr_Plugin_MC93_Migz1Remux.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Community/Tdarr_Plugin_MC93_Migz1Remux.js b/Community/Tdarr_Plugin_MC93_Migz1Remux.js index 9ba65b7..5547463 100644 --- a/Community/Tdarr_Plugin_MC93_Migz1Remux.js +++ b/Community/Tdarr_Plugin_MC93_Migz1Remux.js @@ -136,8 +136,8 @@ const plugin = (file, librarySettings, inputs, otherArguments) => { return response; } - // If Container .ts or .avi set genpts to fix unknown timestamp - if (file.container.toLowerCase() === 'ts' || file.container.toLowerCase() === 'avi') { + // If Container .ts|.avi|.mpg|.mpeg set genpts to fix unknown timestamp + if (file.container.toLowerCase() === 'ts' || file.container.toLowerCase() === 'avi' || file.container.toLowerCase() === 'mpg' || file.container.toLowerCase() === 'mpeg') { genpts = '-fflags +genpts'; }