Import video from Javascript or another actor
-
I'm wondering if it is possible to import a new media video in Isadora without doing it manually, using Javascript or another method. I'm working on Windows with Isadora v2\. Monitoring a folder and adding videos automatically could be a solution.Any ideas on how to solve this?Thanks in advance! -
-
Thanks Michel. I need something like that, but I have Isadora installed on Windows, so AppleScript is not an option...:-(
Bests,Juan -
-
What I have been doing in similar situations is to have a running python script that listens for a tcp-ip call and preforms an action. I have been able to swap videos by ensuring it is not currently in the scene, saving a new one with the same name, then loading the scene. The script could be triggered by osc, midi, etc.. if that's easier. Any other scripting language should be usable. I also then launch my project via a batch file so that both the script and isadora are opened. I hope that's a help.
-
Thanks @DusX. I will try a similar approach. I don't like it to much, but I think is the only option in Windows.
A nice feature would be the possibility to access some Isadora objects from JavaScript.BestJuan -
I agree that this is not ideal currently, but it is workable.If you run into trouble let me know and I will do my best to help.