Your code seems to be correct... The output.icecast(live, ...) is
*after* the on_metadata line, right?

++

On Mon, Apr 7, 2014 at 11:15 AM, udo noll <[email protected]> wrote:
>
> hello,
>
> still struggeling with metadata on live harbor inputs:
>
> i want to execute a custom script on_metadata:
>
> ...
>
> # define live input
> live = input.harbor(id="live", ... )
>
> # this adds a telnet/server cmd "live.insert"
> live = server.insert_metadata(id="live", live)
>
> # execute script on_metadata
> live = on_metadata(fun (meta) -> system("/path/test.sh &"), live)
>
> ...
>
>
> test.sh is obviously called when the live source connects, but i'd also expect
> it to be called when i execute the server cmd
>
>         live.insert my_meta="...", my_other_meta="..."
>
> the metadata is send to icecast, but the script isn't called. i thought 
> inserting
> a chunk of metadata would "trigger" the on_metadata event. no?
>
> thanks for a tip,
> udo
>
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees_APR
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to