{"action":"opened","issue":{"url":"https://api.github.com/repos/david-sabata/web-scrobbler/issues/757","labels_url":"https://api.github.com/repos/david-sabata/web-scrobbler/issues/757/labels{/name}","comments_url":"https://api.github.com/repos/david-sabata/web-scrobbler/issues/757/comments","events_url":"https://api.github.com/repos/david-sabata/web-scrobbler/issues/757/events","html_url":"https://github.com/david-sabata/web-scrobbler/issues/757","id":104887504,"number":757,"title":"Youtube 'page' change scrobble error","user":{"login":"janbaykara","id":237556,"avatar_url":"https://avatars.githubusercontent.com/u/237556?v=3","gravatar_id":"","url":"https://api.github.com/users/janbaykara","html_url":"https://github.com/janbaykara","followers_url":"https://api.github.com/users/janbaykara/followers","following_url":"https://api.github.com/users/janbaykara/following{/other_user}","gists_url":"https://api.github.com/users/janbaykara/gists{/gist_id}","starred_url":"https://api.github.com/users/janbaykara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janbaykara/subscriptions","organizations_url":"https://api.github.com/users/janbaykara/orgs","repos_url":"https://api.github.com/users/janbaykara/repos","events_url":"https://api.github.com/users/janbaykara/events{/privacy}","received_events_url":"https://api.github.com/users/janbaykara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-04T13:08:52Z","updated_at":"2015-09-04T13:08:52Z","closed_at":null,"body":"When the playing Youtube video changes, or navigation occurs, the extension sometimes hangs up in the backend. I imagine this has something to do with capturing the HTML5 history state of the page, but it means that often a silent error prevents scrobbling, fixable only by a page refresh (that the user probably wouldn't expect to have to do.)\r\n\r\n> `error in event handler for runtime.onMessage: TypeError: Cannot read property 'onStateChanged' of undefined\r\n    at chrome-extension://achhfabcnpilepjnpedafpakffnfpple/core/background/main.js:145:9handler @ extensions::uncaught_exception_handler:8\r\n2015-09-04 13:38:43.323 main.js:97 Missing controller for tab 476 (should only happen for legacy connector)`\r\n\r\n![screenshot 2015-09-04 14 06 19](https://cloud.githubusercontent.com/assets/237556/9684248/31c02186-530e-11e5-9f21-69639420a0b7.png)"}}