{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/9888","repository_url":"https://api.github.com/repos/xbmc/xbmc","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/9888/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/9888/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/9888/events","html_url":"https://github.com/xbmc/xbmc/pull/9888","id":157392843,"number":9888,"title":"[pvr] add handle pointer value to all add-on calls","user":{"login":"AlwinEsch","id":6879739,"avatar_url":"https://avatars.githubusercontent.com/u/6879739?v=3","gravatar_id":"","url":"https://api.github.com/users/AlwinEsch","html_url":"https://github.com/AlwinEsch","followers_url":"https://api.github.com/users/AlwinEsch/followers","following_url":"https://api.github.com/users/AlwinEsch/following{/other_user}","gists_url":"https://api.github.com/users/AlwinEsch/gists{/gist_id}","starred_url":"https://api.github.com/users/AlwinEsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlwinEsch/subscriptions","organizations_url":"https://api.github.com/users/AlwinEsch/orgs","repos_url":"https://api.github.com/users/AlwinEsch/repos","events_url":"https://api.github.com/users/AlwinEsch/events{/privacy}","received_events_url":"https://api.github.com/users/AlwinEsch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Binary%20Addons","name":"Binary Addons","color":"009800"},{"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":"009800"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/PVR%20API%20Change","name":"PVR API Change","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"FernetMenta","id":576009,"avatar_url":"https://avatars.githubusercontent.com/u/576009?v=3","gravatar_id":"","url":"https://api.github.com/users/FernetMenta","html_url":"https://github.com/FernetMenta","followers_url":"https://api.github.com/users/FernetMenta/followers","following_url":"https://api.github.com/users/FernetMenta/following{/other_user}","gists_url":"https://api.github.com/users/FernetMenta/gists{/gist_id}","starred_url":"https://api.github.com/users/FernetMenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernetMenta/subscriptions","organizations_url":"https://api.github.com/users/FernetMenta/orgs","repos_url":"https://api.github.com/users/FernetMenta/repos","events_url":"https://api.github.com/users/FernetMenta/events{/privacy}","received_events_url":"https://api.github.com/users/FernetMenta/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-05-29T16:03:44Z","updated_at":"2016-06-01T05:57:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/9888","html_url":"https://github.com/xbmc/xbmc/pull/9888","diff_url":"https://github.com/xbmc/xbmc/pull/9888.diff","patch_url":"https://github.com/xbmc/xbmc/pull/9888.patch"},"body":"This is also one part needed for reworked binary PVR add-ons, it add a handle pointer to all calls from Kodi to add-on. This handle is also usable for the current version and can be set during add-on create with `RegisterHandle` call on libPVR.\r\n\r\nGoal from them is to identify a from add-on headers defined parent class (comes in future) on calls to Kodi, further is another coming goal to allow more as one client connection on a add-on.\r\n\r\nIf this way is Ok becomes from me for all add-ons a request created. Also becomes this way added to other types."},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/222900097","html_url":"https://github.com/xbmc/xbmc/pull/9888#issuecomment-222900097","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/9888","id":222900097,"user":{"login":"Jalle19","id":1106133,"avatar_url":"https://avatars.githubusercontent.com/u/1106133?v=3","gravatar_id":"","url":"https://api.github.com/users/Jalle19","html_url":"https://github.com/Jalle19","followers_url":"https://api.github.com/users/Jalle19/followers","following_url":"https://api.github.com/users/Jalle19/following{/other_user}","gists_url":"https://api.github.com/users/Jalle19/gists{/gist_id}","starred_url":"https://api.github.com/users/Jalle19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jalle19/subscriptions","organizations_url":"https://api.github.com/users/Jalle19/orgs","repos_url":"https://api.github.com/users/Jalle19/repos","events_url":"https://api.github.com/users/Jalle19/events{/privacy}","received_events_url":"https://api.github.com/users/Jalle19/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T05:57:25Z","updated_at":"2016-06-01T05:57:25Z","body":"Wouldn't it be enough to pass the handle to `ADDON_Create()` and let the addon store the handle, that way every API call wouldn't have to include this pointer?"}}
{"actor":{"display_login":"Jalle19"}}