Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Using hotfolders to run scripts
cmoad
Is it possible to configure a hot folder to run a scripting model script when new assets are uploaded? I noticed you can create a task that would run the metatagger, so it seems as if it is possible.
Find more posts tagged with
Comments
lyman
To clarify, the metatagger support is accomplished via an actual MediaBin primitive rather than an arbitrary scripting capability. Similarly the AGS Encoder and Flip Factory Encoder primitives allow one to wrap a script for those two products into a simple MediaBin job.
I will defer issues of more general scripting to my client-side colleagues.
Cheers,
Lyman Hurd
msnider
Unfortunately no you cannot do this via a hotfolder. You may want to suggest your use case to MediaBin product management as a feature request for the next version of MediaBin.
As an alternative, you can use either the C++ API or the COM API to create your own custom application that listens to MediaBin events which will then allow you to do most anything when an asset is inserted. I believe there is a previous post in this forum that contains a .NET sample using the COM API to listen for MediaBin events.
Mark
cmoad
I think that previous post was from me. I do have a successful setup now though. I basically wrote a C# Windows Service that listens for events in a designated hot folder in MediaBin. The service then reacts to those events and files the new assets into the correct destination folders. The script task would be a nice addition though.
Thanks,
Charlie