platypush/plugins/music/spotify/__init__.py
def previous(self, device: Optional[str] = None, **kwargs):
        """
        Skip to the next track.

        :param device: Device ID or name. If none is specified then the action will target the currently active device.
        """
        if device:
            device = self._get_device(device)['id']

        self.spotify_user_call(
            f'/v1/me/player/previous',
            method='post',
            params={
                **({'device_id': device} if device else {}),
            },
        )

        Skip to the next track.

        :param device: Device ID or name. If none is specified then the action will target the currently active device.
        
Skip to the next track.
Skip to the next track .
def previous(self, device: Optional[str] = None, **kwargs):
        if device:
            device = self._get_device(device)['id']
        self.spotify_user_call(
            f'/v1/me/player/previous',
            method='post',
            params={
                **({'device_id': device} if device else {}),
            },
        )
def previous ( self , device : Optional [ str ] = None , ** kwargs ) : if device : device = self . _get_device ( device ) [ 'id' ] self . spotify_user_call ( f'/v1/me/player/previous' , method = 'post' , params = { ** ( { 'device_id' : device } if device else { } ) , } , )
Skip to the next track.
Skip to the next track .
"""
        Skip to the next track.

        :param device: Device ID or name. If none is specified then the action will target the currently active device.
        """
self
device
Optional[str]
Device ID or name. If none is specified then the action will target the currently active device.
Device ID or name . If none is specified then the action will target the currently active device .