Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
99cfd72cc3
|
@ -195,6 +195,7 @@ def compile_liquidsoap(filename="liquidsoap"):
|
||||||
sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-portaudio', 'ocaml-portaudio')
|
sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-portaudio', 'ocaml-portaudio')
|
||||||
sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-alsa', 'ocaml-alsa')
|
sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-alsa', 'ocaml-alsa')
|
||||||
sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-pulseaudio', 'ocaml-pulseaudio')
|
sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-pulseaudio', 'ocaml-pulseaudio')
|
||||||
|
sed('%s/liquidsoap-1.0.1-full/PACKAGES' % root, '#ocaml-faad', 'ocaml-faad')
|
||||||
do_run('cd %s/liquidsoap-1.0.1-full && ./bootstrap' % root)
|
do_run('cd %s/liquidsoap-1.0.1-full && ./bootstrap' % root)
|
||||||
do_run('cd %s/liquidsoap-1.0.1-full && ./configure' % root)
|
do_run('cd %s/liquidsoap-1.0.1-full && ./configure' % root)
|
||||||
do_run('cd %s/liquidsoap-1.0.1-full && make' % root)
|
do_run('cd %s/liquidsoap-1.0.1-full && make' % root)
|
||||||
|
|
|
@ -84,6 +84,7 @@ try:
|
||||||
print "Port: %s" % port
|
print "Port: %s" % port
|
||||||
print "User: %s" % user
|
print "User: %s" % user
|
||||||
print "Password: %s" % password
|
print "Password: %s" % password
|
||||||
|
if stream_type == "icecast":
|
||||||
print "Mount: %s\n" % mount
|
print "Mount: %s\n" % mount
|
||||||
|
|
||||||
url = "http://%s:%s/%s" % (host, port, mount)
|
url = "http://%s:%s/%s" % (host, port, mount)
|
||||||
|
@ -97,7 +98,8 @@ try:
|
||||||
if stream_type == "icecast":
|
if stream_type == "icecast":
|
||||||
command = "%s 'output.icecast(%%vorbis, host = \"%s\", port = %s, user= \"%s\", password = \"%s\", mount=\"%s\", sine())'" % (liquidsoap_exe, host, port, user, password, mount)
|
command = "%s 'output.icecast(%%vorbis, host = \"%s\", port = %s, user= \"%s\", password = \"%s\", mount=\"%s\", sine())'" % (liquidsoap_exe, host, port, user, password, mount)
|
||||||
else:
|
else:
|
||||||
command = "%s 'output.shoutcast(%%mp3, host=\"%s\", port = %s, user= \"%s\", password = \"%s\", mount=\"%s\", sine())'" % (liquidsoap_exe, host, port, user, password, mount)
|
command = "%s /usr/lib/airtime/pypo/bin/liquidsoap_scripts/library/pervasives.liq 'output.shoutcast(%%mp3, host=\"%s\", port = %s, user= \"%s\", password = \"%s\", sine())'" \
|
||||||
|
% (liquidsoap_exe, host, port, user, password)
|
||||||
|
|
||||||
if not verbose:
|
if not verbose:
|
||||||
command += " 2>/dev/null | grep \"failed\""
|
command += " 2>/dev/null | grep \"failed\""
|
||||||
|
|
Loading…
Reference in New Issue