Detect metadata of media