Correct me if I'm wrong, but wouldn't a framesToSeconds() function only return the correct value if it took the dopesheet FPS into account, which is impossible because the dopesheet FPS is not exported?
One of the issues with using seconds is it takes more horizontal space. Labeling the entire timeline in seconds isn't very pretty. Would it be sufficient to show seconds in a popup, maybe at the mouse location, when dragging the timeline position?
Yes I understand, it probably wouldn't look that pleasant going all across the timeline. But I think the approach you described would work well enough for my purposes, since I'm really only reading one frame into the code at a time. I don't need to know them all at once.