Created
March 20, 2016 15:51
-
-
Save daslicht/2f06408f1d29a605b288 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/liquidsoap/radio.liq | |
#!/usr/bin/liquidsoap | |
input = mksafe(playlist(mode="normal","./ogg/ogg.m3u")) | |
output.icecast(%vorbis, | |
host = "localhost", | |
port = 8000, | |
password = "*", | |
mount = "stream.ogg", | |
input) | |
# Second transcoder : MP3 128 kbps | |
output.icecast(%mp3(bitrate=128), | |
host ="localhost", | |
port = 8000, | |
password ="*", | |
mount = "stream.mp3", | |
input) | |
not working: | |
/etc/init.d/liquidsoap start | |
no error tho | |
working: | |
sudo -u liquidsoap liquidsoap radio.liq | |
^Croot@v22015072938226788:/etc/liquidsoap# sudo -u daslicht liquidsoap radio.liq -d
root@v22015072938226788:/etc/liquidsoap# Fatal error: exception Sys_error("/var/run/liquidsoap/radio.pid: Permission denied")
Raised by primitive operation at file "pervasives.ml", line 239, characters 21-47
Called from file "pervasives.ml", line 242, characters 2-74
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
icecast displays the mount points but the playlist seams not start