From 5c605a2d209f225b3b9e6c1c34330831bc2a531f Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Sat, 9 Apr 2022 13:35:27 +0100 Subject: [PATCH] Fix re-order bug --- Community/Tdarr_Plugin_00td_action_re_order_all_streams_v2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Community/Tdarr_Plugin_00td_action_re_order_all_streams_v2.js b/Community/Tdarr_Plugin_00td_action_re_order_all_streams_v2.js index 4c0376c..986bd0f 100644 --- a/Community/Tdarr_Plugin_00td_action_re_order_all_streams_v2.js +++ b/Community/Tdarr_Plugin_00td_action_re_order_all_streams_v2.js @@ -95,7 +95,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => { infoLog: '', }; - let { streams } = file.ffProbeData; + let { streams } = JSON.parse(JSON.stringify(file.ffProbeData)); streams.forEach((stream, index) => { // eslint-disable-next-line no-param-reassign