remove set_auto_play_mode

This commit is contained in:
Matthew Stern
2025-03-13 23:16:13 -04:00
parent c21ebe396e
commit ca9b7ee73a

View File

@@ -192,11 +192,6 @@ class YtLoungeApi(pyytlounge.YtLoungeApi):
{"volume": self.volume_state.get("volume", 100), "muted": mute_str},
)
async def set_auto_play_mode(self, enabled: bool):
await super()._command(
"setAutoplayMode", {"autoplayMode": "ENABLED" if enabled else "DISABLED"}
)
async def play_video(self, video_id: str) -> bool:
return await self._command("setPlaylist", {"videoId": video_id})