Very nicely done msmucr! I tried the script when you first posted it and noticed the magic framerate (23.976/29.97) issue. I tried unsuccessfully to fix it myself. I apologize for not reporting the problem immediately. I find myself using 23.976 all the time so this will be very handy.

Technically speaking the DF readout in Reaper should have a semicolon (00:00:00;00) preceding the frames count to indicate it is a drop frame rate. Perhaps they could add that and a call to detect the DF state of the timecode at the same time.