Get all entity_ids for domain

Hi, is this possible? I’ve read the complete http://dev-docs.home-assistant.io/en/master/api/helpers.html but didn’t find a suitable method. the most I got was to get all entries of the device_registry
I’m trying to fill a list with all available media_player any smart idea?
Thanks JKW