Trying to work out MovieBlender and MoviePlaylist, and been reading some things here, but seems like no one has posted a solution yet.
Playlist is lovely in many ways but trying to add a loop function into it that would loop one video, has been difficult and failed so many times, that I gave up. Somewhere into the timer callback function but my python writing skills are not up to that level to do it (even with ai-help like claude).
Been then also looking to into MovieBlender, because maybe that’s able to go into the direction I want, by being able to loop, but missing any documentation to it? Is it possible to hook up a folder instead of file? Seems like there is some valuable info in the “player” dat, but still just feeling quite confused.
My goals i quite simple, having a folder as resource, being able to control it through next and prev, able to play sequentially the playlist and also able to have a toggle for looping.
I finally got it working using python but it took me forever. If you are also pretty green in python this attached file might not help, but take a look into the DAT scripts if you want to go that route. Attached is a snippet from a large program so it won’t run without all the other bits directly but the looping logic works.
If I was doing this again I would look into a segmented Timer CHOP deeper as Markus suggested. I agree 100% a loop show option for a whole folder of movies in moviePlaylist would be very helpful for us beginners who like prebuilt nodes better than python programming.
Hey thanks a lot for your reply!
I realized I should have specified I still have the 2022 version of touchdesigner, so couldn’t properly read your file
BUT! With some help of my partner (very thankful for him!) we have made it work. It’s been def a couple of days work, but sharing it here aswell as probably a couple of souls would benifit from this.
It’s a lot of timer chop work, but indeed with them being 3 and also the one for the fader having 3x more segments, it’s been a ride of a code…
It’s not perfect, as indeed with still have some blackscreen sometimes, BUT! here it is