'Send the play command.'

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

    if (media_type in [MEDIA_TYPE_MUSIC, MEDIA_TYPE_PLAYLIST]):
        self.cmus.player_play_file(media_id)
    else:
        _LOGGER.error('Invalid    media    type    %s.    Only    %s    and    %s    are    supported', media_type, MEDIA_TYPE_MUSIC, MEDIA_TYPE_PLAYLIST)
