{"action":"created","comment":{"url":"https://api.github.com/repos/teamduck/remoteremote/pulls/comments/119971775","pull_request_review_id":41905794,"id":119971775,"diff_hunk":"@@ -985,6 +984,46 @@ routes['join_room'] = function (user, data) {\n     room.sync(user);\n }\n \n+routes['search_youtube'] = function (user, data) {\n+\tif(user.room === null) return;\n+\tvar room = user.room;\n+\n+\tvar query = encodeURIComponent(data.query);\n+\tif (typeof(data.query === 'string') && query.length > 0 && query.length < 101) {","path":"server.js","position":26,"original_position":26,"commit_id":"5b869599796be36d39c2ed04b96cc5a70b9766f4","original_commit_id":"5b869599796be36d39c2ed04b96cc5a70b9766f4","user":{"login":"youresam","id":285123,"avatar_url":"https://avatars2.githubusercontent.com/u/285123?v=3","gravatar_id":"","url":"https://api.github.com/users/youresam","html_url":"https://github.com/youresam","followers_url":"https://api.github.com/users/youresam/followers","following_url":"https://api.github.com/users/youresam/following{/other_user}","gists_url":"https://api.github.com/users/youresam/gists{/gist_id}","starred_url":"https://api.github.com/users/youresam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youresam/subscriptions","organizations_url":"https://api.github.com/users/youresam/orgs","repos_url":"https://api.github.com/users/youresam/repos","events_url":"https://api.github.com/users/youresam/events{/privacy}","received_events_url":"https://api.github.com/users/youresam/received_events","type":"User","site_admin":false},"body":"typeof(data.query === 'string')","created_at":"2017-06-03T00:01:44Z","updated_at":"2017-06-03T00:01:45Z","html_url":"https://github.com/teamduck/remoteremote/pull/12#discussion_r119971775","pull_request_url":"https://api.github.com/repos/teamduck/remoteremote/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/teamduck/remoteremote/pulls/comments/119971775"},"html":{"href":"https://github.com/teamduck/remoteremote/pull/12#discussion_r119971775"},"pull_request":{"href":"https://api.github.com/repos/teamduck/remoteremote/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/teamduck/remoteremote/pulls/12","id":123566432,"html_url":"https://github.com/teamduck/remoteremote/pull/12","diff_url":"https://github.com/teamduck/remoteremote/pull/12.diff","patch_url":"https://github.com/teamduck/remoteremote/pull/12.patch","issue_url":"https://api.github.com/repos/teamduck/remoteremote/issues/12","number":12,"state":"open","locked":false,"title":"Youtube search","user":{"login":"jamespsteinberg","id":1237324,"avatar_url":"https://avatars3.githubusercontent.com/u/1237324?v=3","gravatar_id":"","url":"https://api.github.com/users/jamespsteinberg","html_url":"https://github.com/jamespsteinberg","followers_url":"https://api.github.com/users/jamespsteinberg/followers","following_url":"https://api.github.com/users/jamespsteinberg/following{/other_user}","gists_url":"https://api.github.com/users/jamespsteinberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jamespsteinberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamespsteinberg/subscriptions","organizations_url":"https://api.github.com/users/jamespsteinberg/orgs","repos_url":"https://api.github.com/users/jamespsteinberg/repos","events_url":"https://api.github.com/users/jamespsteinberg/events{/privacy}","received_events_url":"https://api.github.com/users/jamespsteinberg/received_events","type":"User","site_admin":false},"body":"we got search baby\r\nsometimes googles api is as slow as 60 seconds, sometimes instant","created_at":"2017-06-01T18:41:27Z","updated_at":"2017-06-03T00:01:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b818e4837d05ddf0b5a4afcbb7e3e1b9bb40bfc","assignee":null,"assignees":[],"requested_reviewers":[{"login":"gregtour","id":1071302,"avatar_url":"https://avatars2.githubusercontent.com/u/1071302?v=3","gravatar_id":"","url":"https://api.github.com/users/gregtour","html_url":"https://github.com/gregtour","followers_url":"https://api.github.com/users/gregtour/followers","following_url":"https://api.github.com/users/gregtour/following{/other_user}","gists_url":"https://api.github.com/users/gregtour/gists{/gist_id}","starred_url":"https://api.github.com/users/gregtour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregtour/subscriptions","organizations_url":"https://api.github.com/users/gregtour/orgs","repos_url":"https://api.github.com/users/gregtour/repos","events_url":"https://api.github.com/users/gregtour/events{/privacy}","received_events_url":"https://api.github.com/users/gregtour/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/teamduck/remoteremote/pulls/12/commits","review_comments_url":"https://api.github.com/repos/teamduck/remoteremote/pulls/12/comments","review_comment_url":"https://api.github.com/repos/teamduck/remoteremote/pulls/comments{/number}","comments_url":"https://api.github.com/repos/teamduck/remoteremote/issues/12/comments","statuses_url":"https://api.github.com/repos/teamduck/remoteremote/statuses/5b869599796be36d39c2ed04b96cc5a70b9766f4","head":{"label":"teamduck:youtube_search","ref":"youtube_search","sha":"5b869599796be36d39c2ed04b96cc5a70b9766f4","user":{"login":"teamduck","id":1081737,"avatar_url":"https://avatars2.githubusercontent.com/u/1081737?v=3","gravatar_id":"","url":"https://api.github.com/users/teamduck","html_url":"https://github.com/teamduck","followers_url":"https://api.github.com/users/teamduck/followers","following_url":"https://api.github.com/users/teamduck/following{/other_user}","gists_url":"https://api.github.com/users/teamduck/gists{/gist_id}","starred_url":"https://api.github.com/users/teamduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamduck/subscriptions","organizations_url":"https://api.github.com/users/teamduck/orgs","repos_url":"https://api.github.com/users/teamduck/repos","events_url":"https://api.github.com/users/teamduck/events{/privacy}","received_events_url":"https://api.github.com/users/teamduck/received_events","type":"Organization","site_admin":false},"repo":{"id":8488024,"name":"remoteremote","full_name":"teamduck/remoteremote","owner":{"login":"teamduck","id":1081737,"avatar_url":"https://avatars2.githubusercontent.com/u/1081737?v=3","gravatar_id":"","url":"https://api.github.com/users/teamduck","html_url":"https://github.com/teamduck","followers_url":"https://api.github.com/users/teamduck/followers","following_url":"https://api.github.com/users/teamduck/following{/other_user}","gists_url":"https://api.github.com/users/teamduck/gists{/gist_id}","starred_url":"https://api.github.com/users/teamduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamduck/subscriptions","organizations_url":"https://api.github.com/users/teamduck/orgs","repos_url":"https://api.github.com/users/teamduck/repos","events_url":"https://api.github.com/users/teamduck/events{/privacy}","received_events_url":"https://api.github.com/users/teamduck/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamduck/remoteremote","description":"YouTube video sharing web app","fork":false,"url":"https://api.github.com/repos/teamduck/remoteremote","forks_url":"https://api.github.com/repos/teamduck/remoteremote/forks","keys_url":"https://api.github.com/repos/teamduck/remoteremote/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamduck/remoteremote/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamduck/remoteremote/teams","hooks_url":"https://api.github.com/repos/teamduck/remoteremote/hooks","issue_events_url":"https://api.github.com/repos/teamduck/remoteremote/issues/events{/number}","events_url":"https://api.github.com/repos/teamduck/remoteremote/events","assignees_url":"https://api.github.com/repos/teamduck/remoteremote/assignees{/user}","branches_url":"https://api.github.com/repos/teamduck/remoteremote/branches{/branch}","tags_url":"https://api.github.com/repos/teamduck/remoteremote/tags","blobs_url":"https://api.github.com/repos/teamduck/remoteremote/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamduck/remoteremote/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamduck/remoteremote/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamduck/remoteremote/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamduck/remoteremote/statuses/{sha}","languages_url":"https://api.github.com/repos/teamduck/remoteremote/languages","stargazers_url":"https://api.github.com/repos/teamduck/remoteremote/stargazers","contributors_url":"https://api.github.com/repos/teamduck/remoteremote/contributors","subscribers_url":"https://api.github.com/repos/teamduck/remoteremote/subscribers","subscription_url":"https://api.github.com/repos/teamduck/remoteremote/subscription","commits_url":"https://api.github.com/repos/teamduck/remoteremote/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamduck/remoteremote/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamduck/remoteremote/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamduck/remoteremote/issues/comments{/number}","contents_url":"https://api.github.com/repos/teamduck/remoteremote/contents/{+path}","compare_url":"https://api.github.com/repos/teamduck/remoteremote/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamduck/remoteremote/merges","archive_url":"https://api.github.com/repos/teamduck/remoteremote/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamduck/remoteremote/downloads","issues_url":"https://api.github.com/repos/teamduck/remoteremote/issues{/number}","pulls_url":"https://api.github.com/repos/teamduck/remoteremote/pulls{/number}","milestones_url":"https://api.github.com/repos/teamduck/remoteremote/milestones{/number}","notifications_url":"https://api.github.com/repos/teamduck/remoteremote/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamduck/remoteremote/labels{/name}","releases_url":"https://api.github.com/repos/teamduck/remoteremote/releases{/id}","deployments_url":"https://api.github.com/repos/teamduck/remoteremote/deployments","created_at":"2013-02-28T21:02:35Z","updated_at":"2017-05-27T19:43:16Z","pushed_at":"2017-06-02T08:47:22Z","git_url":"git://github.com/teamduck/remoteremote.git","ssh_url":"git@github.com:teamduck/remoteremote.git","clone_url":"https://github.com/teamduck/remoteremote.git","svn_url":"https://github.com/teamduck/remoteremote","homepage":"","size":3904,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"teamduck:master","ref":"master","sha":"7c55b3609f8111de2b04db296c8d2e6a01ea5665","user":{"login":"teamduck","id":1081737,"avatar_url":"https://avatars2.githubusercontent.com/u/1081737?v=3","gravatar_id":"","url":"https://api.github.com/users/teamduck","html_url":"https://github.com/teamduck","followers_url":"https://api.github.com/users/teamduck/followers","following_url":"https://api.github.com/users/teamduck/following{/other_user}","gists_url":"https://api.github.com/users/teamduck/gists{/gist_id}","starred_url":"https://api.github.com/users/teamduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamduck/subscriptions","organizations_url":"https://api.github.com/users/teamduck/orgs","repos_url":"https://api.github.com/users/teamduck/repos","events_url":"https://api.github.com/users/teamduck/events{/privacy}","received_events_url":"https://api.github.com/users/teamduck/received_events","type":"Organization","site_admin":false},"repo":{"id":8488024,"name":"remoteremote","full_name":"teamduck/remoteremote","owner":{"login":"teamduck","id":1081737,"avatar_url":"https://avatars2.githubusercontent.com/u/1081737?v=3","gravatar_id":"","url":"https://api.github.com/users/teamduck","html_url":"https://github.com/teamduck","followers_url":"https://api.github.com/users/teamduck/followers","following_url":"https://api.github.com/users/teamduck/following{/other_user}","gists_url":"https://api.github.com/users/teamduck/gists{/gist_id}","starred_url":"https://api.github.com/users/teamduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamduck/subscriptions","organizations_url":"https://api.github.com/users/teamduck/orgs","repos_url":"https://api.github.com/users/teamduck/repos","events_url":"https://api.github.com/users/teamduck/events{/privacy}","received_events_url":"https://api.github.com/users/teamduck/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamduck/remoteremote","description":"YouTube video sharing web app","fork":false,"url":"https://api.github.com/repos/teamduck/remoteremote","forks_url":"https://api.github.com/repos/teamduck/remoteremote/forks","keys_url":"https://api.github.com/repos/teamduck/remoteremote/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamduck/remoteremote/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamduck/remoteremote/teams","hooks_url":"https://api.github.com/repos/teamduck/remoteremote/hooks","issue_events_url":"https://api.github.com/repos/teamduck/remoteremote/issues/events{/number}","events_url":"https://api.github.com/repos/teamduck/remoteremote/events","assignees_url":"https://api.github.com/repos/teamduck/remoteremote/assignees{/user}","branches_url":"https://api.github.com/repos/teamduck/remoteremote/branches{/branch}","tags_url":"https://api.github.com/repos/teamduck/remoteremote/tags","blobs_url":"https://api.github.com/repos/teamduck/remoteremote/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamduck/remoteremote/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamduck/remoteremote/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamduck/remoteremote/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamduck/remoteremote/statuses/{sha}","languages_url":"https://api.github.com/repos/teamduck/remoteremote/languages","stargazers_url":"https://api.github.com/repos/teamduck/remoteremote/stargazers","contributors_url":"https://api.github.com/repos/teamduck/remoteremote/contributors","subscribers_url":"https://api.github.com/repos/teamduck/remoteremote/subscribers","subscription_url":"https://api.github.com/repos/teamduck/remoteremote/subscription","commits_url":"https://api.github.com/repos/teamduck/remoteremote/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamduck/remoteremote/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamduck/remoteremote/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamduck/remoteremote/issues/comments{/number}","contents_url":"https://api.github.com/repos/teamduck/remoteremote/contents/{+path}","compare_url":"https://api.github.com/repos/teamduck/remoteremote/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamduck/remoteremote/merges","archive_url":"https://api.github.com/repos/teamduck/remoteremote/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamduck/remoteremote/downloads","issues_url":"https://api.github.com/repos/teamduck/remoteremote/issues{/number}","pulls_url":"https://api.github.com/repos/teamduck/remoteremote/pulls{/number}","milestones_url":"https://api.github.com/repos/teamduck/remoteremote/milestones{/number}","notifications_url":"https://api.github.com/repos/teamduck/remoteremote/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamduck/remoteremote/labels{/name}","releases_url":"https://api.github.com/repos/teamduck/remoteremote/releases{/id}","deployments_url":"https://api.github.com/repos/teamduck/remoteremote/deployments","created_at":"2013-02-28T21:02:35Z","updated_at":"2017-05-27T19:43:16Z","pushed_at":"2017-06-02T08:47:22Z","git_url":"git://github.com/teamduck/remoteremote.git","ssh_url":"git@github.com:teamduck/remoteremote.git","clone_url":"https://github.com/teamduck/remoteremote.git","svn_url":"https://github.com/teamduck/remoteremote","homepage":"","size":3904,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teamduck/remoteremote/pulls/12"},"html":{"href":"https://github.com/teamduck/remoteremote/pull/12"},"issue":{"href":"https://api.github.com/repos/teamduck/remoteremote/issues/12"},"comments":{"href":"https://api.github.com/repos/teamduck/remoteremote/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/teamduck/remoteremote/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/teamduck/remoteremote/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/teamduck/remoteremote/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/teamduck/remoteremote/statuses/5b869599796be36d39c2ed04b96cc5a70b9766f4"}}}}
{"actor":{"display_login":"youresam"}}