CC-1469: Crossfading support (non-equal power)
-fix restarting airtime playout not resyncing to schedule correctly
This commit is contained in:
parent
96579b7ef4
commit
07f0ae6c28
5 changed files with 46 additions and 15 deletions
|
@ -20,7 +20,8 @@ class PypoLiquidsoap():
|
|||
self.telnet_liquidsoap = TelnetLiquidsoap(telnet_lock, \
|
||||
logger,\
|
||||
host,\
|
||||
port)
|
||||
port,\
|
||||
self.liq_queue_tracker.keys())
|
||||
|
||||
|
||||
def play(self, media_item):
|
||||
|
@ -90,9 +91,6 @@ class PypoLiquidsoap():
|
|||
|
||||
return available_queue
|
||||
|
||||
def get_queues():
|
||||
return self.liq_queue_tracker
|
||||
|
||||
|
||||
def verify_correct_present_media(self, scheduled_now):
|
||||
#verify whether Liquidsoap is currently playing the correct files.
|
||||
|
@ -105,8 +103,6 @@ class PypoLiquidsoap():
|
|||
#get liquidsoap items for each queue. Since each queue can only have one
|
||||
#item, we should have a max of 8 items.
|
||||
|
||||
#TODO: Verify start, end, replay_gain is the same
|
||||
|
||||
#2013-03-21-22-56-00_0: {
|
||||
#id: 1,
|
||||
#type: "stream_output_start",
|
||||
|
@ -222,6 +218,9 @@ class PypoLiquidsoap():
|
|||
|
||||
return seconds
|
||||
|
||||
def clear_all_queues(self):
|
||||
self.telnet_liquidsoap.queue_clear_all()
|
||||
|
||||
|
||||
class UnknownMediaItemType(Exception):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue