assurance-tunnel
assurance-tunnel
assurance-tunnel
assurance-tunnel

Load pictures automatically



  • Hi

    i need to refresh my picture folder continuously. I have a dropbox folder and some person load in this folder their pictures and i would like to show them on the screen during a show. I can't load the pictures by myself because it is many people and the folder will change many time a minutes...
    How i can do this operation? Exist an actor to do this?
    thanks


  • This cannot be done with Isadora directly but if you are on a mac and have the core version you can create something with quartz composer to do this and use that inside Isadora.



  • On a Mac, make (local dropbox Image folder) a Watchfolder, use “Izzy Import Media Folder Action“ script, imports all added files into Izzy.

    best.....

    rainbow



  • http://www.jamiegriffiths.com/apple-script-into-isadora/

    My tutorial might be a bit old if you are on latest Mac OS, but the principle remains the same. You can probably just adjust it to the new operating system if so. Let me know if you do it, and I'll update my blog page with your info.
    thanks
    Jamie


  • Tech Staff

    An old topic, but is there a way to do this on Windows?

    I am basically thinking a 'watch' folder. @DusX do you know of a way?



  • Hi there,

    Sadly since you can't give Izzy a Absolute path / relative path, we can't use something like 'Get all files in directory' (JavaScript) and output the file string to a 'Preload' image actor. Since Izzy works with media bins, we have to do something like a 'Auto clicker' or some sort that imports the media..

    On Windows we can use programs like AutoHotkey for this, the thing is that it 'steals' our keyboard.. So if we are using our keyboard as input device for let's say a performance / installation, and the programs runs that wishes to re-import the media bin, then we have to wait until the action is complete.


  • Tech Staff

    @skulpture

    Not currently.I have done things where I replace a file (same path and file name) via scripting, and 'trick' Isadora is a sense.
    This is a pretty high ranking feature request, so....



  • On windows you can use a different program such as spoutslideshow

    spout slideshow

    This will automatically cycle through all the photos in the given folder, dynamically loading any new files


  • Tech Staff

    @dusx said:

    @skulpture
    Not currently.I have done things where I replace a file (same path and file name) via scripting, and 'trick' Isadora is a sense.
    This is a pretty high ranking feature request, so....

     Yeah this has just jumped up the list massively for me. A HUGE job requires Isadora to automatically videos in a 'watch folder' type scenario. Do you think this would be easy to code? Javascript? C++? @Dux


  • Tech Staff

    @lpmode

    Thanks. A great little app. Unfortunately will not help my situation. Thanks for sharing though. 


  • Tech Staff

    @skulpture

    I have a plugin I'm making that should load an image by file path. .. that's as close as I might be able to help out.

    A python script could watch a folder and spit out OSC file paths to Isadora perhaps.


  • Tech Staff

    @dusx said:

    @skulpture
    I have a plugin I'm making that should load an image by file path. .. that's as close as I might be able to help out.
    A python script could watch a folder and spit out OSC file paths to Isadora perhaps.

     Both sound interesting. I need to find a solution pretty quick.



  • @skulpture maybe you can trick the system a bit. Add 20 generically named videos into Isadora, take your huge database of videos in the same folder and make a script that gets the files you want (say 10 at a time) and renames them to the names of the files added to Isadora. Or do something similar makiing copies and replacing them in the media folder. As long as your scene structure is OK and you don't overwrite playing videos it should work fine. (I am guessing you are windows and that is why the applescript solution is a no go). I would go for python for this task, there is a pyosc module that will let you control the python script via OSC.



  • And here we go @Skulpture, I worked a bit on a solution what I like to call 'Dynamic Media bins', using Processing and Spout we are able to create a 'Watch folder' and output those images to Izzy.

    Instructions

    1. Get the files at IzzyDynamicMediaBin.zip

    2. Install the latest version of processing

    3. Import the libraries that are required for the Processing patch (OSCP5 and Spout)

    4. Open the Isadora file, set your port correct in Isadora and Processing (Izzy needs the port where it sends its commands to, Processing will respond on IP address 127.0.0.1 and the default Izzy port. You can change this in the settings section of the Processing patch)

    5. Create a new folder at a location at your PC

    6. Get the path of the Folder and paste it inside our 'Trigger Text' actor

    7. Make sure that we get a valid OSC communication on channel 1 (Feedback of the Processing patch to izzy)

    8. Drop your files inside and get patching :)

    Hopefully this helps you out, if you need any changes hit me up at the forum or send me an email at hello@juriaan.me

    Thanks !


  • Tech Staff

    Thank you very much peoples! Very kind. Some good ideas here. 😁