Skip to content

Auto-populate schedule

To create an auto-schedule of events, follow the structure of Atom feed sample then use your own link to auto-schedule events.

Next: you would have to update the channel's config by setting:

"auto_populate": true

add the auto populate content where you will include the link to your XML file

"auto_populate_content": "http://testcontent.eyevinn.technology/atom/feed-eyevinn.xml"

For example, using curl:

curl -X POST "http://{SCHEDULE_HOST}:8001/channels" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"id\":\"test\",\"config\":{\"auto_populate\": true, \"auto_populate_content\":\"http://your_xml_file.xml\"}}"

The channel will now be auto-populated with the content you set in your xml file.

Watch the channel

Verify that the channel is playing with an HLS capable video player or test in the Safari browser. You can find an example to use at our Eyevinn Player.

Copy the link and paste it in the sample player to play the channel test you created.

http://{ENGINE_HOST}:8000/live/master.m3u8?channel=test