mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
Fix reorder streams bug
This commit is contained in:
parent
3ecd993796
commit
5e61c32889
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
&& (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue