Hello, sorry for bad English. I'm using online translator.
Due to poor knowledge of the language can not deal with their own scripts. Help 
please.

It is necessary that every 30 minutes in a stream was added a random track from 
the playlist. 
Thank you in advance for your help
Now we employ such a design:

# A bunch of files and playlists,

# supposedly all located in the same base dir.

default = single("/music/test.mp3")

day = playlist("/music/shanson.pls")

night = playlist("/music/shanson.pls")

jingles = playlist("/music/jingls.m3u")

clock = single("/music/test.mp3")

# Play user requests if there are any,

# otherwise one of our playlists,

# and the default file if anything goes wrong.

radio = fallback([ request.queue(id="request"),

switch([({ 6h-22h }, day),

({ 22h-6h }, night)]),

default])

# Add the normal jingles

radio = random(weights=[1,3],[ reklama, radio ])

# And the clock jingle

radio = add([radio, switch([({59m56s},clock)])])

# Add the ability to relay live shows

full =

fallback(track_sensitive=false,

[input.http("http://localhost:8777/online";),

radio])

# Output the full stream in OGG and MP3

output.icecast.mp3(

host="localhost",port=8777,password="*******",

mount="live",url="www.neformatnoe.ru",description="Neformatnoe Radio",full)

 
------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to