diff --git a/Dockers/self-hosted-iptv/iptv/streamer.py b/Dockers/self-hosted-iptv/iptv/streamer.py index d7c5923..b8b899f 100644 --- a/Dockers/self-hosted-iptv/iptv/streamer.py +++ b/Dockers/self-hosted-iptv/iptv/streamer.py @@ -60,8 +60,7 @@ def get_preferred_audio_stream_index(path: Path) -> int | None: "ffprobe", "-v", "quiet", "-print_format", "json", - "-show_entries", "stream=index,codec_type", - "-show_entries", "stream_tags=language", + "-show_entries", "stream=index,codec_type:stream_tags=language", str(path), ], capture_output=True, @@ -85,7 +84,7 @@ def get_preferred_audio_stream_index(path: Path) -> int | None: audio_streams.append((idx, lang, raw)) if not audio_streams: return None - dutch = ("nld", "dut", "nl") + dutch = ("nld", "dut", "nl", "dutch", "nederlands") flemish = ("vls", "nl-be", "nlb") for idx, lang, raw in audio_streams: if lang in dutch or raw in dutch: