{"action":"opened","number":147,"pull_request":{"url":"https://api.github.com/repos/darknessomi/musicbox/pulls/147","id":47490604,"html_url":"https://github.com/darknessomi/musicbox/pull/147","diff_url":"https://github.com/darknessomi/musicbox/pull/147.diff","patch_url":"https://github.com/darknessomi/musicbox/pull/147.patch","issue_url":"https://api.github.com/repos/darknessomi/musicbox/issues/147","number":147,"state":"open","locked":false,"title":"Added global hotkeys, using python2-keybinder","user":{"login":"chaserhkj","id":1768423,"avatar_url":"https://avatars.githubusercontent.com/u/1768423?v=3","gravatar_id":"","url":"https://api.github.com/users/chaserhkj","html_url":"https://github.com/chaserhkj","followers_url":"https://api.github.com/users/chaserhkj/followers","following_url":"https://api.github.com/users/chaserhkj/following{/other_user}","gists_url":"https://api.github.com/users/chaserhkj/gists{/gist_id}","starred_url":"https://api.github.com/users/chaserhkj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaserhkj/subscriptions","organizations_url":"https://api.github.com/users/chaserhkj/orgs","repos_url":"https://api.github.com/users/chaserhkj/repos","events_url":"https://api.github.com/users/chaserhkj/events{/privacy}","received_events_url":"https://api.github.com/users/chaserhkj/received_events","type":"User","site_admin":false},"body":"添加了全局快捷键\r\n\r\n全局快捷键处理起来比较麻烦……于是直接用了[keybinder](https://github.com/engla/keybinder)项目的代码，虽然这个项目快没什么维护的样子，但是感觉不是一个很复杂的项目，是用GTK的方法进行快捷键绑定的，如果有问题的话我可以帮助维护这个项目\r\n\r\n写的代码中有检查keybinder是否安装的代码， 如果未安装就不会进行全局快捷键绑定，因此，可以把keybinder列为optional dependency\r\n\r\n已在Arch Linux平台上测试通过， 测试使用包community/python2-keybinder2","created_at":"2015-10-13T04:42:48Z","updated_at":"2015-10-13T04:42:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/darknessomi/musicbox/pulls/147/commits","review_comments_url":"https://api.github.com/repos/darknessomi/musicbox/pulls/147/comments","review_comment_url":"https://api.github.com/repos/darknessomi/musicbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/darknessomi/musicbox/issues/147/comments","statuses_url":"https://api.github.com/repos/darknessomi/musicbox/statuses/8b6f423630dc1b1611ebfe81c6bebbb33d7c92b2","head":{"label":"chaserhkj:master","ref":"master","sha":"8b6f423630dc1b1611ebfe81c6bebbb33d7c92b2","user":{"login":"chaserhkj","id":1768423,"avatar_url":"https://avatars.githubusercontent.com/u/1768423?v=3","gravatar_id":"","url":"https://api.github.com/users/chaserhkj","html_url":"https://github.com/chaserhkj","followers_url":"https://api.github.com/users/chaserhkj/followers","following_url":"https://api.github.com/users/chaserhkj/following{/other_user}","gists_url":"https://api.github.com/users/chaserhkj/gists{/gist_id}","starred_url":"https://api.github.com/users/chaserhkj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaserhkj/subscriptions","organizations_url":"https://api.github.com/users/chaserhkj/orgs","repos_url":"https://api.github.com/users/chaserhkj/repos","events_url":"https://api.github.com/users/chaserhkj/events{/privacy}","received_events_url":"https://api.github.com/users/chaserhkj/received_events","type":"User","site_admin":false},"repo":{"id":32779173,"name":"musicbox","full_name":"chaserhkj/musicbox","owner":{"login":"chaserhkj","id":1768423,"avatar_url":"https://avatars.githubusercontent.com/u/1768423?v=3","gravatar_id":"","url":"https://api.github.com/users/chaserhkj","html_url":"https://github.com/chaserhkj","followers_url":"https://api.github.com/users/chaserhkj/followers","following_url":"https://api.github.com/users/chaserhkj/following{/other_user}","gists_url":"https://api.github.com/users/chaserhkj/gists{/gist_id}","starred_url":"https://api.github.com/users/chaserhkj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaserhkj/subscriptions","organizations_url":"https://api.github.com/users/chaserhkj/orgs","repos_url":"https://api.github.com/users/chaserhkj/repos","events_url":"https://api.github.com/users/chaserhkj/events{/privacy}","received_events_url":"https://api.github.com/users/chaserhkj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chaserhkj/musicbox","description":"网易云音乐命令行版本","fork":true,"url":"https://api.github.com/repos/chaserhkj/musicbox","forks_url":"https://api.github.com/repos/chaserhkj/musicbox/forks","keys_url":"https://api.github.com/repos/chaserhkj/musicbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chaserhkj/musicbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chaserhkj/musicbox/teams","hooks_url":"https://api.github.com/repos/chaserhkj/musicbox/hooks","issue_events_url":"https://api.github.com/repos/chaserhkj/musicbox/issues/events{/number}","events_url":"https://api.github.com/repos/chaserhkj/musicbox/events","assignees_url":"https://api.github.com/repos/chaserhkj/musicbox/assignees{/user}","branches_url":"https://api.github.com/repos/chaserhkj/musicbox/branches{/branch}","tags_url":"https://api.github.com/repos/chaserhkj/musicbox/tags","blobs_url":"https://api.github.com/repos/chaserhkj/musicbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chaserhkj/musicbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chaserhkj/musicbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/chaserhkj/musicbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chaserhkj/musicbox/statuses/{sha}","languages_url":"https://api.github.com/repos/chaserhkj/musicbox/languages","stargazers_url":"https://api.github.com/repos/chaserhkj/musicbox/stargazers","contributors_url":"https://api.github.com/repos/chaserhkj/musicbox/contributors","subscribers_url":"https://api.github.com/repos/chaserhkj/musicbox/subscribers","subscription_url":"https://api.github.com/repos/chaserhkj/musicbox/subscription","commits_url":"https://api.github.com/repos/chaserhkj/musicbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/chaserhkj/musicbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/chaserhkj/musicbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/chaserhkj/musicbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/chaserhkj/musicbox/contents/{+path}","compare_url":"https://api.github.com/repos/chaserhkj/musicbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chaserhkj/musicbox/merges","archive_url":"https://api.github.com/repos/chaserhkj/musicbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chaserhkj/musicbox/downloads","issues_url":"https://api.github.com/repos/chaserhkj/musicbox/issues{/number}","pulls_url":"https://api.github.com/repos/chaserhkj/musicbox/pulls{/number}","milestones_url":"https://api.github.com/repos/chaserhkj/musicbox/milestones{/number}","notifications_url":"https://api.github.com/repos/chaserhkj/musicbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chaserhkj/musicbox/labels{/name}","releases_url":"https://api.github.com/repos/chaserhkj/musicbox/releases{/id}","created_at":"2015-03-24T05:59:15Z","updated_at":"2015-03-28T06:39:32Z","pushed_at":"2015-10-13T04:31:46Z","git_url":"git://github.com/chaserhkj/musicbox.git","ssh_url":"git@github.com:chaserhkj/musicbox.git","clone_url":"https://github.com/chaserhkj/musicbox.git","svn_url":"https://github.com/chaserhkj/musicbox","homepage":"","size":1280,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"darknessomi:master","ref":"master","sha":"58cd01373f8c5fc7593c750cdfefee37205b5aaf","user":{"login":"darknessomi","id":6939375,"avatar_url":"https://avatars.githubusercontent.com/u/6939375?v=3","gravatar_id":"","url":"https://api.github.com/users/darknessomi","html_url":"https://github.com/darknessomi","followers_url":"https://api.github.com/users/darknessomi/followers","following_url":"https://api.github.com/users/darknessomi/following{/other_user}","gists_url":"https://api.github.com/users/darknessomi/gists{/gist_id}","starred_url":"https://api.github.com/users/darknessomi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darknessomi/subscriptions","organizations_url":"https://api.github.com/users/darknessomi/orgs","repos_url":"https://api.github.com/users/darknessomi/repos","events_url":"https://api.github.com/users/darknessomi/events{/privacy}","received_events_url":"https://api.github.com/users/darknessomi/received_events","type":"User","site_admin":false},"repo":{"id":22628919,"name":"musicbox","full_name":"darknessomi/musicbox","owner":{"login":"darknessomi","id":6939375,"avatar_url":"https://avatars.githubusercontent.com/u/6939375?v=3","gravatar_id":"","url":"https://api.github.com/users/darknessomi","html_url":"https://github.com/darknessomi","followers_url":"https://api.github.com/users/darknessomi/followers","following_url":"https://api.github.com/users/darknessomi/following{/other_user}","gists_url":"https://api.github.com/users/darknessomi/gists{/gist_id}","starred_url":"https://api.github.com/users/darknessomi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darknessomi/subscriptions","organizations_url":"https://api.github.com/users/darknessomi/orgs","repos_url":"https://api.github.com/users/darknessomi/repos","events_url":"https://api.github.com/users/darknessomi/events{/privacy}","received_events_url":"https://api.github.com/users/darknessomi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/darknessomi/musicbox","description":"网易云音乐命令行版本","fork":false,"url":"https://api.github.com/repos/darknessomi/musicbox","forks_url":"https://api.github.com/repos/darknessomi/musicbox/forks","keys_url":"https://api.github.com/repos/darknessomi/musicbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darknessomi/musicbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darknessomi/musicbox/teams","hooks_url":"https://api.github.com/repos/darknessomi/musicbox/hooks","issue_events_url":"https://api.github.com/repos/darknessomi/musicbox/issues/events{/number}","events_url":"https://api.github.com/repos/darknessomi/musicbox/events","assignees_url":"https://api.github.com/repos/darknessomi/musicbox/assignees{/user}","branches_url":"https://api.github.com/repos/darknessomi/musicbox/branches{/branch}","tags_url":"https://api.github.com/repos/darknessomi/musicbox/tags","blobs_url":"https://api.github.com/repos/darknessomi/musicbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darknessomi/musicbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darknessomi/musicbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/darknessomi/musicbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darknessomi/musicbox/statuses/{sha}","languages_url":"https://api.github.com/repos/darknessomi/musicbox/languages","stargazers_url":"https://api.github.com/repos/darknessomi/musicbox/stargazers","contributors_url":"https://api.github.com/repos/darknessomi/musicbox/contributors","subscribers_url":"https://api.github.com/repos/darknessomi/musicbox/subscribers","subscription_url":"https://api.github.com/repos/darknessomi/musicbox/subscription","commits_url":"https://api.github.com/repos/darknessomi/musicbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/darknessomi/musicbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/darknessomi/musicbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/darknessomi/musicbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/darknessomi/musicbox/contents/{+path}","compare_url":"https://api.github.com/repos/darknessomi/musicbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darknessomi/musicbox/merges","archive_url":"https://api.github.com/repos/darknessomi/musicbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darknessomi/musicbox/downloads","issues_url":"https://api.github.com/repos/darknessomi/musicbox/issues{/number}","pulls_url":"https://api.github.com/repos/darknessomi/musicbox/pulls{/number}","milestones_url":"https://api.github.com/repos/darknessomi/musicbox/milestones{/number}","notifications_url":"https://api.github.com/repos/darknessomi/musicbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darknessomi/musicbox/labels{/name}","releases_url":"https://api.github.com/repos/darknessomi/musicbox/releases{/id}","created_at":"2014-08-05T03:28:24Z","updated_at":"2015-10-12T17:14:42Z","pushed_at":"2015-10-03T00:57:52Z","git_url":"git://github.com/darknessomi/musicbox.git","ssh_url":"git@github.com:darknessomi/musicbox.git","clone_url":"https://github.com/darknessomi/musicbox.git","svn_url":"https://github.com/darknessomi/musicbox","homepage":"","size":2009,"stargazers_count":595,"watchers_count":595,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":226,"mirror_url":null,"open_issues_count":27,"forks":226,"open_issues":27,"watchers":595,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/darknessomi/musicbox/pulls/147"},"html":{"href":"https://github.com/darknessomi/musicbox/pull/147"},"issue":{"href":"https://api.github.com/repos/darknessomi/musicbox/issues/147"},"comments":{"href":"https://api.github.com/repos/darknessomi/musicbox/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/darknessomi/musicbox/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/darknessomi/musicbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/darknessomi/musicbox/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/darknessomi/musicbox/statuses/8b6f423630dc1b1611ebfe81c6bebbb33d7c92b2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":58,"deletions":10,"changed_files":2}}