Hi.
The thing is, I want a different jingle for every hour.
I had seen this in the cookbook, basically i would use this but i need to know 
the hour so that  I can include it in the filename. :)
Hope that makes sense :) and thanks

Enviado desde mi iPhone

> El 2 abr 2016, a las 1:13, Alex LaBranche <[email protected]> escribió:
> 
> 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
------------------------------------------------------------------------------
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