Problem with sel and jit.qt.movie

I’m trying to route the time and duration of a movie to a sel object so that I can start crossfading at a specific percentage from the end of a movie. I’m using the duration to determine the starting point for the crossfade and using the current time to trigger a sel object based on that number. It seems really straightforward, yet the sel does not send out a bang when the time reaches the number set by the duration. Does anyone know what I’m doing wrong or have a better way of doing this? A very simplified version of the patch is pasted below.

Thanks!

— Pasted Max Patch, click to expand. —

Copy all of the following text. Then, in Max, select New From Clipboard.

Your odds of the reported time hitting exactly the duration of your movie are extremely low (say, roughly 5% likelihood). So instead of testing for an exact match with sel, you should use [>=] to [change] to [sel 1].