Automatic metadata extraction and audio fingerprinting