'Play media.'

def play_media(self, media_type, media_id, **kwargs):

    kwargs = {}
    if (media_type == MEDIA_TYPE_MUSIC):
        kwargs['uris'] = [media_id]
    elif (media_type == MEDIA_TYPE_PLAYLIST):
        kwargs['context_uri'] = media_id
    else:
        _LOGGER.error('media    type    %s    is    not    supported', media_type)
        return
    if (not media_id.startswith('spotify:')):
        _LOGGER.error('media    id    must    be    spotify    uri')
        return
    self._player.start_playback(**kwargs)
