From 7472b0575cc77024212703d24dd948102435b1bb Mon Sep 17 00:00:00 2001 From: MoojMidge <56883549+MoojMidge@users.noreply.github.com> Date: Wed, 20 Nov 2024 06:35:08 +1100 Subject: [PATCH] Ensure language and region are passed to StreamInfo instances #989 --- resources/lib/youtube_plugin/youtube/client/youtube.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/lib/youtube_plugin/youtube/client/youtube.py b/resources/lib/youtube_plugin/youtube/client/youtube.py index 52e3c342c..20718f360 100644 --- a/resources/lib/youtube_plugin/youtube/client/youtube.py +++ b/resources/lib/youtube_plugin/youtube/client/youtube.py @@ -205,6 +205,8 @@ def get_streams(self, ask_for_quality=ask_for_quality, audio_only=audio_only, use_mpd=use_mpd, + language=self._language, + region=self._region, ).load_stream_info(video_id) def remove_playlist(self, playlist_id, **kwargs):