Hello. It's the holiday season. And so begins my christmas automation, or will 
in 2 days. I don't want to change scripts or directories much, so is there a 
way for me to make my christmas folder fire from December 1 to 31 of every 
year? Here is my script. Password has been changed. What do I need to add to 
make the christmas directory which is not the one listed in the path fire on 
those dates with out entering every date in December then changing the script 
to match 2016, etc. Is there a cron like structure I can use?

# Serveur settings
set("harbor.bind_addr","0.0.0.0")

# A playlist

playlist = mksafe(playlist("/home/marrie125/pls/christmas/", mode="random"))

# A live source
live = input.harbor("live",port=8000,password="bleh")

# fallback
radio = fallback(track_sensitive=false,
                 [live,playlist])


# output it
output.icecast(%mp3(bitrate=320), 
radio,mount="/stream",host="ke7zum.tffppodcast.com",port=80,password=bleh",description="whatever
 happens happens, weather it's a walk through, a music show, or an interview, 
it's here.",url="http://tffppodcast.com/listen";)
#I have an ogg stream here to test later
#output.icecast(%vorbis(quality=2), 
#radio,mount="hq1",host="ke7zum.tffppodcast.com")
output.icecast(%mp3(bitrate=128), 
radio,mount="/mp3-128",host="ke7zum.tffppodcast.com",port=80,password="bleh",description="whatever
 happens happens, weather it's a walk through, a music show, or an interview, 
it's here.",url="http://tffppodcast.com/listen";)
output.icecast(%mp3(bitrate=96), 
radio,mount="/mp3-96",host="ke7zum.tffppodcast.com",port=80,password="bleh",description="whatever
 happens happens, weather it's a walk through, a music show, or an interview, 
it's here.",url="http://tffppodcast.com/listen";)
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to