{"action":"created","issue":{"url":"https://api.github.com/repos/mbradley612/HHSCStartLine/issues/8","labels_url":"https://api.github.com/repos/mbradley612/HHSCStartLine/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/mbradley612/HHSCStartLine/issues/8/comments","events_url":"https://api.github.com/repos/mbradley612/HHSCStartLine/issues/8/events","html_url":"https://github.com/mbradley612/HHSCStartLine/issues/8","id":47392807,"number":8,"title":"Reconnect to audio if disconnected","user":{"login":"mbradley612","id":5239533,"avatar_url":"https://avatars.githubusercontent.com/u/5239533?v=3","gravatar_id":"","url":"https://api.github.com/users/mbradley612","html_url":"https://github.com/mbradley612","followers_url":"https://api.github.com/users/mbradley612/followers","following_url":"https://api.github.com/users/mbradley612/following{/other_user}","gists_url":"https://api.github.com/users/mbradley612/gists{/gist_id}","starred_url":"https://api.github.com/users/mbradley612/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbradley612/subscriptions","organizations_url":"https://api.github.com/users/mbradley612/orgs","repos_url":"https://api.github.com/users/mbradley612/repos","events_url":"https://api.github.com/users/mbradley612/events{/privacy}","received_events_url":"https://api.github.com/users/mbradley612/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-10-31T13:19:20Z","updated_at":"2015-03-11T18:50:54Z","closed_at":"2015-03-11T18:50:54Z","body":"Startine currently only attempts to create a PyAudio connection object on startup. if the audio is not connected at startup, or becomes disconnected after startup, the only way to recover is to restart Startline.\r\n\r\nThe fix is to:\r\n\r\n1. catch any PyAudio exceptions\r\n2. track the state of the connection (are we connected or not? if not, try to create a connection object before playing a sound)"},"comment":{"url":"https://api.github.com/repos/mbradley612/HHSCStartLine/issues/comments/78344566","html_url":"https://github.com/mbradley612/HHSCStartLine/issues/8#issuecomment-78344566","issue_url":"https://api.github.com/repos/mbradley612/HHSCStartLine/issues/8","id":78344566,"user":{"login":"mbradley612","id":5239533,"avatar_url":"https://avatars.githubusercontent.com/u/5239533?v=3","gravatar_id":"","url":"https://api.github.com/users/mbradley612","html_url":"https://github.com/mbradley612","followers_url":"https://api.github.com/users/mbradley612/followers","following_url":"https://api.github.com/users/mbradley612/following{/other_user}","gists_url":"https://api.github.com/users/mbradley612/gists{/gist_id}","starred_url":"https://api.github.com/users/mbradley612/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbradley612/subscriptions","organizations_url":"https://api.github.com/users/mbradley612/orgs","repos_url":"https://api.github.com/users/mbradley612/repos","events_url":"https://api.github.com/users/mbradley612/events{/privacy}","received_events_url":"https://api.github.com/users/mbradley612/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T18:50:54Z","updated_at":"2015-03-11T18:50:54Z","body":"Closing issue as superceded by issue 18, change to PyGame's audio support."}}