From cb158c37bbca40ec0f3c511fa0634a257b01818c Mon Sep 17 00:00:00 2001 From: Nirvana Date: Tue, 5 May 2026 10:32:42 +0200 Subject: [PATCH] Move RTL out of beta state --- lib/streaming_providers/providers/rtlplus/auth.py | 8 ++++---- .../providers/rtlplus/channel_manager.py | 8 ++++---- lib/streaming_providers/providers/rtlplus/vod_manager.py | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/streaming_providers/providers/rtlplus/auth.py b/lib/streaming_providers/providers/rtlplus/auth.py index 98c9658..e4d061b 100644 --- a/lib/streaming_providers/providers/rtlplus/auth.py +++ b/lib/streaming_providers/providers/rtlplus/auth.py @@ -69,7 +69,7 @@ class RTLPlusAuthenticator(BaseOAuth2Authenticator): @property def oauth_redirect_uri(self) -> str: # Used in authorize step - return "https://beta.plus.rtl.de/tv-programm" + return "https://plus.rtl.de/tv-programm" @property def oauth_token_redirect_uri(self) -> str: @@ -185,7 +185,7 @@ class RTLPlusAuthenticator(BaseOAuth2Authenticator): "grant_type": "authorization_code", "client_id": self.oauth_client_id, "code": authorization_code, - "redirect_uri": token_redirect, # Now matches: "https://beta.plus.rtl.de/tv-programm" + "redirect_uri": token_redirect, "code_verifier": code_verifier, } @@ -193,8 +193,8 @@ class RTLPlusAuthenticator(BaseOAuth2Authenticator): headers = self._get_auth_headers() headers.update({ "Content-Type": "application/x-www-form-urlencoded", - "Origin": "https://beta.plus.rtl.de", - "Referer": "https://beta.plus.rtl.de/", + "Origin": "https://base.plus.rtl.de", + "Referer": "https://base.plus.rtl.de/", }) return headers diff --git a/lib/streaming_providers/providers/rtlplus/channel_manager.py b/lib/streaming_providers/providers/rtlplus/channel_manager.py index cff1281..a7fadd9 100644 --- a/lib/streaming_providers/providers/rtlplus/channel_manager.py +++ b/lib/streaming_providers/providers/rtlplus/channel_manager.py @@ -233,7 +233,7 @@ class RTLPlusChannelManager: layout = self._provider.fetch_layout( layout_type="live", content_id=channel_seo, - location=f"{self.cfg.beta_website}{channel_seo}/live" + location=f"{self.cfg.base_website}{channel_seo}/live" ) if not layout: @@ -255,7 +255,7 @@ class RTLPlusChannelManager: layout = self._provider.fetch_layout( layout_type="live", content_id=channel_seo, - location=f"{self.cfg.beta_website}{channel_seo}/live" + location=f"{self.cfg.base_website}{channel_seo}/live" ) if not layout: @@ -275,7 +275,7 @@ class RTLPlusChannelManager: layout = self._provider.fetch_layout( layout_type="live", content_id=channel_seo, - location=f"{self.cfg.beta_website}{channel_seo}/live" + location=f"{self.cfg.base_website}{channel_seo}/live" ) if not layout: @@ -298,7 +298,7 @@ class RTLPlusChannelManager: layout = self._provider.fetch_layout( layout_type="live", content_id=channel_seo, - location=f"{self.cfg.beta_website}{channel_seo}/live" + location=f"{self.cfg.base_website}{channel_seo}/live" ) if not layout: diff --git a/lib/streaming_providers/providers/rtlplus/vod_manager.py b/lib/streaming_providers/providers/rtlplus/vod_manager.py index 1c4f7a3..0b5d445 100644 --- a/lib/streaming_providers/providers/rtlplus/vod_manager.py +++ b/lib/streaming_providers/providers/rtlplus/vod_manager.py @@ -130,7 +130,7 @@ class RTLPlusVodManager: layout = self._provider.fetch_layout( layout_type="video", content_id=clip_id, - location=f"{self.cfg.beta_website}{clip_id}", + location=f"{self.cfg.base_website}{clip_id}", ) if not layout: @@ -192,7 +192,7 @@ class RTLPlusVodManager: layout = self._provider.fetch_layout( layout_type="video", content_id=clip_id, - location=f"{self.cfg.beta_website}{clip_id}", + location=f"{self.cfg.base_website}{clip_id}", ) if not layout: return None @@ -229,7 +229,7 @@ class RTLPlusVodManager: layout = self._provider.fetch_layout( layout_type="alias", content_id="home", - location=f"{self.cfg.beta_website}", + location=f"{self.cfg.base_website}", ) if not layout: @@ -346,7 +346,7 @@ class RTLPlusVodManager: program_id format: "68137" (numeric) """ seo = slug or f"p_{program_id}" - location = f"{self.cfg.beta_website}{seo}-p_{program_id}" + location = f"{self.cfg.base_website}{seo}-p_{program_id}" layout = self._provider.fetch_layout( layout_type="program",