{"action":"created","issue":{"url":"https://api.github.com/repos/casperboone/homey-samsung-smart-tv/issues/3","repository_url":"https://api.github.com/repos/casperboone/homey-samsung-smart-tv","labels_url":"https://api.github.com/repos/casperboone/homey-samsung-smart-tv/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/casperboone/homey-samsung-smart-tv/issues/3/comments","events_url":"https://api.github.com/repos/casperboone/homey-samsung-smart-tv/issues/3/events","html_url":"https://github.com/casperboone/homey-samsung-smart-tv/issues/3","id":168237217,"number":3,"title":"App crashes after TV pair","user":{"login":"craftedpixelz","id":672890,"avatar_url":"https://avatars.githubusercontent.com/u/672890?v=3","gravatar_id":"","url":"https://api.github.com/users/craftedpixelz","html_url":"https://github.com/craftedpixelz","followers_url":"https://api.github.com/users/craftedpixelz/followers","following_url":"https://api.github.com/users/craftedpixelz/following{/other_user}","gists_url":"https://api.github.com/users/craftedpixelz/gists{/gist_id}","starred_url":"https://api.github.com/users/craftedpixelz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craftedpixelz/subscriptions","organizations_url":"https://api.github.com/users/craftedpixelz/orgs","repos_url":"https://api.github.com/users/craftedpixelz/repos","events_url":"https://api.github.com/users/craftedpixelz/events{/privacy}","received_events_url":"https://api.github.com/users/craftedpixelz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-29T02:21:47Z","updated_at":"2016-08-11T23:44:21Z","closed_at":null,"body":"After going to Homey settings > devices and trying to add/pair with the tv, the app crashes.\r\n\r\nTV Model: UN48H6350\r\n\r\nStack trace:\r\n```\r\nTypeError: Cannot read property 'forEach' of undefined\r\nat /samsung-tv-sources.js:108:44\r\nat Parser.<anonymous> (/node_modules/xml2js/lib/xml2js.js:484:18)\r\nat emitOne (events.js:77:13)\r\nat Parser.emit (events.js:169:7)\r\nat Object.onclosetag (/node_modules/xml2js/lib/xml2js.js:445:26)\r\nat emit (/node_modules/xml2js/node_modules/sax/lib/sax.js:640:35)\r\nat emitNode (/node_modules/xml2js/node_modules/sax/lib/sax.js:645:5)\r\nat closeTag (/node_modules/xml2js/node_modules/sax/lib/sax.js:905:7)\r\nat Object.write (/node_modules/xml2js/node_modules/sax/lib/sax.js:1306:13)\r\nat Parser.exports.Parser.Parser.parseString (/node_modules/xml2js/lib/xml2js.js:503:31)\r\n```"},"comment":{"url":"https://api.github.com/repos/casperboone/homey-samsung-smart-tv/issues/comments/239326326","html_url":"https://github.com/casperboone/homey-samsung-smart-tv/issues/3#issuecomment-239326326","issue_url":"https://api.github.com/repos/casperboone/homey-samsung-smart-tv/issues/3","id":239326326,"user":{"login":"casperboone","id":15815208,"avatar_url":"https://avatars.githubusercontent.com/u/15815208?v=3","gravatar_id":"","url":"https://api.github.com/users/casperboone","html_url":"https://github.com/casperboone","followers_url":"https://api.github.com/users/casperboone/followers","following_url":"https://api.github.com/users/casperboone/following{/other_user}","gists_url":"https://api.github.com/users/casperboone/gists{/gist_id}","starred_url":"https://api.github.com/users/casperboone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casperboone/subscriptions","organizations_url":"https://api.github.com/users/casperboone/orgs","repos_url":"https://api.github.com/users/casperboone/repos","events_url":"https://api.github.com/users/casperboone/events{/privacy}","received_events_url":"https://api.github.com/users/casperboone/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T23:44:21Z","updated_at":"2016-08-11T23:44:21Z","body":"@craftedpixelz Seems like the 'Ultra HD' models behave a bit differently. Could you (contact me)[https://github.com/casperboone/homey-samsung-smart-tv#contact-me] personally, so we can find the cause? "}}
{"actor":{"display_login":"casperboone"}}