{"action":"opened","issue":{"url":"https://api.github.com/repos/kgshank/gse-sound-output-device-chooser/issues/15","repository_url":"https://api.github.com/repos/kgshank/gse-sound-output-device-chooser","labels_url":"https://api.github.com/repos/kgshank/gse-sound-output-device-chooser/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/kgshank/gse-sound-output-device-chooser/issues/15/comments","events_url":"https://api.github.com/repos/kgshank/gse-sound-output-device-chooser/issues/15/events","html_url":"https://github.com/kgshank/gse-sound-output-device-chooser/issues/15","id":166113869,"number":15,"title":"Device is not activated on start if it has no profile","user":{"login":"ssendev","id":450793,"avatar_url":"https://avatars.githubusercontent.com/u/450793?v=3","gravatar_id":"","url":"https://api.github.com/users/ssendev","html_url":"https://github.com/ssendev","followers_url":"https://api.github.com/users/ssendev/followers","following_url":"https://api.github.com/users/ssendev/following{/other_user}","gists_url":"https://api.github.com/users/ssendev/gists{/gist_id}","starred_url":"https://api.github.com/users/ssendev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssendev/subscriptions","organizations_url":"https://api.github.com/users/ssendev/orgs","repos_url":"https://api.github.com/users/ssendev/repos","events_url":"https://api.github.com/users/ssendev/events{/privacy}","received_events_url":"https://api.github.com/users/ssendev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-18T14:56:58Z","updated_at":"2016-07-18T14:56:58Z","closed_at":null,"body":"This causes the label to remain `Extension initialising...` until a device is chosen.\r\n\r\n```diff\r\n// base.js:96\r\n-  if(stream_port && stream == defaultDevice && stream_port.port === uidevice.get_port()) {\r\n+  if(stream == defaultDevice && ((stream_port && stream_port.port === uidevice.get_port()) || ! stream_port)) {\r\n```\r\nFixes it. Though i'm not sure wether it causes trouble elsewhere."}}
{"actor":{"display_login":"ssendev"}}