{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/9233","repository_url":"https://api.github.com/repos/xbmc/xbmc","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/9233/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/9233/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/9233/events","html_url":"https://github.com/xbmc/xbmc/pull/9233","id":137057499,"number":9233,"title":"[EPG] Notify observers on epg updates","user":{"login":"ksooo","id":3226626,"avatar_url":"https://avatars.githubusercontent.com/u/3226626?v=3","gravatar_id":"","url":"https://api.github.com/users/ksooo","html_url":"https://github.com/ksooo","followers_url":"https://api.github.com/users/ksooo/followers","following_url":"https://api.github.com/users/ksooo/following{/other_user}","gists_url":"https://api.github.com/users/ksooo/gists{/gist_id}","starred_url":"https://api.github.com/users/ksooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksooo/subscriptions","organizations_url":"https://api.github.com/users/ksooo/orgs","repos_url":"https://api.github.com/users/ksooo/repos","events_url":"https://api.github.com/users/ksooo/events{/privacy}","received_events_url":"https://api.github.com/users/ksooo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Fix","name":"Fix","color":"0b02e1"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Krypton","name":"Krypton","color":"fbca04"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/PVR","name":"PVR","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/xbmc/xbmc/milestones/74","html_url":"https://github.com/xbmc/xbmc/milestones/Krypton%2017.0-alpha1","labels_url":"https://api.github.com/repos/xbmc/xbmc/milestones/74/labels","id":1444499,"number":74,"title":"Krypton 17.0-alpha1","description":"","creator":{"login":"MartijnKaijser","id":907436,"avatar_url":"https://avatars.githubusercontent.com/u/907436?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnKaijser","html_url":"https://github.com/MartijnKaijser","followers_url":"https://api.github.com/users/MartijnKaijser/followers","following_url":"https://api.github.com/users/MartijnKaijser/following{/other_user}","gists_url":"https://api.github.com/users/MartijnKaijser/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnKaijser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnKaijser/subscriptions","organizations_url":"https://api.github.com/users/MartijnKaijser/orgs","repos_url":"https://api.github.com/users/MartijnKaijser/repos","events_url":"https://api.github.com/users/MartijnKaijser/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnKaijser/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":498,"state":"open","created_at":"2015-12-04T16:31:06Z","updated_at":"2016-02-28T14:16:59Z","due_on":"2016-02-28T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-02-28T14:16:59Z","updated_at":"2016-02-28T15:08:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/9233","html_url":"https://github.com/xbmc/xbmc/pull/9233","diff_url":"https://github.com/xbmc/xbmc/pull/9233.diff","patch_url":"https://github.com/xbmc/xbmc/pull/9233.patch"},"body":"We need to notify observers whenever an event is inserted in/removed from EPG. This is very important for async epg data transfer PVR API 5.0.0 feature. Otherwise, if you for instance open the TV Guide window very early after kodi startup it will initially show no/only a few epg events and only refresh if kodi pulls(!) next time for epg data (which can be quite a long time interval). With this change, PVR windows (Guide, Channels, ...) update it content \"live\", as soon as async epg data arrive. \r\n\r\nBTW: Although one could suspect that the many <code>NotifyObserver</code> calls would have negative impact, runtime testing did not reveal any noticeable performance changes.\r\n\r\n@xhaggi mind taking a look. "},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/189889095","html_url":"https://github.com/xbmc/xbmc/pull/9233#issuecomment-189889095","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/9233","id":189889095,"user":{"login":"ksooo","id":3226626,"avatar_url":"https://avatars.githubusercontent.com/u/3226626?v=3","gravatar_id":"","url":"https://api.github.com/users/ksooo","html_url":"https://github.com/ksooo","followers_url":"https://api.github.com/users/ksooo/followers","following_url":"https://api.github.com/users/ksooo/following{/other_user}","gists_url":"https://api.github.com/users/ksooo/gists{/gist_id}","starred_url":"https://api.github.com/users/ksooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksooo/subscriptions","organizations_url":"https://api.github.com/users/ksooo/orgs","repos_url":"https://api.github.com/users/ksooo/repos","events_url":"https://api.github.com/users/ksooo/events{/privacy}","received_events_url":"https://api.github.com/users/ksooo/received_events","type":"User","site_admin":false},"created_at":"2016-02-28T15:08:49Z","updated_at":"2016-02-28T15:08:49Z","body":"jenkins build this please"}}