Skip to content

[BE - RTL] Fixed RTL TVI, PlugRTL and Club RTL (Belgium) channels - #1557

Open
Leadernelson wants to merge 5 commits into
Catch-up-TV-and-More:devfrom
Leadernelson:dev
Open

[BE - RTL] Fixed RTL TVI, PlugRTL and Club RTL (Belgium) channels#1557
Leadernelson wants to merge 5 commits into
Catch-up-TV-and-More:devfrom
Leadernelson:dev

Conversation

@Leadernelson

Copy link
Copy Markdown

This pull request significantly improves error handling, robustness, and Android TV compatibility for the RTL Play Belgium channel integration in rtlplaybe.py. The changes include enhanced login and authentication flows, more flexible extraction of video stream parameters, fallback mechanisms for stream retrieval, and optimized playback for Android TV devices.

Authentication and Error Handling Improvements

  • Added comprehensive error dialogs and checks throughout the login and SSO authentication process, including handling unexpected responses, HTTP errors, and exceptions to inform users of specific issues. [1] [2]
  • Improved error notifications and fallbacks in video URL retrieval, including checks for authentication redirects, API errors, and missing stream data.

Stream Extraction and Fallbacks

  • Enhanced extraction of apiKey, bearer token, and content IDs using multiple regex patterns, improving compatibility with site changes and supporting fallback to the LFVP API if standard extraction fails. [1] [2]
  • Added a new get_stream_via_lfvp_api fallback method to retrieve streams directly from the LFVP API when standard extraction is unsuccessful.

Android TV Compatibility

  • Optimized live stream playback for Android TV by preserving DRM handling and providing multiple fallback options, including native Kodi playback and flexible DRM configurations to avoid "audio only" issues.
  • Introduced the get_live_url_with_drm_options function to offer flexible DRM and player options specifically for Android TV ARM devices.

Miscellaneous

  • Updated copyright and project references at the top of the file.
  • Imported new utility functions for Kodi item metadata handling.

@Leadernelson Leadernelson changed the title Fixed RTL TVI, PlugRTL and Club RTL (Belgium) channels [BE - RTL] Fixed RTL TVI, PlugRTL and Club RTL (Belgium) channels Aug 9, 2025
@joaopa00

Copy link
Copy Markdown
Contributor

Avant de fusionner je voudrais être convaincu que Android-TV ait besoin d'un traitement special. Je ne suis pas du tout certain que cela soit le cas.

@Leadernelson

Copy link
Copy Markdown
Author

En effet j'ai un problème d'écran noir sur Android et ma solution ne fonctionne toujours pas. Je vais enlever la solution pour n'avoir que le correctif de RTL

@joaopa00
joaopa00 force-pushed the dev branch 2 times, most recently from 109e0f4 to f51cd5a Compare August 16, 2025 19:10
@joaopa00
joaopa00 force-pushed the dev branch 2 times, most recently from f85b20e to 8bdd758 Compare October 29, 2025 04:54
@joaopa00
joaopa00 force-pushed the dev branch 3 times, most recently from f221bfd to 4b594c6 Compare November 16, 2025 11:44
@joaopa00
joaopa00 force-pushed the dev branch 13 times, most recently from 2616381 to c16aa33 Compare December 12, 2025 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants