Advertisement
Guest User

Untitled

a guest
Jul 19th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. # Log dir
  2. set("log.file.path","./tmp/basic-radio.log")
  3.  
  4. # Serveur settings
  5. set("harbor.bind_addr","0.0.0.0")
  6.  
  7. # An emergency file
  8. emergency = single("./file.ogg")
  9.  
  10. # A playlist
  11. playlist = playlist(mode="randomize",reload=60,"./music")
  12.  
  13. # A live source
  14. livedj = input.harbor(
  15. "mount",
  16. port=8080,
  17. password="hackme"
  18. )
  19.  
  20. # fallback
  21. radio = fallback(track_sensitive=false,
  22. [livedj,playlist,emergency])
  23.  
  24. # Stream it out
  25. output.icecast(
  26. %mp3,
  27. host = "localhost",
  28. mount = "stream",
  29. user = "source",
  30. public = true,
  31. port = 8004, password = "hackme",
  32. genre = "Surprise",
  33. name = "DemoStream",
  34. radio)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement