jukebox.py
def _play(self, uri: str) -> None:
        """Starts playback of uri on jukebox."""
        if "spotify:track:" in uri:
            self.sp.start_playback(device_id=self.device_id, uris=[uri])
            self.current_state = self.playing
        else:
            self.sp.start_playback(device_id=self.device_id, context_uri=uri)
            self.current_state = self.playing
Starts playback of uri on jukebox.
Starts playback of uri on jukebox.
Starts playback of uri on jukebox .
def _play(self, uri: str) -> None:
        if "spotify:track:" in uri:
            self.sp.start_playback(device_id=self.device_id, uris=[uri])
            self.current_state = self.playing
        else:
            self.sp.start_playback(device_id=self.device_id, context_uri=uri)
            self.current_state = self.playing
def _play ( self , uri : str ) -> None : if "spotify:track:" in uri : self . sp . start_playback ( device_id = self . device_id , uris = [ uri ] ) self . current_state = self . playing else : self . sp . start_playback ( device_id = self . device_id , context_uri = uri ) self . current_state = self . playing
Starts playback of uri on jukebox.
Starts playback of uri on jukebox .
"""Starts playback of uri on jukebox."""
self
uri
str