-bash: /etc/liquidsoap/lig.conf: Permission denied
Line 27, char 17 before "%": Parse error.
deb ********** squeeze main non-free
aptitude update
aptitude install liquidsoap-plugin-icecast liquidsoap-plugin-vorbis liquidsoap-plugin-ogg
chmod a+x /путь/к/файлу
bash: ./ls: /usr/local/bin/liquidsoap2: неправильний інтерпретатор: No such file or directory
#!/usr/bin/liquidsoap # Log dir set("log.file.path","/tmp/basic-radio.log") set("harbor.bind_addr","46.28.68.164") live = input.harbor("FmNiceRu",port=8001,password="123") # Music myplaylist = playlist("/home/live/Radio/Music/playlist.m3u") # Some jingles jingles = playlist("/home/live/Radio/Jingles/playlist.m3u") # If something goes wrong, we'll play this security = single("~/radio/sounds/default.ogg") # Start building the feed with music radio = myplaylist # Now add some jingles radio = random(weights = [1, 2],[jingles, radio]) # And finally the security radio = fallback(track_sensitive = false, [radio, security]) radio = fallback(track_sensitive=false, [live,files]) #Crossfade radio= crossfade(start_next=20.,fade_out=14.,fade_in=8.,radio) # Stream it out output.icecast(%vorbis, host = "localhost", port = 8000, password = "123", mount = "FmNiceRu_nons", radio)
/home/live/Radio/Music/Kat Deluna feat. Akon - Push Push.mp3 /home/live/Radio/Music/Synkro Team - In The Night (Radio Edit) (Новинка Июль 2012).mp3 /home/live/Radio/Music/dj_smash_feat._mauri_-_rendez-vous_original_mix.mp3 /home/live/Radio/Music/DJ Layla - I'm Your Angel.mp3 /home/live/Radio/Music/WTF! - Da Bop.mp3