Pypo: Live Streaming in first show will block the next show's first track

-fixed. Was caused by clashing keys
This commit is contained in:
Martin Konecny 2013-05-30 14:02:05 -04:00
parent 13f7c3941d
commit 6fddabdd7c
3 changed files with 10 additions and 6 deletions

View file

@ -441,9 +441,11 @@ class PypoFetch(Thread):
media_item['file_ready'] = False
media_filtered[key] = media_item
media_item['start'] = datetime.strptime(media_item['start'], "%Y-%m-%d-%H-%M-%S")
media_item['end'] = datetime.strptime(media_item['end'], "%Y-%m-%d-%H-%M-%S")
media_copy[media_item['start']] = media_item
media_item['start'] = datetime.strptime(media_item['start'],
"%Y-%m-%d-%H-%M-%S")
media_item['end'] = datetime.strptime(media_item['end'],
"%Y-%m-%d-%H-%M-%S")
media_copy[key] = media_item
self.media_prepare_queue.put(copy.copy(media_filtered))