|
|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
// tdarrSkipTest
|
|
|
|
|
const details = () => ({
|
|
|
|
|
id: 'Tdarr_Plugin_00td_action_re_order_all_streams_v2',
|
|
|
|
|
Stage: 'Pre-processing',
|
|
|
|
|
@ -118,7 +117,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
|
|
|
|
|
for (let i = 0; i < items.length; i += 1) {
|
|
|
|
|
const matchedStreams = [];
|
|
|
|
|
for (let j = 0; j < streams.length; j += 1) {
|
|
|
|
|
if (String(sortType.getValue(streams[j])).includes(String(items[i]))) {
|
|
|
|
|
if (String(sortType.getValue(streams[j])) === String(items[i])) {
|
|
|
|
|
if (
|
|
|
|
|
streams[j].codec_long_name
|
|
|
|
|
&& (
|
|
|
|
|
|