{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/6706","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/6706/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/6706/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/6706/events","html_url":"https://github.com/xbmc/xbmc/pull/6706","id":61073293,"number":6706,"title":"[pvr] fix PVR client to addon migration in PVRDatabase","user":{"login":"xhaggi","id":1878991,"avatar_url":"https://avatars.githubusercontent.com/u/1878991?v=3","gravatar_id":"","url":"https://api.github.com/users/xhaggi","html_url":"https://github.com/xhaggi","followers_url":"https://api.github.com/users/xhaggi/followers","following_url":"https://api.github.com/users/xhaggi/following{/other_user}","gists_url":"https://api.github.com/users/xhaggi/gists{/gist_id}","starred_url":"https://api.github.com/users/xhaggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhaggi/subscriptions","organizations_url":"https://api.github.com/users/xhaggi/orgs","repos_url":"https://api.github.com/users/xhaggi/repos","events_url":"https://api.github.com/users/xhaggi/events{/privacy}","received_events_url":"https://api.github.com/users/xhaggi/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/PVR","name":"PVR","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-03-13T14:15:54Z","updated_at":"2015-03-15T14:42:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/6706","html_url":"https://github.com/xbmc/xbmc/pull/6706","diff_url":"https://github.com/xbmc/xbmc/pull/6706.diff","patch_url":"https://github.com/xbmc/xbmc/pull/6706.patch"},"body":"As reported by @da-anda and @Milhouse the PVR clients to addon database migration hangs in an endless loop if you have more than one PVR client in the TV database. This fixes the issue and the another one addressed in the comment.\r\n\r\n@opdenkamp ping .. and yes I've changed the horrible implementation with all of the ++it and else blocks and use a break instead ;)"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/81050749","html_url":"https://github.com/xbmc/xbmc/pull/6706#issuecomment-81050749","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/6706","id":81050749,"user":{"login":"xhaggi","id":1878991,"avatar_url":"https://avatars.githubusercontent.com/u/1878991?v=3","gravatar_id":"","url":"https://api.github.com/users/xhaggi","html_url":"https://github.com/xhaggi","followers_url":"https://api.github.com/users/xhaggi/followers","following_url":"https://api.github.com/users/xhaggi/following{/other_user}","gists_url":"https://api.github.com/users/xhaggi/gists{/gist_id}","starred_url":"https://api.github.com/users/xhaggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhaggi/subscriptions","organizations_url":"https://api.github.com/users/xhaggi/orgs","repos_url":"https://api.github.com/users/xhaggi/repos","events_url":"https://api.github.com/users/xhaggi/events{/privacy}","received_events_url":"https://api.github.com/users/xhaggi/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T14:42:49Z","updated_at":"2015-03-15T14:42:49Z","body":"As this is a crash&burn bug i'll merge this in now. we can adjust it later if necessary."}}