CC-1469: Crossfading support (non-equal power)

-fix restarting airtime playout not resyncing to schedule correctly
This commit is contained in:
Martin Konecny 2013-04-22 17:33:56 -04:00
parent 96579b7ef4
commit 07f0ae6c28
5 changed files with 46 additions and 15 deletions

View file

@ -23,6 +23,7 @@ from pypofile import PypoFile
from recorder import Recorder
from listenerstat import ListenerStat
from pypomessagehandler import PypoMessageHandler
from pypoliquidsoap import PypoLiquidsoap
from media.update.replaygainupdater import ReplayGainUpdater
from media.update.silananalyzer import SilanAnalyzer
@ -194,7 +195,8 @@ if __name__ == '__main__':
recorder_q = Queue()
pypoPush_q = Queue()
pypo_liquidsoap = PypoLiquidsoap(logger, telnet_lock,\
ls_host, ls_port)
"""
This queue is shared between pypo-fetch and pypo-file, where pypo-file
@ -212,11 +214,11 @@ if __name__ == '__main__':
pfile.daemon = True
pfile.start()
pf = PypoFetch(pypoFetch_q, pypoPush_q, media_q, telnet_lock)
pf = PypoFetch(pypoFetch_q, pypoPush_q, media_q, telnet_lock, pypo_liquidsoap)
pf.daemon = True
pf.start()
pp = PypoPush(pypoPush_q, telnet_lock)
pp = PypoPush(pypoPush_q, telnet_lock, pypo_liquidsoap)
pp.daemon = True
pp.start()