hello, Happy new year !
There is a way to reload automatically a playlist with "playlist.once"
playlist.once(reload=16200, "path/to/the/playlist.lst") is not working
I just want to update the content of this playlist every day
I'm using 0.9.1 on Debian
http://www.subflow.net - Creative Commons webradio.
From: David Baelde <david.baelde@gm...> - 2010-01-20 01:06:00
2010/1/18 Subflow.net <miniwebradio@...>:
> There is a way to reload automatically a playlist with "playlist.once"
> attribute ?
The current playlist.once() offers no such thing. I'm not sure if we
should do it, but I'll describe quickly how you can do it for your own
The playlist.once() operator is defined with a little script in
utils.liq: it simply loads a request.queue() from a file. So, if you
want to use it multiple times, the simplest solution is to explicitly
create your queue and have the loading function hooked up to some
server command. I'm catching up on many things these days, so I won't
offer more details or code for now.
From: David Baelde <david.baelde@gm...> - 2010-01-20 20:23:54
> The playlist.once() operator is defined with a little script in
> utils.liq: it simply loads a request.queue() from a file.
This is in fact wrong. The operator uses a request.dynamic() and would
be rather annoying to adapt. However, it's possible and much simpler
to use a request.queue() -- which is why I talked about it.
The downside of a queue is that it would have one request per file of
the playlist. Until 0.9.2 this is problematic with a long playlist
since the number of requests is limited (see request.max_rid). On SVN
I removed this stupid limitation which makes everything much nicer.
Get latest updates about Open Source Projects, Conferences and News.