{"action":"created","issue":{"url":"https://api.github.com/repos/wesnoth/wesnoth/issues/674","repository_url":"https://api.github.com/repos/wesnoth/wesnoth","labels_url":"https://api.github.com/repos/wesnoth/wesnoth/issues/674/labels{/name}","comments_url":"https://api.github.com/repos/wesnoth/wesnoth/issues/674/comments","events_url":"https://api.github.com/repos/wesnoth/wesnoth/issues/674/events","html_url":"https://github.com/wesnoth/wesnoth/pull/674","id":162316846,"number":674,"title":"Mute the music when the game loses focus","user":{"login":"jyrkive","id":1665617,"avatar_url":"https://avatars.githubusercontent.com/u/1665617?v=3","gravatar_id":"","url":"https://api.github.com/users/jyrkive","html_url":"https://github.com/jyrkive","followers_url":"https://api.github.com/users/jyrkive/followers","following_url":"https://api.github.com/users/jyrkive/following{/other_user}","gists_url":"https://api.github.com/users/jyrkive/gists{/gist_id}","starred_url":"https://api.github.com/users/jyrkive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyrkive/subscriptions","organizations_url":"https://api.github.com/users/jyrkive/orgs","repos_url":"https://api.github.com/users/jyrkive/repos","events_url":"https://api.github.com/users/jyrkive/events{/privacy}","received_events_url":"https://api.github.com/users/jyrkive/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-26T07:47:39Z","updated_at":"2016-06-26T08:19:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wesnoth/wesnoth/pulls/674","html_url":"https://github.com/wesnoth/wesnoth/pull/674","diff_url":"https://github.com/wesnoth/wesnoth/pull/674.diff","patch_url":"https://github.com/wesnoth/wesnoth/pull/674.patch"},"body":"When I play any game, I tend to take a break once in a while: Alt-Tab out of the game and listen to some music for a while.\r\n\r\nFor that reason, it annoys me when a game continues to play music in background. In such a situation I either have to quit the game or mute it using the Windows volume mixer.\r\n\r\nWesnoth plays music in background, too.\r\n\r\nThis commit implements automatic muting of music on focus loss, and restarting it when Wesnoth regains focus."},"comment":{"url":"https://api.github.com/repos/wesnoth/wesnoth/issues/comments/228590031","html_url":"https://github.com/wesnoth/wesnoth/pull/674#issuecomment-228590031","issue_url":"https://api.github.com/repos/wesnoth/wesnoth/issues/674","id":228590031,"user":{"login":"shikadilord","id":489895,"avatar_url":"https://avatars.githubusercontent.com/u/489895?v=3","gravatar_id":"","url":"https://api.github.com/users/shikadilord","html_url":"https://github.com/shikadilord","followers_url":"https://api.github.com/users/shikadilord/followers","following_url":"https://api.github.com/users/shikadilord/following{/other_user}","gists_url":"https://api.github.com/users/shikadilord/gists{/gist_id}","starred_url":"https://api.github.com/users/shikadilord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shikadilord/subscriptions","organizations_url":"https://api.github.com/users/shikadilord/orgs","repos_url":"https://api.github.com/users/shikadilord/repos","events_url":"https://api.github.com/users/shikadilord/events{/privacy}","received_events_url":"https://api.github.com/users/shikadilord/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T08:19:37Z","updated_at":"2016-06-26T08:19:37Z","body":"Also, what about sound effects in general?"}}
{"actor":{"display_login":"shikadilord"}}