mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-06 20:06:44 +03:00
Merge pull request #277 from sternma/feat-use-upstream-autoplay
remove set_auto_play_mode
This commit is contained in:
@@ -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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user