Hello.

Is it possible to play only one random track from a playlist on request, or at 
a certain given time?

those are my playlists:

jingles = mksafe(playlist( reload_mode = "seconds", reload = 60,
                           "~/jingles.lst" ))

pl = mksafe(playlist( reload_mode = "seconds", reload = 60,
                      "~/playlist.lst" ))


Now what I want is, that at a given time, a jingle is played from the 
jingles.lst playlist.
but just ONE track, it should then go back to playing the playlist.lst list.

I was thinking about something like this:

local = fallback( track_sensitive =  false,
                  transitions = [ cfade, cfade ],
                  [at({14h00}, once(jingles)), pl] )

I'm not sure with the time predicate, though
does 14h00 mean exactly 14:00:00 (hh:mm:ss), or is it a time intervall: 
14:00:00 - 14:00:59?
I just want the jingle track to start at that time, and it should take its 
time, till the jingle is over.
A Jingle might be longer than a minute, so using intervals would be rather 
clumsy here.
Oh, and is once() woring as I think it is?
Does the source stop after playing just one track?.
And does it play another one, once the predicate is true again?
 

-- 
polemon <[email protected]>

------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to