FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

configure inputs explicitly

Merged Dr Rich Wareham requested to merge explicitly-specify-inputs into master
1 file
+ 6
4
Compare changes
  • Side-by-side
  • Inline
@@ -158,10 +158,12 @@ def oc_metadata(row):
def oc_sched(row):
"""Create opencast schedule for an event"""
sched = {"agent_id": row["location"],
"start": row["startTime"],
"end": row["stopTime"],
"inputs": ["default"]}
sched = {
"agent_id": row["location"],
"start": row["startTime"],
"end": row["stopTime"],
"inputs": ["camera", "screen", "AudioSource"],
}
return sched
Loading