[fix] detect ape codec by mimetype