CC-4702: Webstream: When webstream is playing, it isn't marked as 'media_item_played' in cc_schedule
This commit is contained in:
parent
5ba964c783
commit
50bdeeef26
|
@ -81,7 +81,9 @@ server.register(namespace="dynamic_source",
|
||||||
description="Enable webstream output",
|
description="Enable webstream output",
|
||||||
usage='start',
|
usage='start',
|
||||||
"output_start",
|
"output_start",
|
||||||
fun (s) -> begin log("dynamic_source.output_start") webstream_enabled := true "enabled" end)
|
fun (s) -> begin log("dynamic_source.output_start")
|
||||||
|
notify([("schedule_table_id", !current_dyn_id)])
|
||||||
|
webstream_enabled := true "enabled" end)
|
||||||
server.register(namespace="dynamic_source",
|
server.register(namespace="dynamic_source",
|
||||||
description="Enable webstream output",
|
description="Enable webstream output",
|
||||||
usage='stop',
|
usage='stop',
|
||||||
|
|
|
@ -114,7 +114,6 @@ class Notify:
|
||||||
self.notify_source_status(options.source_name, options.source_status)
|
self.notify_source_status(options.source_name, options.source_status)
|
||||||
elif options.webstream:
|
elif options.webstream:
|
||||||
self.notify_webstream_data(options.webstream, options.media_id)
|
self.notify_webstream_data(options.webstream, options.media_id)
|
||||||
self.notify_media_start_playing(options.media_id)
|
|
||||||
elif options.media_id:
|
elif options.media_id:
|
||||||
self.notify_media_start_playing(options.media_id)
|
self.notify_media_start_playing(options.media_id)
|
||||||
elif options.liquidsoap_started:
|
elif options.liquidsoap_started:
|
||||||
|
|
Loading…
Reference in New Issue