Hello All
I am building a system that requires to jump between live harbour inputs
at specific times, this allows presenters to broadcast and be part of
the stream from any location.
I have the harbour inputs working and connected which is great.
When I listen to the stream with the inputs connected I jump from the
playlist to live input at the correct time on the first "hour / stage"
of broadcast but it doesnt jump to the second or subsequent live inputs
from there.
I think I have specified the scripting correctly looking at the
reference for time (hours / minutes / seconds). My script is as follows:
#!/usr/bin/liquidsoap
set("log.file.path","/home/ttns/logs/liquidsoap.log")
set("log.stdout", true)
offair = single("/home/ttns/offair.mp3")
administrator = single("/home/ttns/administrator.mp3")
hour1offair = single("/home/ttns/hour1.mp3")
hour2offair = single("/home/ttns/hour2.mp3")
hour3offair = single("/home/ttns/hour3.mp3")
switcher = single("/home/ttns/switch.mp3")
set("harbor.bind_addr","91.193.246.119")
hour1 = input.harbor("hour1",port=8080,password="password")
hour2 = input.harbor("hour2",port=8082,password="password")
hour3 = input.harbor("hour3",port=8084,password="password")
radio_hour1 = fallback(track_sensitive=false,
[hour1,hour1offair])
radio_hour2 = fallback(track_sensitive=false,
[hour2,hour2offair])
radio_hour3 = fallback(track_sensitive=false,
[hour3,hour3offair])
#make sure we consume the buffer of the input gates we are creating
output.dummy(fallible=true, radio_hour1)
output.dummy(fallible=true, radio_hour2)
output.dummy(fallible=true, radio_hour3)
ttnslive = fallback([
switch([({ 18h45m00s-18h50m0s }, switcher),
({ 18h50m1s-18h55m0s }, radio_hour1),
({ 18h55m01s-19h00m0s }, switcher),
({ 19h00m01s-19h05m0s }, radio_hour2),
({ 19h05m01-19h10m0s }, switcher),
({ 19h10m01s-18h44m0s }, radio_hour3),
offair])
host="myicecastserver.com",port=8000,password="L1$t3nL1v3",
mount="live",ttnslive)
I know my timing is tight. Do i need to allow more of a time window for
switch?
I have a switcher as a local file as I tried to jump direct from live >
live input but it didnt work.
Any thoughts appreciated.
Dane
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users