Update chromecast.py
authormarcelveldt <marcelvanderveldt@MacBook-Silvia.local>
Sun, 13 Oct 2019 02:17:55 +0000 (04:17 +0200)
committermarcelveldt <marcelvanderveldt@MacBook-Silvia.local>
Sun, 13 Oct 2019 02:17:55 +0000 (04:17 +0200)
music_assistant/playerproviders/chromecast.py

index cf1434db060eb1bd071dd7ce976ffe2733a72e15..14f16578ffd26092005554ec24f730ed07c4db94 100644 (file)
@@ -48,11 +48,11 @@ class ChromecastPlayer(Player):
 
     async def cmd_next(self):
         ''' send next track command to player '''
-        return await self.cc.media_controller.queue_next()
+        self.cc.media_controller.queue_next()
 
     async def cmd_previous(self):
         ''' [CAN OVERRIDE] send previous track command to player '''
-        return await self.cc.media_controller.queue_prev()
+        self.cc.media_controller.queue_prev()
     
     async def cmd_power_on(self):
         ''' send power ON command to player '''