{"action":"created","comment":{"url":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls/comments/57811096","id":57811096,"diff_hunk":"@@ -366,7 +333,15 @@ export default class MasterPlaylistController extends videojs.EventTarget {\n   useAudio(label) {\n     let audioEntry;\n     let newAudioPlaylistLoader;\n-    let mediaGroupName = this.masterPlaylistLoader_.media().attributes.AUDIO;\n+    let mediaGroupName;\n+    let media = this.masterPlaylistLoader_.media();\n+\n+    if (!media.attributes) {\n+      // source URL was playlist manifest, not master\n+      return;\n+    }\n+\n+    mediaGroupName = this.masterPlaylistLoader_.media().attributes.AUDIO;","path":"src/master-playlist-controller.js","position":67,"original_position":67,"commit_id":"6e81cbe78d22596ab8ddd0ecb31621ee8399a94b","original_commit_id":"6e81cbe78d22596ab8ddd0ecb31621ee8399a94b","user":{"login":"gesinger","id":356726,"avatar_url":"https://avatars.githubusercontent.com/u/356726?v=3","gravatar_id":"","url":"https://api.github.com/users/gesinger","html_url":"https://github.com/gesinger","followers_url":"https://api.github.com/users/gesinger/followers","following_url":"https://api.github.com/users/gesinger/following{/other_user}","gists_url":"https://api.github.com/users/gesinger/gists{/gist_id}","starred_url":"https://api.github.com/users/gesinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gesinger/subscriptions","organizations_url":"https://api.github.com/users/gesinger/orgs","repos_url":"https://api.github.com/users/gesinger/repos","events_url":"https://api.github.com/users/gesinger/events{/privacy}","received_events_url":"https://api.github.com/users/gesinger/received_events","type":"User","site_admin":false},"body":"Nice catch. Will do.","created_at":"2016-03-29T22:22:39Z","updated_at":"2016-03-29T22:22:39Z","html_url":"https://github.com/videojs/videojs-contrib-hls/pull/619#discussion_r57811096","pull_request_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls/619","_links":{"self":{"href":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls/comments/57811096"},"html":{"href":"https://github.com/videojs/videojs-contrib-hls/pull/619#discussion_r57811096"},"pull_request":{"href":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls/619"}}},"pull_request":{"url":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls/619","id":64354425,"html_url":"https://github.com/videojs/videojs-contrib-hls/pull/619","diff_url":"https://github.com/videojs/videojs-contrib-hls/pull/619.diff","patch_url":"https://github.com/videojs/videojs-contrib-hls/pull/619.patch","issue_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/619","number":619,"state":"open","locked":false,"title":"Wip alt audio combined test fixes","user":{"login":"gesinger","id":356726,"avatar_url":"https://avatars.githubusercontent.com/u/356726?v=3","gravatar_id":"","url":"https://api.github.com/users/gesinger","html_url":"https://github.com/gesinger","followers_url":"https://api.github.com/users/gesinger/followers","following_url":"https://api.github.com/users/gesinger/following{/other_user}","gists_url":"https://api.github.com/users/gesinger/gists{/gist_id}","starred_url":"https://api.github.com/users/gesinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gesinger/subscriptions","organizations_url":"https://api.github.com/users/gesinger/orgs","repos_url":"https://api.github.com/users/gesinger/repos","events_url":"https://api.github.com/users/gesinger/events{/privacy}","received_events_url":"https://api.github.com/users/gesinger/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-28T18:25:51Z","updated_at":"2016-03-29T22:22:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce03cabfcd8f307afb1db6ca6f195428bd53797e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls/619/commits","review_comments_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls/619/comments","review_comment_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls/comments{/number}","comments_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/619/comments","statuses_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/statuses/6e81cbe78d22596ab8ddd0ecb31621ee8399a94b","head":{"label":"gesinger:wip-alt-audio-combined-test-fixes","ref":"wip-alt-audio-combined-test-fixes","sha":"6e81cbe78d22596ab8ddd0ecb31621ee8399a94b","user":{"login":"gesinger","id":356726,"avatar_url":"https://avatars.githubusercontent.com/u/356726?v=3","gravatar_id":"","url":"https://api.github.com/users/gesinger","html_url":"https://github.com/gesinger","followers_url":"https://api.github.com/users/gesinger/followers","following_url":"https://api.github.com/users/gesinger/following{/other_user}","gists_url":"https://api.github.com/users/gesinger/gists{/gist_id}","starred_url":"https://api.github.com/users/gesinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gesinger/subscriptions","organizations_url":"https://api.github.com/users/gesinger/orgs","repos_url":"https://api.github.com/users/gesinger/repos","events_url":"https://api.github.com/users/gesinger/events{/privacy}","received_events_url":"https://api.github.com/users/gesinger/received_events","type":"User","site_admin":false},"repo":{"id":49451278,"name":"videojs-contrib-hls","full_name":"gesinger/videojs-contrib-hls","owner":{"login":"gesinger","id":356726,"avatar_url":"https://avatars.githubusercontent.com/u/356726?v=3","gravatar_id":"","url":"https://api.github.com/users/gesinger","html_url":"https://github.com/gesinger","followers_url":"https://api.github.com/users/gesinger/followers","following_url":"https://api.github.com/users/gesinger/following{/other_user}","gists_url":"https://api.github.com/users/gesinger/gists{/gist_id}","starred_url":"https://api.github.com/users/gesinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gesinger/subscriptions","organizations_url":"https://api.github.com/users/gesinger/orgs","repos_url":"https://api.github.com/users/gesinger/repos","events_url":"https://api.github.com/users/gesinger/events{/privacy}","received_events_url":"https://api.github.com/users/gesinger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gesinger/videojs-contrib-hls","description":"HLS library for video.js","fork":true,"url":"https://api.github.com/repos/gesinger/videojs-contrib-hls","forks_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/forks","keys_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/teams","hooks_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/hooks","issue_events_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/issues/events{/number}","events_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/events","assignees_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/assignees{/user}","branches_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/branches{/branch}","tags_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/tags","blobs_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/git/refs{/sha}","trees_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/statuses/{sha}","languages_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/languages","stargazers_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/stargazers","contributors_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/contributors","subscribers_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/subscribers","subscription_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/subscription","commits_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/commits{/sha}","git_commits_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/git/commits{/sha}","comments_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/comments{/number}","issue_comment_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/issues/comments{/number}","contents_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/contents/{+path}","compare_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/merges","archive_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/downloads","issues_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/issues{/number}","pulls_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/pulls{/number}","milestones_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/milestones{/number}","notifications_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/labels{/name}","releases_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/releases{/id}","deployments_url":"https://api.github.com/repos/gesinger/videojs-contrib-hls/deployments","created_at":"2016-01-11T20:07:30Z","updated_at":"2016-01-11T20:07:32Z","pushed_at":"2016-03-29T21:36:59Z","git_url":"git://github.com/gesinger/videojs-contrib-hls.git","ssh_url":"git@github.com:gesinger/videojs-contrib-hls.git","clone_url":"https://github.com/gesinger/videojs-contrib-hls.git","svn_url":"https://github.com/gesinger/videojs-contrib-hls","homepage":"http://videojs.github.io/videojs-contrib-hls/","size":14798,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"videojs:development","ref":"development","sha":"162a30f654142f6364fef88d951218097f857f59","user":{"login":"videojs","id":3287189,"avatar_url":"https://avatars.githubusercontent.com/u/3287189?v=3","gravatar_id":"","url":"https://api.github.com/users/videojs","html_url":"https://github.com/videojs","followers_url":"https://api.github.com/users/videojs/followers","following_url":"https://api.github.com/users/videojs/following{/other_user}","gists_url":"https://api.github.com/users/videojs/gists{/gist_id}","starred_url":"https://api.github.com/users/videojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/videojs/subscriptions","organizations_url":"https://api.github.com/users/videojs/orgs","repos_url":"https://api.github.com/users/videojs/repos","events_url":"https://api.github.com/users/videojs/events{/privacy}","received_events_url":"https://api.github.com/users/videojs/received_events","type":"Organization","site_admin":false},"repo":{"id":14029328,"name":"videojs-contrib-hls","full_name":"videojs/videojs-contrib-hls","owner":{"login":"videojs","id":3287189,"avatar_url":"https://avatars.githubusercontent.com/u/3287189?v=3","gravatar_id":"","url":"https://api.github.com/users/videojs","html_url":"https://github.com/videojs","followers_url":"https://api.github.com/users/videojs/followers","following_url":"https://api.github.com/users/videojs/following{/other_user}","gists_url":"https://api.github.com/users/videojs/gists{/gist_id}","starred_url":"https://api.github.com/users/videojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/videojs/subscriptions","organizations_url":"https://api.github.com/users/videojs/orgs","repos_url":"https://api.github.com/users/videojs/repos","events_url":"https://api.github.com/users/videojs/events{/privacy}","received_events_url":"https://api.github.com/users/videojs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/videojs/videojs-contrib-hls","description":"HLS library for video.js","fork":false,"url":"https://api.github.com/repos/videojs/videojs-contrib-hls","forks_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/forks","keys_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/teams","hooks_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/hooks","issue_events_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/events{/number}","events_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/events","assignees_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/assignees{/user}","branches_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/branches{/branch}","tags_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/tags","blobs_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/git/refs{/sha}","trees_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/statuses/{sha}","languages_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/languages","stargazers_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/stargazers","contributors_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/contributors","subscribers_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/subscribers","subscription_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/subscription","commits_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/commits{/sha}","git_commits_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/git/commits{/sha}","comments_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/comments{/number}","issue_comment_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/comments{/number}","contents_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/contents/{+path}","compare_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/merges","archive_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/downloads","issues_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues{/number}","pulls_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls{/number}","milestones_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/milestones{/number}","notifications_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/labels{/name}","releases_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/releases{/id}","deployments_url":"https://api.github.com/repos/videojs/videojs-contrib-hls/deployments","created_at":"2013-10-31T21:55:21Z","updated_at":"2016-03-29T12:25:53Z","pushed_at":"2016-03-29T21:37:16Z","git_url":"git://github.com/videojs/videojs-contrib-hls.git","ssh_url":"git@github.com:videojs/videojs-contrib-hls.git","clone_url":"https://github.com/videojs/videojs-contrib-hls.git","svn_url":"https://github.com/videojs/videojs-contrib-hls","homepage":"http://videojs.github.io/videojs-contrib-hls/","size":23789,"stargazers_count":525,"watchers_count":525,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":272,"mirror_url":null,"open_issues_count":117,"forks":272,"open_issues":117,"watchers":525,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls/619"},"html":{"href":"https://github.com/videojs/videojs-contrib-hls/pull/619"},"issue":{"href":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/619"},"comments":{"href":"https://api.github.com/repos/videojs/videojs-contrib-hls/issues/619/comments"},"review_comments":{"href":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls/619/comments"},"review_comment":{"href":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/videojs/videojs-contrib-hls/pulls/619/commits"},"statuses":{"href":"https://api.github.com/repos/videojs/videojs-contrib-hls/statuses/6e81cbe78d22596ab8ddd0ecb31621ee8399a94b"}}}}