From 064bdcd93cef8e227f5d37beffec00d26b62e08d Mon Sep 17 00:00:00 2001 From: dmunozv04 <39565245+dmunozv04@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:10:45 +0200 Subject: [PATCH] removed unnecesary prints --- iSponsorBlockTV/ytlounge.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/iSponsorBlockTV/ytlounge.py b/iSponsorBlockTV/ytlounge.py index 7e54273..4e22f2d 100644 --- a/iSponsorBlockTV/ytlounge.py +++ b/iSponsorBlockTV/ytlounge.py @@ -40,7 +40,7 @@ class YtLoungeApi(pyytlounge.YtLoungeApi): # Process a lounge subscription event def _process_event(self, event_id: int, event_type: str, args): - print(f"YtLoungeApi.__process_event({event_id}, {event_type}, {args})") + # print(f"YtLoungeApi.__process_event({event_id}, {event_type}, {args})") # (Re)start the watchdog try: self.subscribe_task_watchdog.cancel() @@ -99,8 +99,6 @@ class YtLoungeApi(pyytlounge.YtLoungeApi): create_task(self.mute(True, override=True)) elif event_type == "onAutoplayModeChanged": data = args[0] - print("Setting it") - print(data) create_task(self.set_auto_play_mode(data["autoplayMode"] == "ENABLED")) else: super()._process_event(event_id, event_type, args) @@ -124,5 +122,4 @@ class YtLoungeApi(pyytlounge.YtLoungeApi): await super()._command("setVolume", {"volume": self.volume_state.get("volume", 100), "muted": mute_str}) async def set_auto_play_mode(self, enabled: bool): - print(enabled) await super()._command("setAutoplayMode", {"autoplayMode": "ENABLED" if enabled else "DISABLED"}) \ No newline at end of file