} start_dt = datetime.utcnow() + timedelta(seconds=2) end_dt = datetime.utcnow() + timedelta(seconds=6) media_schedule[start_dt] = {"id": 5, \ "type":"file", \ "row_id":9, \ "uri":"", \ "dst":"/home/martin/Music/ipod/Good Charlotte - bloody valentine.mp3", \ "fade_in":0, \ "fade_out":0, \ "cue_in":0, \ "cue_out":300, \ "start": start_dt, \ "end": end_dt, \ "show_name":"Untitled", \ "replay_gain": 0, \ "independent_event": True \ } pypoLiq_q.put(media_schedule) plq.join()
"cue_in":0, \ "cue_out":300, \ "start": start_dt, \ "end": end_dt, \ "show_name":"Untitled", \ "replay_gain": 0, \ "independent_event": True \ } start_dt = datetime.utcnow() + timedelta(seconds=2) end_dt = datetime.utcnow() + timedelta(seconds=6) media_schedule[start_dt] = {"id": 5, \ "type":"file", \ "row_id":9, \ "uri":"", \ "dst":"/home/martin/Music/ipod/Good Charlotte - bloody valentine.mp3", \ "fade_in":0, \ "fade_out":0, \ "cue_in":0, \ "cue_out":300, \ "start": start_dt, \ "end": end_dt, \ "show_name":"Untitled", \ "replay_gain": 0, \ "independent_event": True \ } pypoLiq_q.put(media_schedule) plq.join()