Similar for me. Track has to be something very familiar and with a steady rhytm. Task has to be something semi-mechanical, like implementing an idea in code with no additional thinking required.
Haven't been diagnosed, but attention span is pretty short.