Hello list.

I was read the documentation, and I am happy with the sucess I get.

But still one issue with the scheduling I want to do.

I paste below the important things of my script and then I will explain 
better what I want:

##############################################
#!/usr/bin/liquidsoap

myplaylist = 
playlist(mode="random",reload=1,reload_mode="rounds","/opt/Musica/Tangos")

ident = once(single("/opt/Identificacion/Identificacion.mp3"))
drovet = once(single("/opt/Auspiciantes/Drovet.mp3"))
color = 
once(playlist(mode="normal",reload=1,reload_mode="rounds","/opt/Color/playlist.txt"))
security = single("/opt/Fallback/silencio.mp3")

radio = myplaylist

radio = switch(track_sensitive = true, [

({0m0s-5m0s},ident),
({15m0s-20m0s},drovet),
({15m30s-20m30s},color),
({30m0s-35m0s},ident),
({45m0s-50m0s},drovet),
({45m30s-50m30s},color),
({true},radio)

])

radio = fallback(track_sensitive = false, [radio, security])

output.icecast(%mp3, ....., radio)
##############################################

As I was say before in a previous message, I want to play a folder 
plenty of mp3 files random.
Then, at 0m0s and 30m0s play only one file Identification.mp3

The issue is this: At 15m0s and 45m0s I play only one file = Drovet.mp3
After that, I want to append one track from the playlist "color". I want 
to play only one for these tracks. Then the radio playlist continue with 
the normal random way. The issue is if I use the "once" operator, I get 
the same track (the first one) from the "color" playlist everytime I 
want to play "color" appended at 15m30s and 45m30s.

What I want is to play the first track of "color" playlist at the first 
playing of this playlist, and then the nexte, and then the next, and so 
on. At the end of tracks, play again the first track.

To clarify this is an example:

15m0s play Drovet.mp3 and then append only the first track of "color" 
playlist.
45m0s play Drovet.mp3 and then append only the second track of "color" 
playlist.
15m0s play Drovet.mp3 and then append only the third track of "color" 
playlist.
.
.............played all of the "color" playlist
.
15m0s play Drovet.mp3 and then append the first track of "color" playlist.
45m0s play Drovet.mp3 and then append only the second track of "color" 
playlist.

Well, I hope you can understand my bad english. Thank for the help

regards
Normando

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to