CC-4702: Webstream: When webstream is playing, it isn't marked as 'media_item_played' in cc_schedule
-fixed
This commit is contained in:
parent
5f534b5ef6
commit
62b3c39c5b
|
@ -446,6 +446,7 @@ def cross_http(~debug=true,~http_input_id,source)
|
|||
change = ref false
|
||||
|
||||
def on_m(m)
|
||||
notify_stream(m)
|
||||
changed = m["source_url"] != !last_url
|
||||
log("URL now #{m['source_url']} (change: #{changed})")
|
||||
if changed then
|
||||
|
|
|
@ -45,7 +45,6 @@ just_switched = ref false
|
|||
|
||||
|
||||
http = input.http_restart(id="http")
|
||||
http = on_metadata(notify_stream, http)
|
||||
http = cross_http(http_input_id="http",http)
|
||||
stream_queue = http_fallback(http_input_id="http",http=http,default=queue)
|
||||
|
||||
|
|
Loading…
Reference in New Issue