Advertisement
Guest User

Untitled

a guest
Mar 28th, 2016
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. #!/usr/bin/liquidsoap -vvv
  2. set("log.file",false)
  3. set("log.stdout",true)
  4. set("log.level",3)
  5. set("server.telnet",true)
  6.  
  7. #Playlist
  8. songs = (mksafe(playlist("/home/ralf/play.txt")))
  9.  
  10. #Jingles
  11. jingles = (mksafe(playlist("/home/ralf/play.txt")))
  12.  
  13. #security = single("/home/ralf/default.mp3")
  14.  
  15. #radio = songs
  16.  
  17. s = random(weights = [1, 4],[jingles, songs])
  18.  
  19. #live = input.http("http://192.168.10.100:8000/live1")
  20. live = input.harbor("live3",port=8080,password="hackme")
  21. s = fallback(track_sensitive=false,
  22. [live,s])
  23.  
  24.  
  25. output.icecast(%mp3,
  26. mount="/live",
  27. host="192.168.10.100",
  28. port=8000,
  29. genre="xxxx",
  30. name="***",
  31. description="****",
  32. user="source",
  33. password="xxxx",
  34. s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement