-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Version
Which plugin version are you using exactly?
Version 2.MLU. However, looking at the code, at a first glace, it looks the same. Maybe someone with V3 and a capture agent with exactly one properties-response.properties.item for https://admin-server/capture-admin/agents/capture-agent-name/capabilities.json can confirm?
Describe the bug
A clear and concise description of what the bug is.
When there is exactly one properties-response.properties.item in response to https://admin-server/capture-admin/agents/capture-agent-name/capabilities.json, Opencast returns an Object, not an array, which the plugin receives and the plugin won't set any capture.device.names when scheduling an event.
To Reproduce
Steps to reproduce the behavior:
- Have a capture agent that adds exactly one capability to Opencast and that refuses to record if it gets no
capture.device.names. - Configure the Stud.IP Opencast Plugin to use the Opencast instance.
- Configure the Stud.IP Opencast Plugin to assign the capture agent to a room.
- Create a date in a course and book the room the capture agent was assigned to.
- Enable Opencast, Accept ToS, and Schedule a recording.
- When the event is due for recording, nothing happens, although Opencast displays the event.
On our new shiny Epiphan Pearl2 Recorders, this is what they log:
Channel '' is not available and will be ignored for the event b7d8682c-e0fa-4fcc-9bfc-3e890c569325
Cannot process event b7d8682c-e0fa-4fcc-9bfc-3e890c569325: Event does not have any channel. Skipped
Scheduled event in Opencast 14:
Expected behavior
All capture.device.names set. See also #1411
