automating file loading into a jit.qt object.

pierrepblais's icon

I'm trying to devise a way to automate loading simple jpg pictures into a (or several) jit.qt.movie object.
here's the broader idea:
I'm using a photo camera that is equipped with an eye-fi SD card. Every time a picture is taken with it, that picture is automatically sent to a folder on my computer. with these pictures I'm creating a sort of "mosaic" type projection and I want to automate my patch so that every time a new picture appears into that folder it gets loaded into a jit.qt.movie object (replacing whatever was ther before), so that the camera on stage could be snapping away and picture automatically updating in the projections. Basically I'm trying to create a system akin to a "watchfolder" where max automatically updates whatever needs to be updated whenever a new file is dropped into the folder. I thought maybe using somesort of logic object combined with the filewatch or filedate object to detect new files, but I'm not too sure about that, and am not convinced it's the best way to do it.

any thoughts?

pierrepblais's icon

turns out the answer was already out there... I just hadn't searched for the right keyword. this older thread turned out to be quite helpful https://cycling74.com/forums/how-to-playback-a-folder-full-of-images-as-a-movie-as-it-is-updated

a combination of filewatch, folder, and some ZL objects did just the trick.

cheers to the community!