True... but I was thinking on improving on the idea using the phototransistor from an old (OK, neolithic would be more accurate) 5 1/4 disk drive. I have a few which came with a plastic slit on a cover... might make it more accurate (a bit).
Though these things require often quite a bit of light to let power through...