Page 1 of 1

Exchange Video files over Widget designer

PostPosted: Wed Nov 20, 2013 9:23 pm
by jelmer_gamliel
Hi there

I'd like to do this:

User can put usb-stick in Widget designer Computer
On WD Page he can choose a Video file (from USB stick) via pop-up window?
Push a Button so this file will be Spreaded to Manager and two Servers
Push another Button so it will exchange a Video on a sequence (depending on which button he presses it will change a specified Video)

Thanks for any directions to program this ;-)

Re: Exchange Video files over Widget designer

PostPosted: Thu Nov 21, 2013 12:18 pm
by Dennis Kuypers
Hi,

you can use the Watch Folder Node to monitor a specific path. (assuming that the USB stick always gets the same drive letter)
When files are found then you can run "VArrayGetFileNames,VarName,Folder" to retrieve the file list.
You can put that list into a dropdown box with "WDDropDownListSetItemsFromArray,1,var"
When the user presses the "Go" button then you can get the value from that drop down list and copy it to a Directory Pandoras Box can access
Now you can add the video to Pandoras Box using "ResourceAdd,FilePath,SiteID,FolderID,FileID"

Best regards
Dennis

Re: Exchange Video files over Widget designer

PostPosted: Mon Mar 17, 2014 5:08 pm
by claude.rivet
Sweet, it's in my future plan to do this, happy to read about it now :) . Along the same idea, is it possible to "feed" the encoder so that whatever video file format the client brings is converted to our specified settings? Then it would spread and folder and file numbers would be assigned.

Re: Exchange Video files over Widget designer

PostPosted: Tue Mar 18, 2014 4:35 am
by malkuth23
Auto encode works well enough in PB as long as the extensions are available (some are not like .mp4), but there might be an issue that the encoder always adds a file to Windows (although it replaces it in PB). This means there will be 2 files for every file encoded, jamming up your drop down list...

Requests! Designated encoder save folder and the option to delete source file.