{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/thisissoon/FM-SoundWave/pulls/6","id":37574024,"html_url":"https://github.com/thisissoon/FM-SoundWave/pull/6","diff_url":"https://github.com/thisissoon/FM-SoundWave/pull/6.diff","patch_url":"https://github.com/thisissoon/FM-SoundWave/pull/6.patch","issue_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/issues/6","number":6,"state":"open","locked":false,"title":"Feeature: Don't poll redis every x seconds","user":{"login":"krak3n","id":112322,"avatar_url":"https://avatars.githubusercontent.com/u/112322?v=3","gravatar_id":"","url":"https://api.github.com/users/krak3n","html_url":"https://github.com/krak3n","followers_url":"https://api.github.com/users/krak3n/followers","following_url":"https://api.github.com/users/krak3n/following{/other_user}","gists_url":"https://api.github.com/users/krak3n/gists{/gist_id}","starred_url":"https://api.github.com/users/krak3n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krak3n/subscriptions","organizations_url":"https://api.github.com/users/krak3n/orgs","repos_url":"https://api.github.com/users/krak3n/repos","events_url":"https://api.github.com/users/krak3n/events{/privacy}","received_events_url":"https://api.github.com/users/krak3n/received_events","type":"User","site_admin":false},"body":"This feature removes the Redis polling when the Queue is empty. Instead it uses a channel to wait for the Add PubSub event and then unblocking a channel. To prevent multiple `struct{}`s entering the channel the add event is only actioned if the player is not in a playing state and the channel does not already contain data.\r\n\r\nThis will speed up playing one track to another and start playing from an empty queue.","created_at":"2015-06-12T15:16:35Z","updated_at":"2015-06-12T15:16:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/pulls/6/commits","review_comments_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/pulls/6/comments","review_comment_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/issues/6/comments","statuses_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/statuses/2d20926ef089114bff7d1977834dac80af2030bd","head":{"label":"thisissoon:feature/dont-poll-redis","ref":"feature/dont-poll-redis","sha":"2d20926ef089114bff7d1977834dac80af2030bd","user":{"login":"thisissoon","id":6976199,"avatar_url":"https://avatars.githubusercontent.com/u/6976199?v=3","gravatar_id":"","url":"https://api.github.com/users/thisissoon","html_url":"https://github.com/thisissoon","followers_url":"https://api.github.com/users/thisissoon/followers","following_url":"https://api.github.com/users/thisissoon/following{/other_user}","gists_url":"https://api.github.com/users/thisissoon/gists{/gist_id}","starred_url":"https://api.github.com/users/thisissoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisissoon/subscriptions","organizations_url":"https://api.github.com/users/thisissoon/orgs","repos_url":"https://api.github.com/users/thisissoon/repos","events_url":"https://api.github.com/users/thisissoon/events{/privacy}","received_events_url":"https://api.github.com/users/thisissoon/received_events","type":"Organization","site_admin":false},"repo":{"id":36508730,"name":"FM-SoundWave","full_name":"thisissoon/FM-SoundWave","owner":{"login":"thisissoon","id":6976199,"avatar_url":"https://avatars.githubusercontent.com/u/6976199?v=3","gravatar_id":"","url":"https://api.github.com/users/thisissoon","html_url":"https://github.com/thisissoon","followers_url":"https://api.github.com/users/thisissoon/followers","following_url":"https://api.github.com/users/thisissoon/following{/other_user}","gists_url":"https://api.github.com/users/thisissoon/gists{/gist_id}","starred_url":"https://api.github.com/users/thisissoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisissoon/subscriptions","organizations_url":"https://api.github.com/users/thisissoon/orgs","repos_url":"https://api.github.com/users/thisissoon/repos","events_url":"https://api.github.com/users/thisissoon/events{/privacy}","received_events_url":"https://api.github.com/users/thisissoon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thisissoon/FM-SoundWave","description":"SOON_ FM Spotify Player","fork":false,"url":"https://api.github.com/repos/thisissoon/FM-SoundWave","forks_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/forks","keys_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/teams","hooks_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/hooks","issue_events_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/issues/events{/number}","events_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/events","assignees_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/assignees{/user}","branches_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/branches{/branch}","tags_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/tags","blobs_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/git/refs{/sha}","trees_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/statuses/{sha}","languages_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/languages","stargazers_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/stargazers","contributors_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/contributors","subscribers_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/subscribers","subscription_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/subscription","commits_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/commits{/sha}","git_commits_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/git/commits{/sha}","comments_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/comments{/number}","issue_comment_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/issues/comments{/number}","contents_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/contents/{+path}","compare_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/merges","archive_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/downloads","issues_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/issues{/number}","pulls_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/pulls{/number}","milestones_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/milestones{/number}","notifications_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/labels{/name}","releases_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/releases{/id}","created_at":"2015-05-29T14:20:19Z","updated_at":"2015-06-11T20:15:18Z","pushed_at":"2015-06-12T15:13:29Z","git_url":"git://github.com/thisissoon/FM-SoundWave.git","ssh_url":"git@github.com:thisissoon/FM-SoundWave.git","clone_url":"https://github.com/thisissoon/FM-SoundWave.git","svn_url":"https://github.com/thisissoon/FM-SoundWave","homepage":"https://thisissoon.fm","size":2220,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"thisissoon:master","ref":"master","sha":"fb87fbd411e50c3995086a5551eb04388849e988","user":{"login":"thisissoon","id":6976199,"avatar_url":"https://avatars.githubusercontent.com/u/6976199?v=3","gravatar_id":"","url":"https://api.github.com/users/thisissoon","html_url":"https://github.com/thisissoon","followers_url":"https://api.github.com/users/thisissoon/followers","following_url":"https://api.github.com/users/thisissoon/following{/other_user}","gists_url":"https://api.github.com/users/thisissoon/gists{/gist_id}","starred_url":"https://api.github.com/users/thisissoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisissoon/subscriptions","organizations_url":"https://api.github.com/users/thisissoon/orgs","repos_url":"https://api.github.com/users/thisissoon/repos","events_url":"https://api.github.com/users/thisissoon/events{/privacy}","received_events_url":"https://api.github.com/users/thisissoon/received_events","type":"Organization","site_admin":false},"repo":{"id":36508730,"name":"FM-SoundWave","full_name":"thisissoon/FM-SoundWave","owner":{"login":"thisissoon","id":6976199,"avatar_url":"https://avatars.githubusercontent.com/u/6976199?v=3","gravatar_id":"","url":"https://api.github.com/users/thisissoon","html_url":"https://github.com/thisissoon","followers_url":"https://api.github.com/users/thisissoon/followers","following_url":"https://api.github.com/users/thisissoon/following{/other_user}","gists_url":"https://api.github.com/users/thisissoon/gists{/gist_id}","starred_url":"https://api.github.com/users/thisissoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisissoon/subscriptions","organizations_url":"https://api.github.com/users/thisissoon/orgs","repos_url":"https://api.github.com/users/thisissoon/repos","events_url":"https://api.github.com/users/thisissoon/events{/privacy}","received_events_url":"https://api.github.com/users/thisissoon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thisissoon/FM-SoundWave","description":"SOON_ FM Spotify Player","fork":false,"url":"https://api.github.com/repos/thisissoon/FM-SoundWave","forks_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/forks","keys_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/teams","hooks_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/hooks","issue_events_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/issues/events{/number}","events_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/events","assignees_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/assignees{/user}","branches_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/branches{/branch}","tags_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/tags","blobs_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/git/refs{/sha}","trees_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/statuses/{sha}","languages_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/languages","stargazers_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/stargazers","contributors_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/contributors","subscribers_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/subscribers","subscription_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/subscription","commits_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/commits{/sha}","git_commits_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/git/commits{/sha}","comments_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/comments{/number}","issue_comment_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/issues/comments{/number}","contents_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/contents/{+path}","compare_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/merges","archive_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/downloads","issues_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/issues{/number}","pulls_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/pulls{/number}","milestones_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/milestones{/number}","notifications_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/labels{/name}","releases_url":"https://api.github.com/repos/thisissoon/FM-SoundWave/releases{/id}","created_at":"2015-05-29T14:20:19Z","updated_at":"2015-06-11T20:15:18Z","pushed_at":"2015-06-12T15:13:29Z","git_url":"git://github.com/thisissoon/FM-SoundWave.git","ssh_url":"git@github.com:thisissoon/FM-SoundWave.git","clone_url":"https://github.com/thisissoon/FM-SoundWave.git","svn_url":"https://github.com/thisissoon/FM-SoundWave","homepage":"https://thisissoon.fm","size":2220,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thisissoon/FM-SoundWave/pulls/6"},"html":{"href":"https://github.com/thisissoon/FM-SoundWave/pull/6"},"issue":{"href":"https://api.github.com/repos/thisissoon/FM-SoundWave/issues/6"},"comments":{"href":"https://api.github.com/repos/thisissoon/FM-SoundWave/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/thisissoon/FM-SoundWave/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/thisissoon/FM-SoundWave/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thisissoon/FM-SoundWave/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/thisissoon/FM-SoundWave/statuses/2d20926ef089114bff7d1977834dac80af2030bd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":72,"deletions":32,"changed_files":3}}