def play_media(self, media_type, media_id):
        _LOGGER.info(str.format("Playing playlist: {0}", media_id))
        if media_type == MEDIA_TYPE_PLAYLIST:
            self.client.clear()
            self.client.load(media_id)
            self.client.play()
        else:
            _LOGGER.error(str.format("Invalid media type. Expected: {0}",
                                     MEDIA_TYPE_PLAYLIST))
Throws an exception if any of the parameters in the required iterable
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/mpd.py/MpdDevice.play_media--crossover with--dataset/ETHPy150Open girder/girder/girder/api/rest.py/Resource.requireParams