From 863ec5e163b774176a240e2d9d19a515aa6f6a9a Mon Sep 17 00:00:00 2001 From: dmunozv04 <39565245+dmunozv04@users.noreply.github.com> Date: Sat, 9 Dec 2023 19:08:20 +0100 Subject: [PATCH] Fixes Will not start v2.0.3 #112 --- src/iSponsorBlockTV/ytlounge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iSponsorBlockTV/ytlounge.py b/src/iSponsorBlockTV/ytlounge.py index 85b15c3..4b41dab 100644 --- a/src/iSponsorBlockTV/ytlounge.py +++ b/src/iSponsorBlockTV/ytlounge.py @@ -108,7 +108,7 @@ def _process_event(self, event_id: int, event_type: str, args): devices = json.loads(data["devices"]) for device in devices: if device["type"] == "LOUNGE_SCREEN": - device_info = json.loads(device.get("deviceInfo", "")) + device_info = json.loads(device.get("deviceInfo", "{}")) if device_info.get("clientName", "") in youtube_client_blacklist: self._sid = None self._gsession = None # Force disconnect