From 9f38e5a9c61dbb45a61fc1e131ce0990fe0fc6aa Mon Sep 17 00:00:00 2001 From: Naomi Date: Thu, 26 Sep 2013 17:03:18 -0400 Subject: [PATCH] CC-5342 : Pypo: Webstream disconnection happens when any changes on Now playing page --- python_apps/pypo/pypoliquidsoap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_apps/pypo/pypoliquidsoap.py b/python_apps/pypo/pypoliquidsoap.py index 50a47db94..96c0eca0f 100644 --- a/python_apps/pypo/pypoliquidsoap.py +++ b/python_apps/pypo/pypoliquidsoap.py @@ -181,7 +181,7 @@ class PypoLiquidsoap(): #handle webstreams current_stream_id = self.telnet_liquidsoap.get_current_stream_id() 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]) elif current_stream_id != "-1": #something is playing and it shouldn't be.