
MasterRed
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2017
08:12 AM
MultiLive Channel SDK
Greetings to all,
I have downloaded the multi-live-channel sdk https://github.com/rokudev/Multi-Live-Channel, in this version the playlist is embedded in the file: components/config.brs which forces you to package everything together, what changes should I make to the SDK receive the list from a remote xml file?
Thanks,
Kind Regards.
I have downloaded the multi-live-channel sdk https://github.com/rokudev/Multi-Live-Channel, in this version the playlist is embedded in the file: components/config.brs which forces you to package everything together, what changes should I make to the SDK receive the list from a remote xml file?
Thanks,
Kind Regards.
1 REPLY 1
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2017
10:21 AM
Re: MultiLive Channel SDK
It's a fairly trivial change you'll have to make, to read a JSON file with roUrlTransfer and then parseJSON() it. (I recommend doing JSON instead of XML, because easier).
There is only one hindrance i foresee and that's
https://github.com/rokudev/multi-live-c ... ne.brs#L18
I think m.array is not used outside the next line so you can as well hard-code the behavior based on knowing if you have 1 or >1 lines. Or you can do it right but will have to learn more details on RSG.
There is only one hindrance i foresee and that's
https://github.com/rokudev/multi-live-c ... ne.brs#L18
I think m.array is not used outside the next line so you can as well hard-code the behavior based on knowing if you have 1 or >1 lines. Or you can do it right but will have to learn more details on RSG.