{"action":"created","comment":{"url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls/comments/192862076","pull_request_review_id":125719863,"id":192862076,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Mjg2MjA3Ng==","diff_hunk":"@@ -76,23 +85,34 @@\n \n           const myVideoSrc = document.getElementById('myVideoSrc');\n           let myVideo = document.getElementById('myVideo');\n-          let myVideoLastLink = '';\n+          let myImage = document.getElementById('myImage');\n           let myText = document.getElementById('myText');\n+          let myVideoLastLink = '';\n+\n           db.collection(\"huge_cast\").doc(\"cast_1\")\n             .onSnapshot(function(doc) {\n                 data = doc.data();\n                 console.log(\"Current data: \", data);\n-                if (data.type == 'text') {\n+                if (data.type === 'text') {\n                   myVideo.hidden = true;\n+                  myImage.hidden = true;\n                   document.body.style.backgroundColor = \"white\";\n                   myText.innerHTML = twemoji.parse(data.value);\n-                } else if (data.type == 'video') {\n+                } else if (data.type === 'video') {","path":"firebase/public/screens/index.html","position":51,"original_position":51,"commit_id":"f597b7f7658bede74d79a4abe633e822ad26bb5b","original_commit_id":"f597b7f7658bede74d79a4abe633e822ad26bb5b","user":{"login":"leviadler","id":6001902,"node_id":"MDQ6VXNlcjYwMDE5MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/6001902?v=4","gravatar_id":"","url":"https://api.github.com/users/leviadler","html_url":"https://github.com/leviadler","followers_url":"https://api.github.com/users/leviadler/followers","following_url":"https://api.github.com/users/leviadler/following{/other_user}","gists_url":"https://api.github.com/users/leviadler/gists{/gist_id}","starred_url":"https://api.github.com/users/leviadler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leviadler/subscriptions","organizations_url":"https://api.github.com/users/leviadler/orgs","repos_url":"https://api.github.com/users/leviadler/repos","events_url":"https://api.github.com/users/leviadler/events{/privacy}","received_events_url":"https://api.github.com/users/leviadler/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2018-06-04T19:58:44Z","updated_at":"2018-06-04T20:00:36Z","html_url":"https://github.com/eviltandem/raspberry-chromecast/pull/7#discussion_r192862076","pull_request_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls/7","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls/comments/192862076"},"html":{"href":"https://github.com/eviltandem/raspberry-chromecast/pull/7#discussion_r192862076"},"pull_request":{"href":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls/7","id":192511072,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNTExMDcy","html_url":"https://github.com/eviltandem/raspberry-chromecast/pull/7","diff_url":"https://github.com/eviltandem/raspberry-chromecast/pull/7.diff","patch_url":"https://github.com/eviltandem/raspberry-chromecast/pull/7.patch","issue_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/issues/7","number":7,"state":"open","locked":false,"title":"Develop","user":{"login":"TheLampshady","id":10135684,"node_id":"MDQ6VXNlcjEwMTM1Njg0","avatar_url":"https://avatars3.githubusercontent.com/u/10135684?v=4","gravatar_id":"","url":"https://api.github.com/users/TheLampshady","html_url":"https://github.com/TheLampshady","followers_url":"https://api.github.com/users/TheLampshady/followers","following_url":"https://api.github.com/users/TheLampshady/following{/other_user}","gists_url":"https://api.github.com/users/TheLampshady/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLampshady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLampshady/subscriptions","organizations_url":"https://api.github.com/users/TheLampshady/orgs","repos_url":"https://api.github.com/users/TheLampshady/repos","events_url":"https://api.github.com/users/TheLampshady/events{/privacy}","received_events_url":"https://api.github.com/users/TheLampshady/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-04T19:55:29Z","updated_at":"2018-06-04T20:00:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ec848195de29cdaf93c28d1f07425b350f3092f","assignee":null,"assignees":[],"requested_reviewers":[{"login":"eviltandem","id":1899248,"node_id":"MDQ6VXNlcjE4OTkyNDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1899248?v=4","gravatar_id":"","url":"https://api.github.com/users/eviltandem","html_url":"https://github.com/eviltandem","followers_url":"https://api.github.com/users/eviltandem/followers","following_url":"https://api.github.com/users/eviltandem/following{/other_user}","gists_url":"https://api.github.com/users/eviltandem/gists{/gist_id}","starred_url":"https://api.github.com/users/eviltandem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eviltandem/subscriptions","organizations_url":"https://api.github.com/users/eviltandem/orgs","repos_url":"https://api.github.com/users/eviltandem/repos","events_url":"https://api.github.com/users/eviltandem/events{/privacy}","received_events_url":"https://api.github.com/users/eviltandem/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls/7/commits","review_comments_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls/7/comments","review_comment_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/issues/7/comments","statuses_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/statuses/f597b7f7658bede74d79a4abe633e822ad26bb5b","head":{"label":"eviltandem:develop","ref":"develop","sha":"f597b7f7658bede74d79a4abe633e822ad26bb5b","user":{"login":"eviltandem","id":1899248,"node_id":"MDQ6VXNlcjE4OTkyNDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1899248?v=4","gravatar_id":"","url":"https://api.github.com/users/eviltandem","html_url":"https://github.com/eviltandem","followers_url":"https://api.github.com/users/eviltandem/followers","following_url":"https://api.github.com/users/eviltandem/following{/other_user}","gists_url":"https://api.github.com/users/eviltandem/gists{/gist_id}","starred_url":"https://api.github.com/users/eviltandem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eviltandem/subscriptions","organizations_url":"https://api.github.com/users/eviltandem/orgs","repos_url":"https://api.github.com/users/eviltandem/repos","events_url":"https://api.github.com/users/eviltandem/events{/privacy}","received_events_url":"https://api.github.com/users/eviltandem/received_events","type":"User","site_admin":false},"repo":{"id":132168515,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIxNjg1MTU=","name":"raspberry-chromecast","full_name":"eviltandem/raspberry-chromecast","owner":{"login":"eviltandem","id":1899248,"node_id":"MDQ6VXNlcjE4OTkyNDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1899248?v=4","gravatar_id":"","url":"https://api.github.com/users/eviltandem","html_url":"https://github.com/eviltandem","followers_url":"https://api.github.com/users/eviltandem/followers","following_url":"https://api.github.com/users/eviltandem/following{/other_user}","gists_url":"https://api.github.com/users/eviltandem/gists{/gist_id}","starred_url":"https://api.github.com/users/eviltandem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eviltandem/subscriptions","organizations_url":"https://api.github.com/users/eviltandem/orgs","repos_url":"https://api.github.com/users/eviltandem/repos","events_url":"https://api.github.com/users/eviltandem/events{/privacy}","received_events_url":"https://api.github.com/users/eviltandem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eviltandem/raspberry-chromecast","description":"Scripts for having a Raspberry Pi takeover chromecast screens","fork":false,"url":"https://api.github.com/repos/eviltandem/raspberry-chromecast","forks_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/forks","keys_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/teams","hooks_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/hooks","issue_events_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/issues/events{/number}","events_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/events","assignees_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/assignees{/user}","branches_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/branches{/branch}","tags_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/tags","blobs_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/git/refs{/sha}","trees_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/statuses/{sha}","languages_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/languages","stargazers_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/stargazers","contributors_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/contributors","subscribers_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/subscribers","subscription_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/subscription","commits_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/commits{/sha}","git_commits_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/git/commits{/sha}","comments_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/comments{/number}","issue_comment_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/issues/comments{/number}","contents_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/contents/{+path}","compare_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/merges","archive_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/downloads","issues_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/issues{/number}","pulls_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls{/number}","milestones_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/milestones{/number}","notifications_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/labels{/name}","releases_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/releases{/id}","deployments_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/deployments","created_at":"2018-05-04T17:15:40Z","updated_at":"2018-05-31T19:00:54Z","pushed_at":"2018-06-04T19:55:30Z","git_url":"git://github.com/eviltandem/raspberry-chromecast.git","ssh_url":"git@github.com:eviltandem/raspberry-chromecast.git","clone_url":"https://github.com/eviltandem/raspberry-chromecast.git","svn_url":"https://github.com/eviltandem/raspberry-chromecast","homepage":null,"size":236,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"eviltandem:master","ref":"master","sha":"319ae2d532d75e90121019878b5b74298a3c8123","user":{"login":"eviltandem","id":1899248,"node_id":"MDQ6VXNlcjE4OTkyNDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1899248?v=4","gravatar_id":"","url":"https://api.github.com/users/eviltandem","html_url":"https://github.com/eviltandem","followers_url":"https://api.github.com/users/eviltandem/followers","following_url":"https://api.github.com/users/eviltandem/following{/other_user}","gists_url":"https://api.github.com/users/eviltandem/gists{/gist_id}","starred_url":"https://api.github.com/users/eviltandem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eviltandem/subscriptions","organizations_url":"https://api.github.com/users/eviltandem/orgs","repos_url":"https://api.github.com/users/eviltandem/repos","events_url":"https://api.github.com/users/eviltandem/events{/privacy}","received_events_url":"https://api.github.com/users/eviltandem/received_events","type":"User","site_admin":false},"repo":{"id":132168515,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIxNjg1MTU=","name":"raspberry-chromecast","full_name":"eviltandem/raspberry-chromecast","owner":{"login":"eviltandem","id":1899248,"node_id":"MDQ6VXNlcjE4OTkyNDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1899248?v=4","gravatar_id":"","url":"https://api.github.com/users/eviltandem","html_url":"https://github.com/eviltandem","followers_url":"https://api.github.com/users/eviltandem/followers","following_url":"https://api.github.com/users/eviltandem/following{/other_user}","gists_url":"https://api.github.com/users/eviltandem/gists{/gist_id}","starred_url":"https://api.github.com/users/eviltandem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eviltandem/subscriptions","organizations_url":"https://api.github.com/users/eviltandem/orgs","repos_url":"https://api.github.com/users/eviltandem/repos","events_url":"https://api.github.com/users/eviltandem/events{/privacy}","received_events_url":"https://api.github.com/users/eviltandem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eviltandem/raspberry-chromecast","description":"Scripts for having a Raspberry Pi takeover chromecast screens","fork":false,"url":"https://api.github.com/repos/eviltandem/raspberry-chromecast","forks_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/forks","keys_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/teams","hooks_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/hooks","issue_events_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/issues/events{/number}","events_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/events","assignees_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/assignees{/user}","branches_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/branches{/branch}","tags_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/tags","blobs_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/git/refs{/sha}","trees_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/statuses/{sha}","languages_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/languages","stargazers_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/stargazers","contributors_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/contributors","subscribers_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/subscribers","subscription_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/subscription","commits_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/commits{/sha}","git_commits_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/git/commits{/sha}","comments_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/comments{/number}","issue_comment_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/issues/comments{/number}","contents_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/contents/{+path}","compare_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/merges","archive_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/downloads","issues_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/issues{/number}","pulls_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls{/number}","milestones_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/milestones{/number}","notifications_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/labels{/name}","releases_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/releases{/id}","deployments_url":"https://api.github.com/repos/eviltandem/raspberry-chromecast/deployments","created_at":"2018-05-04T17:15:40Z","updated_at":"2018-05-31T19:00:54Z","pushed_at":"2018-06-04T19:55:30Z","git_url":"git://github.com/eviltandem/raspberry-chromecast.git","ssh_url":"git@github.com:eviltandem/raspberry-chromecast.git","clone_url":"https://github.com/eviltandem/raspberry-chromecast.git","svn_url":"https://github.com/eviltandem/raspberry-chromecast","homepage":null,"size":236,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls/7"},"html":{"href":"https://github.com/eviltandem/raspberry-chromecast/pull/7"},"issue":{"href":"https://api.github.com/repos/eviltandem/raspberry-chromecast/issues/7"},"comments":{"href":"https://api.github.com/repos/eviltandem/raspberry-chromecast/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eviltandem/raspberry-chromecast/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/eviltandem/raspberry-chromecast/statuses/f597b7f7658bede74d79a4abe633e822ad26bb5b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"leviadler"}}