{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/28086085","id":28086085,"diff_hunk":"@@ -1095,7 +1095,8 @@ var PlayerView = {\n         // If we're within 1 second of the end of the song, register\n         // a timeout to skip to the next song one second after the song ends\n         if (this.audio.currentTime >= this.audio.duration - 1 &&\n-            this.endedTimer == null) {\n+            this.endedTimer == null &&\n+            this.playStatus !== PLAYSTATUS_PAUSED) {\n           var timeToNext = (this.audio.duration - this.audio.currentTime + 1);\n           this.endedTimer = setTimeout(function() {","path":"apps/music/js/ui/views/player_view.js","position":8,"original_position":8,"commit_id":"df6f08a5f617d623fec0deb613784e66b272cd67","original_commit_id":"df6f08a5f617d623fec0deb613784e66b272cd67","user":{"login":"jimporter","id":826865,"avatar_url":"https://avatars.githubusercontent.com/u/826865?v=3","gravatar_id":"","url":"https://api.github.com/users/jimporter","html_url":"https://github.com/jimporter","followers_url":"https://api.github.com/users/jimporter/followers","following_url":"https://api.github.com/users/jimporter/following{/other_user}","gists_url":"https://api.github.com/users/jimporter/gists{/gist_id}","starred_url":"https://api.github.com/users/jimporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimporter/subscriptions","organizations_url":"https://api.github.com/users/jimporter/orgs","repos_url":"https://api.github.com/users/jimporter/repos","events_url":"https://api.github.com/users/jimporter/events{/privacy}","received_events_url":"https://api.github.com/users/jimporter/received_events","type":"User","site_admin":false},"body":"I just flashed a build with all that code removed, and everything seems to work, including what you just mentioned.","created_at":"2015-04-09T18:00:05Z","updated_at":"2015-04-09T18:00:05Z","html_url":"https://github.com/mozilla-b2g/gaia/pull/29413#discussion_r28086085","pull_request_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29413","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/28086085"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/29413#discussion_r28086085"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29413"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29413","id":32923193,"html_url":"https://github.com/mozilla-b2g/gaia/pull/29413","diff_url":"https://github.com/mozilla-b2g/gaia/pull/29413.diff","patch_url":"https://github.com/mozilla-b2g/gaia/pull/29413.patch","issue_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/29413","number":29413,"state":"open","locked":false,"title":"Bug 1145758 - Don't go to next song if paused and at the end of the scrubber.","user":{"login":"hfiguiere","id":114441,"avatar_url":"https://avatars.githubusercontent.com/u/114441?v=3","gravatar_id":"","url":"https://api.github.com/users/hfiguiere","html_url":"https://github.com/hfiguiere","followers_url":"https://api.github.com/users/hfiguiere/followers","following_url":"https://api.github.com/users/hfiguiere/following{/other_user}","gists_url":"https://api.github.com/users/hfiguiere/gists{/gist_id}","starred_url":"https://api.github.com/users/hfiguiere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hfiguiere/subscriptions","organizations_url":"https://api.github.com/users/hfiguiere/orgs","repos_url":"https://api.github.com/users/hfiguiere/repos","events_url":"https://api.github.com/users/hfiguiere/events{/privacy}","received_events_url":"https://api.github.com/users/hfiguiere/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-09T03:52:14Z","updated_at":"2015-04-09T18:00:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"791102a5b7eb18e238240804ae5dd194e2944d19","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29413/commits","review_comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29413/comments","review_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/29413/comments","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/df6f08a5f617d623fec0deb613784e66b272cd67","head":{"label":"hfiguiere:bug1145758-scrubber-paused","ref":"bug1145758-scrubber-paused","sha":"df6f08a5f617d623fec0deb613784e66b272cd67","user":{"login":"hfiguiere","id":114441,"avatar_url":"https://avatars.githubusercontent.com/u/114441?v=3","gravatar_id":"","url":"https://api.github.com/users/hfiguiere","html_url":"https://github.com/hfiguiere","followers_url":"https://api.github.com/users/hfiguiere/followers","following_url":"https://api.github.com/users/hfiguiere/following{/other_user}","gists_url":"https://api.github.com/users/hfiguiere/gists{/gist_id}","starred_url":"https://api.github.com/users/hfiguiere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hfiguiere/subscriptions","organizations_url":"https://api.github.com/users/hfiguiere/orgs","repos_url":"https://api.github.com/users/hfiguiere/repos","events_url":"https://api.github.com/users/hfiguiere/events{/privacy}","received_events_url":"https://api.github.com/users/hfiguiere/received_events","type":"User","site_admin":false},"repo":{"id":3725377,"name":"gaia","full_name":"hfiguiere/gaia","owner":{"login":"hfiguiere","id":114441,"avatar_url":"https://avatars.githubusercontent.com/u/114441?v=3","gravatar_id":"","url":"https://api.github.com/users/hfiguiere","html_url":"https://github.com/hfiguiere","followers_url":"https://api.github.com/users/hfiguiere/followers","following_url":"https://api.github.com/users/hfiguiere/following{/other_user}","gists_url":"https://api.github.com/users/hfiguiere/gists{/gist_id}","starred_url":"https://api.github.com/users/hfiguiere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hfiguiere/subscriptions","organizations_url":"https://api.github.com/users/hfiguiere/orgs","repos_url":"https://api.github.com/users/hfiguiere/repos","events_url":"https://api.github.com/users/hfiguiere/events{/privacy}","received_events_url":"https://api.github.com/users/hfiguiere/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hfiguiere/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project","fork":true,"url":"https://api.github.com/repos/hfiguiere/gaia","forks_url":"https://api.github.com/repos/hfiguiere/gaia/forks","keys_url":"https://api.github.com/repos/hfiguiere/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hfiguiere/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hfiguiere/gaia/teams","hooks_url":"https://api.github.com/repos/hfiguiere/gaia/hooks","issue_events_url":"https://api.github.com/repos/hfiguiere/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/hfiguiere/gaia/events","assignees_url":"https://api.github.com/repos/hfiguiere/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/hfiguiere/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/hfiguiere/gaia/tags","blobs_url":"https://api.github.com/repos/hfiguiere/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hfiguiere/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hfiguiere/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/hfiguiere/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hfiguiere/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/hfiguiere/gaia/languages","stargazers_url":"https://api.github.com/repos/hfiguiere/gaia/stargazers","contributors_url":"https://api.github.com/repos/hfiguiere/gaia/contributors","subscribers_url":"https://api.github.com/repos/hfiguiere/gaia/subscribers","subscription_url":"https://api.github.com/repos/hfiguiere/gaia/subscription","commits_url":"https://api.github.com/repos/hfiguiere/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/hfiguiere/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/hfiguiere/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/hfiguiere/gaia/issues/comments{/number}","contents_url":"https://api.github.com/repos/hfiguiere/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/hfiguiere/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hfiguiere/gaia/merges","archive_url":"https://api.github.com/repos/hfiguiere/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hfiguiere/gaia/downloads","issues_url":"https://api.github.com/repos/hfiguiere/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/hfiguiere/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/hfiguiere/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/hfiguiere/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hfiguiere/gaia/labels{/name}","releases_url":"https://api.github.com/repos/hfiguiere/gaia/releases{/id}","created_at":"2012-03-15T05:01:26Z","updated_at":"2014-07-14T22:52:32Z","pushed_at":"2015-04-09T03:51:53Z","git_url":"git://github.com/hfiguiere/gaia.git","ssh_url":"git@github.com:hfiguiere/gaia.git","clone_url":"https://github.com/hfiguiere/gaia.git","svn_url":"https://github.com/hfiguiere/gaia","homepage":"https://wiki.mozilla.org/B2G","size":875641,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"mozilla-b2g:master","ref":"master","sha":"cdf52760998d3c4c8573790de7a4bf5c0068ec7f","user":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"repo":{"id":2317369,"name":"gaia","full_name":"mozilla-b2g/gaia","owner":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-b2g/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see","fork":false,"url":"https://api.github.com/repos/mozilla-b2g/gaia","forks_url":"https://api.github.com/repos/mozilla-b2g/gaia/forks","keys_url":"https://api.github.com/repos/mozilla-b2g/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-b2g/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-b2g/gaia/teams","hooks_url":"https://api.github.com/repos/mozilla-b2g/gaia/hooks","issue_events_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-b2g/gaia/events","assignees_url":"https://api.github.com/repos/mozilla-b2g/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-b2g/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/tags","blobs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-b2g/gaia/languages","stargazers_url":"https://api.github.com/repos/mozilla-b2g/gaia/stargazers","contributors_url":"https://api.github.com/repos/mozilla-b2g/gaia/contributors","subscribers_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscribers","subscription_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscription","commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-b2g/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-b2g/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-b2g/gaia/merges","archive_url":"https://api.github.com/repos/mozilla-b2g/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-b2g/gaia/downloads","issues_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-b2g/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-b2g/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-b2g/gaia/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-b2g/gaia/releases{/id}","created_at":"2011-09-03T01:38:46Z","updated_at":"2015-04-09T17:44:43Z","pushed_at":"2015-04-09T17:44:42Z","git_url":"git://github.com/mozilla-b2g/gaia.git","ssh_url":"git@github.com:mozilla-b2g/gaia.git","clone_url":"https://github.com/mozilla-b2g/gaia.git","svn_url":"https://github.com/mozilla-b2g/gaia","homepage":"https://wiki.mozilla.org/B2G","size":1488932,"stargazers_count":1904,"watchers_count":1904,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2266,"mirror_url":null,"open_issues_count":953,"forks":2266,"open_issues":953,"watchers":1904,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29413"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/29413"},"issue":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/29413"},"comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/29413/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29413/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29413/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/df6f08a5f617d623fec0deb613784e66b272cd67"}}}}