From fc3b9048d2844aef505cf37f8431624d0d236f2d Mon Sep 17 00:00:00 2001 From: Nirvana Date: Fri, 21 Nov 2025 22:47:14 +0100 Subject: [PATCH] Fix get_manifest --- .../base/ui/kodi_notification_adapter.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/streaming_providers/base/ui/kodi_notification_adapter.py b/lib/streaming_providers/base/ui/kodi_notification_adapter.py index 9aed284..85ad209 100644 --- a/lib/streaming_providers/base/ui/kodi_notification_adapter.py +++ b/lib/streaming_providers/base/ui/kodi_notification_adapter.py @@ -128,12 +128,16 @@ class QRCodeDialog: dialog_x = (screen_width - dialog_width) // 2 dialog_y = (screen_height - dialog_height) // 2 - # Background - bg = self.xbmcgui.ControlImage( + # Background - Use a solid color label instead of ControlImage + bg = self.xbmcgui.ControlLabel( dialog_x, dialog_y, dialog_width, dialog_height, - aspectRatio=0 # Scale to fit + label='' ) - bg.setColorDiffuse('0xE0000000') # Semi-transparent black + # Set semi-transparent black background + try: + bg.setColorDiffuse('0xE0000000') + except: + pass # Ignore if method not available self.dialog.addControl(bg) # Title