-fixed liquidsoap not working when the liquidsoap global libraries were not installed

This commit is contained in:
mkonecny 2011-01-11 16:35:43 -05:00
parent 277095a538
commit 692ba3513b
23 changed files with 908 additions and 50 deletions

View file

@ -0,0 +1,13 @@
#!/usr/bin/ruby
require 'net/telnet'
liq_host = "localhost"
liq_port = 1234
conn = Net::Telnet::new("Host" => liq_host, "Port" => liq_port)
conn.puts(ARGV[0])
conn.waitfor("Match" => /^END$/) do |data|
puts data.sub(/\nEND\n/,"")
end