[ 
http://dev.sourcefabric.org/browse/LS-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15850#action_15850
 ] 

David Baelde commented on LS-517:
---------------------------------

Something like that has to happen at some point. I had this in mind with 
switching predicates: should they lookup the global time or the source's clock?

But for now, if you only want to know the current time in a given clock, it's 
already available in the script language: get_clock_status().

> Get local clock time
> --------------------
>
>                 Key: LS-517
>                 URL: http://dev.sourcefabric.org/browse/LS-517
>             Project: Liquidsoap
>          Issue Type: New Feature
>          Components: Liquidsoap
>    Affects Versions: 1.0
>            Reporter: Romain Beauxis
>
> I have been contacted by a user who wants to generate audio streams offline 
> using liquidsoap.
> Since he is not broadcasting, he would like to use an unsynced clock. 
> However, he would also like to stop processing after 60 min have been 
> processes.
> I think that currently he cannot do that. The solution for me would be to be 
> able to grab a source's clock local elapsed time.
> I also think that it could be an interesting function in general.
> I have looked at the code. For now, this data is bound inside the run method 
> of the default wallclock..
> We could extract it and make it a first-class value in the main clock class..
> David, what do you think about this?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à