Skip to content

Commit

Permalink
Corrected var name
Browse files Browse the repository at this point in the history
  • Loading branch information
Dashboy1998 committed Nov 22, 2024
1 parent 23cfb0a commit 570de0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ffmpeg_automator.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_audio_maps(streams):
for stream in streams:
if stream['codec_type'] == 'audio':
index = index + 1
language = streams.get('tags', {}).get('language')
language = stream.get('tags', {}).get('language')
language_lower = language.lower()
if language_lower in audio_languages:
if not get_first_audio_per_lang_only \
Expand Down

0 comments on commit 570de0d

Please sign in to comment.