Esempio n. 1
0
 def set_shuffle(self, shuffle_state):
     """Change shuffle mode to on or off."""
     return self.protocol.send(messages.shuffle(shuffle_state))
Esempio n. 2
0
 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))
Esempio n. 3
0
 def set_shuffle(self, is_on):
     """Change shuffle mode to on or off."""
     return self.protocol.send(messages.shuffle(is_on))