G'day Guy,
I understand that Burke's references, from the OED, do cover the sense in which "maggot" describes a tune. It is a particularly insistent tune that 'burrows into your brain' and can't be forgotten.
I guess that a really good dance tune should be a potential "maggot".
Regards,
Bob