Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Roku info more robustly #6

Merged
merged 1 commit into from
Dec 15, 2016
Merged

Handle Roku info more robustly #6

merged 1 commit into from
Dec 15, 2016

Conversation

bschlenk
Copy link
Contributor

Don't assume all info values will be present across all Roku devices.
Instead, flatten the parsed xml into json and expect the user to inspect
for the values they need.

I was running this with my Roku TV and some of these values weren't in the map, causing some exceptions when trying to get the first element of the array.

Don't assume all info values will be present across all Roku devices.
Instead, flatten the parsed xml into json and expect the user to inspect
for the values they need.
@sgnl
Copy link
Owner

sgnl commented Dec 15, 2016

Thanks for your contribution, LGTM! ✅

@sgnl sgnl merged commit f09adad into sgnl:master Dec 15, 2016
@sgnl
Copy link
Owner

sgnl commented Dec 15, 2016

new version has landed on NPM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants