Merge branch '2.5.x' of dev.sourcefabric.org:airtime into 2.5.x
This commit is contained in:
commit
174915005f
|
@ -181,7 +181,7 @@ class PypoLiquidsoap():
|
||||||
#handle webstreams
|
#handle webstreams
|
||||||
current_stream_id = self.telnet_liquidsoap.get_current_stream_id()
|
current_stream_id = self.telnet_liquidsoap.get_current_stream_id()
|
||||||
if scheduled_now_webstream:
|
if scheduled_now_webstream:
|
||||||
if current_stream_id != scheduled_now_webstream[0]:
|
if int(current_stream_id) != int(scheduled_now_webstream[0]["row_id"]):
|
||||||
self.play(scheduled_now_webstream[0])
|
self.play(scheduled_now_webstream[0])
|
||||||
elif current_stream_id != "-1":
|
elif current_stream_id != "-1":
|
||||||
#something is playing and it shouldn't be.
|
#something is playing and it shouldn't be.
|
||||||
|
|
Loading…
Reference in New Issue