Hi,

for an example of date functions with liquidsoap
please have a look at the soundpiece libs

see the "pages" section at https://trac.v2.nl/wiki/soundpiece

for code see "date.liq" at https://trac.v2.nl/browser/soundpiece/src/liquidsoap

This will work for the currenct date only,
but can be modified that date function is called periodically (like everyday at 
00:00).

BR, Peter





Am 25.11.2010 15:50, schrieb David Baelde:
> Hi,
>
> We currently do not have built-in support for day-of-the-month or
> month-of-the-year in our time predicates. However, you can use an external
> command for the test associated with your playlist in a switch. For example,
> do a system("..") call to "date". This isn't too expensive as long as your
> switch is track senstive.
>
> Cheers,
>
> David
>
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App&  Earn a Chance To Win $500!
> Tap into the largest installed PC base&  get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
>
>
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to