Skip to content

Commit

Permalink
correct sort mispelling
Browse files Browse the repository at this point in the history
  • Loading branch information
yajrendrag committed Jun 9, 2024
1 parent ebb59ee commit c653fae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions source/stream_arranger/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

**<span style="color:#56adda">0.0.2</span>**
- fix sory to sort

**<span style="color:#56adda">0.0.1</span>**
- initial release
2 changes: 1 addition & 1 deletion source/stream_arranger/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
"on_worker_process": 1
},
"tags": "audio, ffmpeg,library file test",
"version": "0.0.1"
"version": "0.0.2"
}
4 changes: 2 additions & 2 deletions source/stream_arranger/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(','))
Expand All @@ -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']
Expand Down

0 comments on commit c653fae

Please sign in to comment.