From c653faef0b067bb00b2dd995e81f11f5eb987850 Mon Sep 17 00:00:00 2001 From: yajrendrag Date: Sun, 9 Jun 2024 17:14:01 -0600 Subject: [PATCH] correct sort mispelling --- source/stream_arranger/changelog.md | 3 +++ source/stream_arranger/info.json | 2 +- source/stream_arranger/plugin.py | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/source/stream_arranger/changelog.md b/source/stream_arranger/changelog.md index e6369fc5c..b8901fbc0 100644 --- a/source/stream_arranger/changelog.md +++ b/source/stream_arranger/changelog.md @@ -1,3 +1,6 @@ +**0.0.2** +- fix sory to sort + **0.0.1** - initial release diff --git a/source/stream_arranger/info.json b/source/stream_arranger/info.json index 5ea4467a9..a2214e95a 100644 --- a/source/stream_arranger/info.json +++ b/source/stream_arranger/info.json @@ -16,5 +16,5 @@ "on_worker_process": 1 }, "tags": "audio, ffmpeg,library file test", - "version": "0.0.1" + "version": "0.0.2" } diff --git a/source/stream_arranger/plugin.py b/source/stream_arranger/plugin.py index 986c68d82..9b3cb7801 100644 --- a/source/stream_arranger/plugin.py +++ b/source/stream_arranger/plugin.py @@ -239,7 +239,7 @@ def on_worker_process(data): else: settings = Settings() - primary_sory_key = settings.get_setting('primary_sort_key') + primary_sort_key = settings.get_setting('primary_sort_key') channel_sort_direction = settings.get_setting('channel_sort_direction') langs = settings.get_setting('lang_list') langs = list(langs.split(',')) @@ -251,7 +251,7 @@ def on_worker_process(data): if not streams_already_arranged(settings, data.get('file_in')): - audio_stream_order = arrange_audio_streams(streams, primary_sory_key, channel_sort_direction, langs) + audio_stream_order = arrange_audio_streams(streams, primary_sort_key, channel_sort_direction, langs) # Set ffmpeg args ffmpeg_args = ['-hide_banner', '-loglevel', 'info', '-i', str(abspath), '-max_muxing_queue_size', '9999', '-map', '0:v', '-c:v', 'copy']