media to config