from the cookbook…

# Add a jingle to your normal source
# at the beginning of every hour:
add([normal,switch([({0m0s},jingle)])])



> On Mar 31, 2016, at 11:58 PM, Oriol Gómez <[email protected]> wrote:
> 
> Hi all!
> I'm trying to add something to my liquidsoap script, basically add a
> jingle every hour but with the current hour...
> Now, I know there is the timeofday function which returns the number
> of seconds since jan 1st 1970, but surely there is an easier method...
> What with daylight savings and everything? Isn't there a way to get
> the current system time somehow from within liquidsoap? Or should I
> just create a python script that telnets a request.push to my
> localhost?
> 
> Thanks all!
> 
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to