From 11b52905df098fdab32bd87a3d65dee878866ece Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Tue, 29 May 2012 11:10:48 -0400 Subject: [PATCH] CC-3892: Pypopush can be executed before Pypofile copying file -temp solution --- python_apps/pypo/pypopush.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python_apps/pypo/pypopush.py b/python_apps/pypo/pypopush.py index 5ac6c4c13..ed706dff1 100644 --- a/python_apps/pypo/pypopush.py +++ b/python_apps/pypo/pypopush.py @@ -82,6 +82,9 @@ class PypoPush(Thread): self.modify_cue_point(current_event_chain[0]) next_media_item_chain = current_event_chain time_until_next_play = 0 + #sleep for 0.2 seconds to give pypo-file time to copy. This is a quick + #fix that will be improved in 2.1.1 + time.sleep(0.2) else: media_chain = filter(lambda item: (item["type"] == "file"), current_event_chain) self.handle_new_media_schedule(media_schedule, liquidsoap_queue_approx, media_chain)