CC-1665: Scheduled stream rebroadcasting and recording

on-air light works with streams now
This commit is contained in:
Martin Konecny 2012-08-01 14:51:56 -04:00
parent e1f962baa9
commit 63b89043b6
4 changed files with 33 additions and 10 deletions

View file

@ -374,6 +374,10 @@ class PypoPush(Thread):
tn = telnetlib.Telnet(LS_HOST, LS_PORT)
#dynamic_source.start http://87.230.101.24:80/top100station.mp3
msg = 'dynamic_source.id %s\n' % media_item['row_id']
tn.write(msg)
#TODO: DO we need this?
msg = 'streams.scheduled_play_start\n'
tn.write(msg)
msg = 'dynamic_source.start %s\n' % media_item['uri'].encode('latin-1')