Bang message when movie ends?

Thinksamuel's icon

I need a bang mesage from jit.qt.movie when the moviefile is done playing. How do I do that?

strimbob's icon
Max Patch
Copy patch and select New From Clipboard in Max.
Thinksamuel's icon

Thanks mate

PaulMcArthur's icon

I was just looking at this, and still can't see how that works, where does the message that the movie has ended come from?

Thinksamuel's icon

instead of your 'normal' jit.qt.movie object, you put this and attach a bangbutton to the left outlet of notify. When the film ends, it will bang

laserpilot's icon

Using the attribute 'loopreport'

It usually does not report the state of the loop, but when it is set to 1 (yes) it sends a bang via the 'loopnotify' out of the dumpout

One tip if that still doesn't make sense:
1. go to your window menu and open up your 'clue window'
2. in the patcher with the jit.qt.movie, option click the inlet (just the inlet!) on it.qt.movie..it should open up a huuge menu of every possible attribute and message that jit.qt.movie can receive
3. scroll down to loopreport under the attributes, and check your 'clue window' for further details

Also..it is set to loop 0, which means 'no loop' so it will bang at the end of the loop but not repeat