def set_shuffle(self, shuffle_state): """Change shuffle mode to on or off.""" return self.protocol.send(messages.shuffle(shuffle_state))
async def set_shuffle(self, shuffle_state: ShuffleState) -> None: """Change shuffle mode to on or off.""" await self.protocol.send_and_receive(messages.shuffle(shuffle_state))
def set_shuffle(self, is_on): """Change shuffle mode to on or off.""" return self.protocol.send(messages.shuffle(is_on))