CC-5342 : Pypo: Webstream disconnection happens when any changes on Now playing page
This commit is contained in:
parent
52b7dbb226
commit
9f38e5a9c6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue