I used to use an Optek OPB 916B or 917B.
You will also need a resistor to limit the current to the LED in the Opto, I used the OPB and a 220 ohm resistor on the recommendation of John Prentice many years ago and I never had a problem.
For a slotted disc, if it was a temporary setup a CD would likely be fine.
Hood