Hi,

The playlist operator has a "reload" command, as well as an "uri"
command which can be used to set a new playlist file. You should be
able to use those, either from inside your liquidsoap script (using
server.execute) or from outside (using the telnet or unix socket
interface) to update your playlists based on the time.

HTH

David

On Mon, Mar 17, 2014 at 5:38 PM, William Hetherington <[email protected]> wrote:
> I opened the following issue over at github:
> https://github.com/savonet/liquidsoap/issues/158
>
> I thought I'd ask the same question on the mailing list. I'm terribly sorry
> for the duplication!
>
>
>
> Hi folks,
>
> I have the following scenario and I wonder if anyone can provide some input:
>
> Playlists with the following file name structure, and the following
> structure:
>
> MMDDYY00.pls (where 00 is midnight)
>
> They are just a list of files to playout.
>
> I have this working in windows with something like this:
>
> liquidsoap.exe "output.shoutcast(%mp3, host='192.168.0.15', port = 9050,
> password = 'CKDwqgewergewhuTML', mksafe(playlist('06021400.pls')))"
>
> I would like to dynamically reload the playlist, based on it's name, every
> hour.
>
> I can see this would be simply in linux, with a quick python script.
>
> Can anyone point me in the direction of doing this with windows?
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>



-- 
David

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to