CC-4321: NowPlaying: Cancelling Webstream has no effect and results in OnAir being grayed out

-fix out of bounds error
This commit is contained in:
Martin Konecny 2012-08-31 12:49:35 -04:00
parent 0ceb0167fe
commit 61537c550e
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class PypoPush(Thread):
if self.current_stream_info:
if current_event_chain[0]['type'] == "stream":
if len(current_event_chain) > 0 && current_event_chain[0]['type'] == "stream":
if self.current_stream_info['uri'] != stream_chain[0]['uri']:
#Liquidsoap is rebroadcasting a webstream and a webstream is scheduled
#to play, but they are not the same!