[support] How to run a script when a node is added for a custom module

Bob Fishel bob at bobforthejob.com
Thu Aug 26 23:52:53 UTC 2010


Why not just use a trigger?

On Thu, Aug 26, 2010 at 7:32 PM, Sarah Vardy <s.vardy1 at uq.edu.au> wrote:
> I am currently developing a module for the audio module to enable RTMP
> streaming and FFMPEG encoding.
>
> I am wondering what the best approach is to run the scp command (like flash
> video) when an audio node is added (to add the file to an RTMP server)? Can
> I use hook_form_alter to run this command? I am looking through the Drupal
> API at the moment. I also want to run an ffmpeg command as well when the
> node is added to encode the media for storage on the rtmp server.
>
> Any help or suggestions would be much appreciated.
>
> Cheers,
>
> scarer
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>


More information about the support mailing list