How to delete a video from the video bin from within a Isadora UI?



  • We're building a system where people can record short video messages that are played on a monitor, all within an Isadora patch, each time a new message is recorded it is added to the loop. I would like to make an interface in Isadora where a moderator can watch the videos and have the ability to delete videos. We have solved everything exept the delete thing, is there any way to be able to delete files from the video bin from within a UI made in Isadora, in the same way that you right click on a file and choose cut.
    I do not want the user to have access to the actual Isadora interface (just way to many things that could go wrong), something like a delete media actor would be great but I have found nothing like this.

    Any ideas on how to solve this?

    Thanks // Benny



  • The only thing I can think of doing currently is to replace the media using "capture camera to disk" actor. You could have a comparator that when activated assigns the capture actor to overwrite the selected media.



  • Yes, but if the user needs to be able to delete several files which would require Isadora to keep track of all files that have been "deleted" and then record new files in these vacants slots and at the same time skipping these files in the loop. That seems quite complicated to keep track of.



  • what about having them delete the files from the folder in the file system and then "rebuild media from folder" It's not an isadora solution... but it would keep them out of the patch.


  • Tech Staff

    This could be a feature request - why not submit it? :)

    http://troikatronix.com/support/isadora/


  • I had another thought that would use existing actors, what's your timeline? I agree the feature request never hurts, but it sounds like you're looking for a solution for the near future?



  • I think I've got a working concept. Basically I'm enumerating the media count into a data array and then using the data array to loop through the media bin. Which allows me to selectively disallow individual movies. They'll still be in the bin, they just won't be played. It will still need some work so that you don't have to go back and review all the movies every time you need to update it... But it seems like it should work. Let me know if you're interested, I can probably get it to a useful place fairly quickly.

    Tom


  • Tech Staff

    This type of approach can use javascript I would think. That would be the easiest way to manage a stack or que.



  • Yeah... I could probably create an input that was a string and parse it as a csv for the list of "deleted" videos. I haven't done much scripting lately so it would probably be slower for me to create. But it should be more performant also.


Log in to reply
 

Looks like your connection to TroikaTronix Community Forum was lost, please wait while we try to reconnect.