{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/6684","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/6684/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/6684/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/6684/events","html_url":"https://github.com/xbmc/xbmc/pull/6684","id":60589930,"number":6684,"title":"[pvr] various optimisations and fixes for CPVRChannelGroup","user":{"login":"opdenkamp","id":441806,"avatar_url":"https://avatars.githubusercontent.com/u/441806?v=3","gravatar_id":"","url":"https://api.github.com/users/opdenkamp","html_url":"https://github.com/opdenkamp","followers_url":"https://api.github.com/users/opdenkamp/followers","following_url":"https://api.github.com/users/opdenkamp/following{/other_user}","gists_url":"https://api.github.com/users/opdenkamp/gists{/gist_id}","starred_url":"https://api.github.com/users/opdenkamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opdenkamp/subscriptions","organizations_url":"https://api.github.com/users/opdenkamp/orgs","repos_url":"https://api.github.com/users/opdenkamp/repos","events_url":"https://api.github.com/users/opdenkamp/events{/privacy}","received_events_url":"https://api.github.com/users/opdenkamp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Fix","name":"Fix","color":"02e10c"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/I*****","name":"I*****","color":"207de5"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Improvement","name":"Improvement","color":"0b02e1"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/PVR","name":"PVR","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/xbmc/xbmc/milestones/58","html_url":"https://github.com/xbmc/xbmc/milestones/I*******%2015.0-alpha2","labels_url":"https://api.github.com/repos/xbmc/xbmc/milestones/58/labels","id":946522,"number":58,"title":"I******* 15.0-alpha2","description":"","creator":{"login":"Montellese","id":75864,"avatar_url":"https://avatars.githubusercontent.com/u/75864?v=3","gravatar_id":"","url":"https://api.github.com/users/Montellese","html_url":"https://github.com/Montellese","followers_url":"https://api.github.com/users/Montellese/followers","following_url":"https://api.github.com/users/Montellese/following{/other_user}","gists_url":"https://api.github.com/users/Montellese/gists{/gist_id}","starred_url":"https://api.github.com/users/Montellese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Montellese/subscriptions","organizations_url":"https://api.github.com/users/Montellese/orgs","repos_url":"https://api.github.com/users/Montellese/repos","events_url":"https://api.github.com/users/Montellese/events{/privacy}","received_events_url":"https://api.github.com/users/Montellese/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":127,"state":"open","created_at":"2015-01-22T07:34:16Z","updated_at":"2015-03-13T15:54:33Z","due_on":"2015-03-30T22:00:00Z","closed_at":null},"comments":7,"created_at":"2015-03-11T00:04:18Z","updated_at":"2015-03-13T20:43:30Z","closed_at":"2015-03-12T07:41:59Z","pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/6684","html_url":"https://github.com/xbmc/xbmc/pull/6684","diff_url":"https://github.com/xbmc/xbmc/pull/6684.diff","patch_url":"https://github.com/xbmc/xbmc/pull/6684.patch"},"body":"* use a vector sorted by channel number and a map with the client id+unique id as key for accessing channels in a group, and use the latter one where possible\r\n* changed channel vfs paths to use the client id+unique id instead of using the group position, so we don't have to write all channels each time the group changes, and so we can use the sorted map rather than an iterator over the whole group when searching for a channel\r\n* removed dead code\r\n* fix crash caused by https://github.com/xbmc/xbmc/pull/6635\r\n* various small optimisations (const, `empty()` instead of `size() > 0`, that sort of things)"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/79369448","html_url":"https://github.com/xbmc/xbmc/pull/6684#issuecomment-79369448","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/6684","id":79369448,"user":{"login":"bkuhls","id":6279926,"avatar_url":"https://avatars.githubusercontent.com/u/6279926?v=3","gravatar_id":"","url":"https://api.github.com/users/bkuhls","html_url":"https://github.com/bkuhls","followers_url":"https://api.github.com/users/bkuhls/followers","following_url":"https://api.github.com/users/bkuhls/following{/other_user}","gists_url":"https://api.github.com/users/bkuhls/gists{/gist_id}","starred_url":"https://api.github.com/users/bkuhls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkuhls/subscriptions","organizations_url":"https://api.github.com/users/bkuhls/orgs","repos_url":"https://api.github.com/users/bkuhls/repos","events_url":"https://api.github.com/users/bkuhls/events{/privacy}","received_events_url":"https://api.github.com/users/bkuhls/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T20:43:30Z","updated_at":"2015-03-13T20:43:30Z","body":"Using https://github.com/xbmc/xbmc/commit/bb265b3aefa13eddc786cc5a2c341ab7534d3460 Kodi crashes on startup: http://paste.ubuntu.com/10593050/\r\n"}}