2011/8/27 David Baelde <[email protected]>:
> On Sat, Aug 27, 2011 at 10:49 AM, Martin Hamant <[email protected]> wrote:
>> another problem: enabling/disabling metadata insertion by url means
>> remove/add the source; which implies a stream cut ! The question is,
>> do you see any way to do the "stop polling" dynamically thru telnet ?
>
> You can keep the insert_metadata operator, but have some code in your
> url handling that prevent insertion when disabled, no? Or just
> unregister the URL when disabling.

I'm sorry David, I'm not sure to understand. At the moment I pass a
parameter to LS thru telnet at dynamic source creation time:
dynamic_playlist.start server|port|password|(.....)|metasource|url

if metasource == enabled  then I create the insert_metadata and start poll url.
else I don't create the metadata part.

So, for an existing dynamic source in LS, if I want to disable url
polling, I need to remove and add back it. (with dynamic_playlist.stop
/ dynamic_playlist.start).

Maybe you have something else in mind ?

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to