Skip to content

Commit

Permalink
Merge pull request #113 from dmunozv04/Fix-#112
Browse files Browse the repository at this point in the history
Fixes Will not start v2.0.3 #112
  • Loading branch information
dmunozv04 authored Dec 9, 2023
2 parents 128e1f7 + 863ec5e commit c196e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iSponsorBlockTV/ytlounge.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c196e76

Please sign in to comment.