Get the MediaType from the pin