* Supported input formats - Vorbis : yes - Theora : no (requires theora) - Speex : no (requires speex) - Dirac : no (requires schroedinger) - Flac (native) : yes - Flac (ogg) : yes - MP3 : yes - AAC : no (requires faad) - text-to-speech : requires text2wave (festival) and sox at runtime - XML playlists : no (requires xmlplaylist) - Lastfm : no (requires lastfm) * Supported output formats - Vorbis : yes - MP3 : yes - MP3 (fixed-point) : no (requires shine) - AAC : no (requires voaacenc) - AAC+ : detected at runtime - FDK-AAC : no (requires fdkaac) - SPEEX : no (requires speex) - Opus : no (requires opus) - Theora : no (requires theora) - Dirac : no (requires schroedinger) * Tags - Taglib (ID3 tags) : yes - Vorbis : yes - charset detection : yes * Input / output - Icecast/Shoutcast : yes - AO : yes - OSS : yes - ALSA : no (requires alsa) - Portaudio : no (requires portaudio) - Pulseaudio : no (requires pulseaudio) - JACK : no (requires bjack) - GStreamer : no (requires gstreamer) * Audio manipulation - Samplerate : yes - SoundTouch : no (requires soundtouch) - LADSPA : no (requires ladspa) * Video manipulation - Gavl : no (requires gavl) - FFmpeg : no (requires ffmpeg) - frei0r : no (requires frei0r) - camlimages : no (requires camlimages) * MIDI manipulation - DSSI : no (requires dssi) * Visualization - Graphics : no (requires graphics) - SDL : no (requires sdl) - GD : no (requires gd) * Additional libraries - dynlink : yes - inotify : no (requires inotify) - lo : no (requires lo) - magic : yes - yojson : yes - windows service : no (requires winsvc) * Graphical interfaces - Python GUI : no
At line 20, char 15: the variable output.icecast used here has not been previously defined.
#!/usr/local/bin/liquidsoap # Log dir set("log.file.path","/tmp/basic-radio.log") # Music myplaylist = playlist("etc/liquidsoap/playlist.m3u") # Some jingles jingles = playlist("etc/liquidsoap/playlist.m3u") # If something goes wrong, we'll play this security = single("etc/liquidsoap/playlist.m3u") # Start building the feed with music radio = myplaylist # Now add some jingles radio = random(weights = [1, 4],[jingles, radio]) # And finally the security radio = fallback(track_sensitive = false, [radio, security]) # Stream it out output.icecast(%mp3, host = "192.168.1.40", port = 8000, password = "12qwas", mount = "live", radio)
radio_main = smooth_add(normal=radio,special=switch([({ 00m0s or 25m0s }, jingles)]))