Literally - Play the lute to a cow. It is used with reference to someone who is offering a treat to an unappreciative audience.