diff --git a/bin/ffx.py b/bin/ffx.py index 8f31218..937bda9 100755 --- a/bin/ffx.py +++ b/bin/ffx.py @@ -116,7 +116,7 @@ audioStreams = [s for s in streamData if s['codec_type'] == 'audio'] subtitleStreams = [s for s in streamData if s['codec_type'] == 'subtitle'] for aStream in audioStreams: - if 'channel_layout' in aStream.keys(): + if 'channel_layout' in aStream: print(f"audio stream: {aStream['channel_layout']}") #channel_layout else: print(f"unknown audio stream with {aStream['channels']} channels") #channel_layout