Hi there ! Using all your previous help, I have reached this config:
--- START ---
#!/usr/bin/liquidsoap
live=input.http("http://radiognu.org:8000/live.ogg")
podcasts=playlist(reload=1,reload_mode="rounds","/home/radiognu/liquidsoap/podcasts.txt")
jingles=playlist("/home/radiognu/liquidsoap/jingles.txt")
# Transition
def transition(live,podcasts)
def immediate(live,podcasts)
podcasts
end
def delayed(live,podcasts)
sequence([blank(duration=5.),podcasts])
end
fallback(track_sensitive=false,[live,podcasts],transitions=[immediate,delayed])
end
radio=transition(live,podcasts)
output.icecast.vorbis(.... ,radio)
--- END ---
So, when LIVE stops it waits for 5 seconds (wait for inmediate
reconnections) and then start to play the PODCASTS playlist.
It works very good.
Now I need to put a random JINGLE playlist _after_ this 5 seconds and
_before_ playlist. It can be used to indentifying the radio or to
announce the incomming playlist.
Any help will be appreciated.
--
__________________________________________________________
| , , |
| / \ |
| ((__-^^-,-^^-__)) Octavio Rossell Tabet |
| `-_---' `---_-' [email protected] |
| `--|o` 'o|--' http://octavio.gnu.org.ve |
| \ ` / irc.radiognu.org #gnu |
| .: :. |
| :o_o: Huella: FC69 551B ECB9 62B0 D992 |
| "-" BE57 B551 2497 C78B 870A |
|__________________________________________________________|
<<attachment: octavio.vcf>>
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
