platypush/plugins/music/spotify/__init__.py
def start_or_transfer_playback(self, device: str):
        """
        Start or transfer playback to the device specified.

        :param device: Device ID or name.
        """
        device = self._get_device(device)['id']
        self.spotify_user_call(
            f'/v1/me/player',
            method='put',
            json={
                'device_ids': [device],
            },
        )

        Start or transfer playback to the device specified.

        :param device: Device ID or name.
        
Start or transfer playback to the device specified.
Start or transfer playback to the device specified .
def start_or_transfer_playback(self, device: str):
        device = self._get_device(device)['id']
        self.spotify_user_call(
            f'/v1/me/player',
            method='put',
            json={
                'device_ids': [device],
            },
        )
def start_or_transfer_playback ( self , device : str ) : device = self . _get_device ( device ) [ 'id' ] self . spotify_user_call ( f'/v1/me/player' , method = 'put' , json = { 'device_ids' : [ device ] , } , )
Start or transfer playback to the device specified.
Start or transfer playback to the device specified .
"""
        Start or transfer playback to the device specified.

        :param device: Device ID or name.
        """
self
device
str
Device ID or name.
Device ID or name .