Dear all,
I run Radio Mandarine in France and need to help to configure my script. I'll
try to be clear with my poor english. I want to play a random playlist with
jingles, clock and normal jingles. I've defined in my script all files to play
(jingle05, jingle15.... ; clock01, clock02.... ; pubs10, pubs30 and pubs50).
What I want to do is :
- random playlists (it actually works fine) ;
- fallback to normal jingles at 5, 15, 20, 25, 35, 45 and 55 mn of each hour,
waiting for the end of the current track to start ;
- fallback to a clock jingle at 0 mn of each hour, waiting for the end of the
current track to start (one clock jingle different at each hour) ;
- fallback to pubs (promotion jingles) at 10, 30 and 50 mn of each hour,
waiting for the end of the current track to start.
With the following script, the music is playing fine, but no jingle, clock or
pub is playing.
I tried a lot of things, and I don't find what's wrong in my script. Thank you
very much in advanced.
My actual fallback scripts are as following. Can you help me please ?
# Add the normal jingles
musicjingles = fallback(track_sensitive=true,
[switch([({ 05m0s }, jingle05),
({ 15m0s }, jingle15),
({ 20m0s }, jingle20),
({ 25m0s }, jingle25),
({ 35m0s }, jingle35),
({ 40m0s }, jingle40),
({ 45m0s }, jingle45),
({ 55m0s }, jingle55)]),
music])
#Add the clock jingles
musicjinglesclock = fallback(track_sensitive=true,
[switch([({ 00h00 }, clock00),
({ 01h00 }, clock01),
({ 02h00 }, clock02),
({ 03h00 }, clock03),
({ 04h00 }, clock04),
({ 05h00 }, clock05),
({ 06h00 }, clock06),
({ 07h00 }, clock07),
({ 08h00 }, clock08),
({ 09h00 }, clock09),
({ 10h00 }, clock10),
({ 11h00 }, clock11),
({ 12h00 }, clock12),
({ 13h00 }, clock13),
({ 14h00 }, clock14),
({ 15h00 }, clock15),
({ 16h00 }, clock16),
({ 17h00 }, clock17),
({ 18h00 }, clock18),
({ 19h00 }, clock19),
({ 20h00 }, clock20),
({ 21h00 }, clock21),
({ 22h00 }, clock22),
({ 23h00 }, clock23)]),
musicjingles])
#Add promotions and sponsoring
default = fallback(track_sensitive=true,
[switch([({ 10m0s }, pubs10),
({ 30m0s }, pubs30),
({ 50m0s }, pubs50)]),
musicjinglesclock])
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users