{"action":"created","comment":{"url":"https://api.github.com/repos/DougTy/concord/pulls/comments/213206352","pull_request_review_id":149991262,"id":213206352,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzIwNjM1Mg==","diff_hunk":"@@ -814,6 +814,22 @@ function playURL( url, msg )\n \t\t{\n \t\t\tqueryRemote( msg, url ).then( info =>\n \t\t\t\t{\n+\t\t\t\t\t//default to false\n+\t\t\t\t\tinfo.isLivestream = false\n+\n+\t\t\t\t\t//detect if livestream\n+\t\t\t\t\tif(info.length_seconds == \"0\" && info.streamurl.indexOf(\"yt_live_broadcast\") !== -1) {\n+\t\t\t\t\t\t//set a custom var for livestreams\n+\t\t\t\t\t\tinfo.isLivestream = true\n+\t\t\t\t\t\tinfo.length = \"LIVE\"","path":"plugins/audio.js","position":11,"original_position":11,"commit_id":"cffe210d46c648c9fc2afdbfa487ce700dc71e6e","original_commit_id":"cffe210d46c648c9fc2afdbfa487ce700dc71e6e","user":{"login":"DougTy","id":4277176,"node_id":"MDQ6VXNlcjQyNzcxNzY=","avatar_url":"https://avatars0.githubusercontent.com/u/4277176?v=4","gravatar_id":"","url":"https://api.github.com/users/DougTy","html_url":"https://github.com/DougTy","followers_url":"https://api.github.com/users/DougTy/followers","following_url":"https://api.github.com/users/DougTy/following{/other_user}","gists_url":"https://api.github.com/users/DougTy/gists{/gist_id}","starred_url":"https://api.github.com/users/DougTy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DougTy/subscriptions","organizations_url":"https://api.github.com/users/DougTy/orgs","repos_url":"https://api.github.com/users/DougTy/repos","events_url":"https://api.github.com/users/DougTy/events{/privacy}","received_events_url":"https://api.github.com/users/DougTy/received_events","type":"User","site_admin":false},"body":"single quote","created_at":"2018-08-28T07:16:59Z","updated_at":"2018-08-28T07:33:35Z","html_url":"https://github.com/DougTy/concord/pull/124#discussion_r213206352","pull_request_url":"https://api.github.com/repos/DougTy/concord/pulls/124","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/DougTy/concord/pulls/comments/213206352"},"html":{"href":"https://github.com/DougTy/concord/pull/124#discussion_r213206352"},"pull_request":{"href":"https://api.github.com/repos/DougTy/concord/pulls/124"}}},"pull_request":{"url":"https://api.github.com/repos/DougTy/concord/pulls/124","id":211320067,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMzIwMDY3","html_url":"https://github.com/DougTy/concord/pull/124","diff_url":"https://github.com/DougTy/concord/pull/124.diff","patch_url":"https://github.com/DougTy/concord/pull/124.patch","issue_url":"https://api.github.com/repos/DougTy/concord/issues/124","number":124,"state":"open","locked":false,"title":"Better livestream support","user":{"login":"linkjay","id":5216518,"node_id":"MDQ6VXNlcjUyMTY1MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/5216518?v=4","gravatar_id":"","url":"https://api.github.com/users/linkjay","html_url":"https://github.com/linkjay","followers_url":"https://api.github.com/users/linkjay/followers","following_url":"https://api.github.com/users/linkjay/following{/other_user}","gists_url":"https://api.github.com/users/linkjay/gists{/gist_id}","starred_url":"https://api.github.com/users/linkjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkjay/subscriptions","organizations_url":"https://api.github.com/users/linkjay/orgs","repos_url":"https://api.github.com/users/linkjay/repos","events_url":"https://api.github.com/users/linkjay/events{/privacy}","received_events_url":"https://api.github.com/users/linkjay/received_events","type":"User","site_admin":false},"body":"Various changes around to allow the audio module to work better with livestreams","created_at":"2018-08-28T06:59:37Z","updated_at":"2018-08-28T07:33:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee2a562b8469cddad5f6c1fdc54d53e302e4db8d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/DougTy/concord/pulls/124/commits","review_comments_url":"https://api.github.com/repos/DougTy/concord/pulls/124/comments","review_comment_url":"https://api.github.com/repos/DougTy/concord/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DougTy/concord/issues/124/comments","statuses_url":"https://api.github.com/repos/DougTy/concord/statuses/cffe210d46c648c9fc2afdbfa487ce700dc71e6e","head":{"label":"linkjay:live-pat","ref":"live-pat","sha":"cffe210d46c648c9fc2afdbfa487ce700dc71e6e","user":{"login":"linkjay","id":5216518,"node_id":"MDQ6VXNlcjUyMTY1MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/5216518?v=4","gravatar_id":"","url":"https://api.github.com/users/linkjay","html_url":"https://github.com/linkjay","followers_url":"https://api.github.com/users/linkjay/followers","following_url":"https://api.github.com/users/linkjay/following{/other_user}","gists_url":"https://api.github.com/users/linkjay/gists{/gist_id}","starred_url":"https://api.github.com/users/linkjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkjay/subscriptions","organizations_url":"https://api.github.com/users/linkjay/orgs","repos_url":"https://api.github.com/users/linkjay/repos","events_url":"https://api.github.com/users/linkjay/events{/privacy}","received_events_url":"https://api.github.com/users/linkjay/received_events","type":"User","site_admin":false},"repo":{"id":146165313,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYxNjUzMTM=","name":"concord","full_name":"linkjay/concord","owner":{"login":"linkjay","id":5216518,"node_id":"MDQ6VXNlcjUyMTY1MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/5216518?v=4","gravatar_id":"","url":"https://api.github.com/users/linkjay","html_url":"https://github.com/linkjay","followers_url":"https://api.github.com/users/linkjay/followers","following_url":"https://api.github.com/users/linkjay/following{/other_user}","gists_url":"https://api.github.com/users/linkjay/gists{/gist_id}","starred_url":"https://api.github.com/users/linkjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkjay/subscriptions","organizations_url":"https://api.github.com/users/linkjay/orgs","repos_url":"https://api.github.com/users/linkjay/repos","events_url":"https://api.github.com/users/linkjay/events{/privacy}","received_events_url":"https://api.github.com/users/linkjay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/linkjay/concord","description":"multifunctional node.js discord bot","fork":true,"url":"https://api.github.com/repos/linkjay/concord","forks_url":"https://api.github.com/repos/linkjay/concord/forks","keys_url":"https://api.github.com/repos/linkjay/concord/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linkjay/concord/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linkjay/concord/teams","hooks_url":"https://api.github.com/repos/linkjay/concord/hooks","issue_events_url":"https://api.github.com/repos/linkjay/concord/issues/events{/number}","events_url":"https://api.github.com/repos/linkjay/concord/events","assignees_url":"https://api.github.com/repos/linkjay/concord/assignees{/user}","branches_url":"https://api.github.com/repos/linkjay/concord/branches{/branch}","tags_url":"https://api.github.com/repos/linkjay/concord/tags","blobs_url":"https://api.github.com/repos/linkjay/concord/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linkjay/concord/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linkjay/concord/git/refs{/sha}","trees_url":"https://api.github.com/repos/linkjay/concord/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linkjay/concord/statuses/{sha}","languages_url":"https://api.github.com/repos/linkjay/concord/languages","stargazers_url":"https://api.github.com/repos/linkjay/concord/stargazers","contributors_url":"https://api.github.com/repos/linkjay/concord/contributors","subscribers_url":"https://api.github.com/repos/linkjay/concord/subscribers","subscription_url":"https://api.github.com/repos/linkjay/concord/subscription","commits_url":"https://api.github.com/repos/linkjay/concord/commits{/sha}","git_commits_url":"https://api.github.com/repos/linkjay/concord/git/commits{/sha}","comments_url":"https://api.github.com/repos/linkjay/concord/comments{/number}","issue_comment_url":"https://api.github.com/repos/linkjay/concord/issues/comments{/number}","contents_url":"https://api.github.com/repos/linkjay/concord/contents/{+path}","compare_url":"https://api.github.com/repos/linkjay/concord/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linkjay/concord/merges","archive_url":"https://api.github.com/repos/linkjay/concord/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linkjay/concord/downloads","issues_url":"https://api.github.com/repos/linkjay/concord/issues{/number}","pulls_url":"https://api.github.com/repos/linkjay/concord/pulls{/number}","milestones_url":"https://api.github.com/repos/linkjay/concord/milestones{/number}","notifications_url":"https://api.github.com/repos/linkjay/concord/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linkjay/concord/labels{/name}","releases_url":"https://api.github.com/repos/linkjay/concord/releases{/id}","deployments_url":"https://api.github.com/repos/linkjay/concord/deployments","created_at":"2018-08-26T08:48:09Z","updated_at":"2018-08-26T08:48:11Z","pushed_at":"2018-08-28T06:58:29Z","git_url":"git://github.com/linkjay/concord.git","ssh_url":"git@github.com:linkjay/concord.git","clone_url":"https://github.com/linkjay/concord.git","svn_url":"https://github.com/linkjay/concord","homepage":"","size":331,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DougTy:master","ref":"master","sha":"7e7afe06a8c46c3b72e461d16e4a3006fa4a1af9","user":{"login":"DougTy","id":4277176,"node_id":"MDQ6VXNlcjQyNzcxNzY=","avatar_url":"https://avatars0.githubusercontent.com/u/4277176?v=4","gravatar_id":"","url":"https://api.github.com/users/DougTy","html_url":"https://github.com/DougTy","followers_url":"https://api.github.com/users/DougTy/followers","following_url":"https://api.github.com/users/DougTy/following{/other_user}","gists_url":"https://api.github.com/users/DougTy/gists{/gist_id}","starred_url":"https://api.github.com/users/DougTy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DougTy/subscriptions","organizations_url":"https://api.github.com/users/DougTy/orgs","repos_url":"https://api.github.com/users/DougTy/repos","events_url":"https://api.github.com/users/DougTy/events{/privacy}","received_events_url":"https://api.github.com/users/DougTy/received_events","type":"User","site_admin":false},"repo":{"id":60776720,"node_id":"MDEwOlJlcG9zaXRvcnk2MDc3NjcyMA==","name":"concord","full_name":"DougTy/concord","owner":{"login":"DougTy","id":4277176,"node_id":"MDQ6VXNlcjQyNzcxNzY=","avatar_url":"https://avatars0.githubusercontent.com/u/4277176?v=4","gravatar_id":"","url":"https://api.github.com/users/DougTy","html_url":"https://github.com/DougTy","followers_url":"https://api.github.com/users/DougTy/followers","following_url":"https://api.github.com/users/DougTy/following{/other_user}","gists_url":"https://api.github.com/users/DougTy/gists{/gist_id}","starred_url":"https://api.github.com/users/DougTy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DougTy/subscriptions","organizations_url":"https://api.github.com/users/DougTy/orgs","repos_url":"https://api.github.com/users/DougTy/repos","events_url":"https://api.github.com/users/DougTy/events{/privacy}","received_events_url":"https://api.github.com/users/DougTy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DougTy/concord","description":"multifunctional node.js discord bot","fork":false,"url":"https://api.github.com/repos/DougTy/concord","forks_url":"https://api.github.com/repos/DougTy/concord/forks","keys_url":"https://api.github.com/repos/DougTy/concord/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DougTy/concord/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DougTy/concord/teams","hooks_url":"https://api.github.com/repos/DougTy/concord/hooks","issue_events_url":"https://api.github.com/repos/DougTy/concord/issues/events{/number}","events_url":"https://api.github.com/repos/DougTy/concord/events","assignees_url":"https://api.github.com/repos/DougTy/concord/assignees{/user}","branches_url":"https://api.github.com/repos/DougTy/concord/branches{/branch}","tags_url":"https://api.github.com/repos/DougTy/concord/tags","blobs_url":"https://api.github.com/repos/DougTy/concord/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DougTy/concord/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DougTy/concord/git/refs{/sha}","trees_url":"https://api.github.com/repos/DougTy/concord/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DougTy/concord/statuses/{sha}","languages_url":"https://api.github.com/repos/DougTy/concord/languages","stargazers_url":"https://api.github.com/repos/DougTy/concord/stargazers","contributors_url":"https://api.github.com/repos/DougTy/concord/contributors","subscribers_url":"https://api.github.com/repos/DougTy/concord/subscribers","subscription_url":"https://api.github.com/repos/DougTy/concord/subscription","commits_url":"https://api.github.com/repos/DougTy/concord/commits{/sha}","git_commits_url":"https://api.github.com/repos/DougTy/concord/git/commits{/sha}","comments_url":"https://api.github.com/repos/DougTy/concord/comments{/number}","issue_comment_url":"https://api.github.com/repos/DougTy/concord/issues/comments{/number}","contents_url":"https://api.github.com/repos/DougTy/concord/contents/{+path}","compare_url":"https://api.github.com/repos/DougTy/concord/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DougTy/concord/merges","archive_url":"https://api.github.com/repos/DougTy/concord/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DougTy/concord/downloads","issues_url":"https://api.github.com/repos/DougTy/concord/issues{/number}","pulls_url":"https://api.github.com/repos/DougTy/concord/pulls{/number}","milestones_url":"https://api.github.com/repos/DougTy/concord/milestones{/number}","notifications_url":"https://api.github.com/repos/DougTy/concord/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DougTy/concord/labels{/name}","releases_url":"https://api.github.com/repos/DougTy/concord/releases{/id}","deployments_url":"https://api.github.com/repos/DougTy/concord/deployments","created_at":"2016-06-09T13:26:00Z","updated_at":"2018-08-28T01:28:20Z","pushed_at":"2018-08-28T06:59:38Z","git_url":"git://github.com/DougTy/concord.git","ssh_url":"git@github.com:DougTy/concord.git","clone_url":"https://github.com/DougTy/concord.git","svn_url":"https://github.com/DougTy/concord","homepage":"","size":330,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3,"open_issues":45,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DougTy/concord/pulls/124"},"html":{"href":"https://github.com/DougTy/concord/pull/124"},"issue":{"href":"https://api.github.com/repos/DougTy/concord/issues/124"},"comments":{"href":"https://api.github.com/repos/DougTy/concord/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/DougTy/concord/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/DougTy/concord/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DougTy/concord/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/DougTy/concord/statuses/cffe210d46c648c9fc2afdbfa487ce700dc71e6e"}},"author_association":"NONE"}}
{"actor":{"display_login":"DougTy"}}