Prez slams legacy media