{"action":"created","issue":{"url":"https://api.github.com/repos/jwplayer/hls.js/issues/168","repository_url":"https://api.github.com/repos/jwplayer/hls.js","labels_url":"https://api.github.com/repos/jwplayer/hls.js/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/jwplayer/hls.js/issues/168/comments","events_url":"https://api.github.com/repos/jwplayer/hls.js/issues/168/events","html_url":"https://github.com/jwplayer/hls.js/pull/168","id":350594893,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NDA4MjI4","number":168,"title":"Clear 608 tracks on onSubtitleTracksCleared ","user":{"login":"johnBartos","id":5042276,"node_id":"MDQ6VXNlcjUwNDIyNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/5042276?v=4","gravatar_id":"","url":"https://api.github.com/users/johnBartos","html_url":"https://github.com/johnBartos","followers_url":"https://api.github.com/users/johnBartos/followers","following_url":"https://api.github.com/users/johnBartos/following{/other_user}","gists_url":"https://api.github.com/users/johnBartos/gists{/gist_id}","starred_url":"https://api.github.com/users/johnBartos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnBartos/subscriptions","organizations_url":"https://api.github.com/users/johnBartos/orgs","repos_url":"https://api.github.com/users/johnBartos/repos","events_url":"https://api.github.com/users/johnBartos/events{/privacy}","received_events_url":"https://api.github.com/users/johnBartos/received_events","type":"User","site_admin":false},"labels":[{"id":466355317,"node_id":"MDU6TGFiZWw0NjYzNTUzMTc=","url":"https://api.github.com/repos/jwplayer/hls.js/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jwplayer/hls.js/milestones/32","html_url":"https://github.com/jwplayer/hls.js/milestone/32","labels_url":"https://api.github.com/repos/jwplayer/hls.js/milestones/32/labels","id":3504183,"node_id":"MDk6TWlsZXN0b25lMzUwNDE4Mw==","number":32,"title":"8.5.0","description":null,"creator":{"login":"johnBartos","id":5042276,"node_id":"MDQ6VXNlcjUwNDIyNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/5042276?v=4","gravatar_id":"","url":"https://api.github.com/users/johnBartos","html_url":"https://github.com/johnBartos","followers_url":"https://api.github.com/users/johnBartos/followers","following_url":"https://api.github.com/users/johnBartos/following{/other_user}","gists_url":"https://api.github.com/users/johnBartos/gists{/gist_id}","starred_url":"https://api.github.com/users/johnBartos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnBartos/subscriptions","organizations_url":"https://api.github.com/users/johnBartos/orgs","repos_url":"https://api.github.com/users/johnBartos/repos","events_url":"https://api.github.com/users/johnBartos/events{/privacy}","received_events_url":"https://api.github.com/users/johnBartos/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2018-07-17T22:38:12Z","updated_at":"2018-08-14T20:57:07Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-08-14T20:57:07Z","updated_at":"2018-08-14T21:53:36Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/jwplayer/hls.js/pulls/168","html_url":"https://github.com/jwplayer/hls.js/pull/168","diff_url":"https://github.com/jwplayer/hls.js/pull/168.diff","patch_url":"https://github.com/jwplayer/hls.js/pull/168.patch"},"body":"### Why is this Pull Request needed?\r\nSo that when a paused livestream is resumed, it re-emits the `NON_NATIVE_TEXT_TRACKS_FOUND` event; if tracks aren't cleared, they're re-used internally and not re-emitted. We clear the tracks in the tracks-mixin so we shouldn't reuse them anyway.\r\n\r\n### Are there any points in the code the reviewer needs to double check?\r\nShould I rename the `onSubtitleTracksCleared` event to `onTracksCleared` events to encompass subtitles and captions?\r\n\r\n### Resolves issues:\r\nJW8-1701\r\n\r\n\r\nhttps://github.com/jwplayer/jwplayer-commercial/pull/5578"},"comment":{"url":"https://api.github.com/repos/jwplayer/hls.js/issues/comments/413028565","html_url":"https://github.com/jwplayer/hls.js/pull/168#issuecomment-413028565","issue_url":"https://api.github.com/repos/jwplayer/hls.js/issues/168","id":413028565,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzAyODU2NQ==","user":{"login":"johnBartos","id":5042276,"node_id":"MDQ6VXNlcjUwNDIyNzY=","avatar_url":"https://avatars1.githubusercontent.com/u/5042276?v=4","gravatar_id":"","url":"https://api.github.com/users/johnBartos","html_url":"https://github.com/johnBartos","followers_url":"https://api.github.com/users/johnBartos/followers","following_url":"https://api.github.com/users/johnBartos/following{/other_user}","gists_url":"https://api.github.com/users/johnBartos/gists{/gist_id}","starred_url":"https://api.github.com/users/johnBartos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnBartos/subscriptions","organizations_url":"https://api.github.com/users/johnBartos/orgs","repos_url":"https://api.github.com/users/johnBartos/repos","events_url":"https://api.github.com/users/johnBartos/events{/privacy}","received_events_url":"https://api.github.com/users/johnBartos/received_events","type":"User","site_admin":false},"created_at":"2018-08-14T21:53:36Z","updated_at":"2018-08-14T21:53:36Z","author_association":"MEMBER","body":"test this please"}}
{"actor":{"display_login":"johnBartos"}}