{"action":"opened","number":6326,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/6326","id":28493623,"html_url":"https://github.com/xbmc/xbmc/pull/6326","diff_url":"https://github.com/xbmc/xbmc/pull/6326.diff","patch_url":"https://github.com/xbmc/xbmc/pull/6326.patch","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/6326","number":6326,"state":"open","locked":false,"title":"[pvr] Add recordings undelete support","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},"body":"With this change is it possible to access deleted recordings on backend to undelete or delete permanent.\r\nIf deleted recordings are accessible a new button is shown on the recordings window to switch there in the list.\r\n\r\nThe addon header become 3 other functions and 2 with a new value.\r\n\r\nGetRecordingsAmount = Have now a value to ask about deleted\r\nGetRecordings = the same\r\nDeleteRecording = Must delete everything, to tray and possible to delete complete\r\nUndeleteRecording = new, to undelete given recording\r\nDeleteAllRecordingsFromTrash = new, to make trash empty\r\nUndeleteAllRecordingsFromTrash = new, to undelete all in trash\r\n\r\nOn the file item it can be identified as recording and also with 2 new function to know whether it is available or not.\r\n\r\nHave a change for the VDR VNSI here:\r\nAddon: https://github.com/AlwinEsch/kodi-pvr-addons/tree/vnsi-undelete-recordings\r\nBackend Plugin: https://github.com/AlwinEsch/vdr-plugin-vnsiserver/tree/vnsi-undelete-recordings\r\n","created_at":"2015-02-02T19:05:45Z","updated_at":"2015-02-02T19:05:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/xbmc/pulls/6326/commits","review_comments_url":"https://api.github.com/repos/xbmc/xbmc/pulls/6326/comments","review_comment_url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/{number}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/6326/comments","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/a6f956ce10971122c26d66e0b65dcc867d9bb24e","head":{"label":"AlwinEsch:pvr-undelete-recordings","ref":"pvr-undelete-recordings","sha":"a6f956ce10971122c26d66e0b65dcc867d9bb24e","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},"repo":{"id":17647639,"name":"kodi","full_name":"AlwinEsch/kodi","owner":{"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},"private":false,"html_url":"https://github.com/AlwinEsch/kodi","description":"Fork of Kodi Main Repository","fork":true,"url":"https://api.github.com/repos/AlwinEsch/kodi","forks_url":"https://api.github.com/repos/AlwinEsch/kodi/forks","keys_url":"https://api.github.com/repos/AlwinEsch/kodi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlwinEsch/kodi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlwinEsch/kodi/teams","hooks_url":"https://api.github.com/repos/AlwinEsch/kodi/hooks","issue_events_url":"https://api.github.com/repos/AlwinEsch/kodi/issues/events{/number}","events_url":"https://api.github.com/repos/AlwinEsch/kodi/events","assignees_url":"https://api.github.com/repos/AlwinEsch/kodi/assignees{/user}","branches_url":"https://api.github.com/repos/AlwinEsch/kodi/branches{/branch}","tags_url":"https://api.github.com/repos/AlwinEsch/kodi/tags","blobs_url":"https://api.github.com/repos/AlwinEsch/kodi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlwinEsch/kodi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlwinEsch/kodi/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlwinEsch/kodi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlwinEsch/kodi/statuses/{sha}","languages_url":"https://api.github.com/repos/AlwinEsch/kodi/languages","stargazers_url":"https://api.github.com/repos/AlwinEsch/kodi/stargazers","contributors_url":"https://api.github.com/repos/AlwinEsch/kodi/contributors","subscribers_url":"https://api.github.com/repos/AlwinEsch/kodi/subscribers","subscription_url":"https://api.github.com/repos/AlwinEsch/kodi/subscription","commits_url":"https://api.github.com/repos/AlwinEsch/kodi/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlwinEsch/kodi/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlwinEsch/kodi/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlwinEsch/kodi/issues/comments/{number}","contents_url":"https://api.github.com/repos/AlwinEsch/kodi/contents/{+path}","compare_url":"https://api.github.com/repos/AlwinEsch/kodi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlwinEsch/kodi/merges","archive_url":"https://api.github.com/repos/AlwinEsch/kodi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlwinEsch/kodi/downloads","issues_url":"https://api.github.com/repos/AlwinEsch/kodi/issues{/number}","pulls_url":"https://api.github.com/repos/AlwinEsch/kodi/pulls{/number}","milestones_url":"https://api.github.com/repos/AlwinEsch/kodi/milestones{/number}","notifications_url":"https://api.github.com/repos/AlwinEsch/kodi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlwinEsch/kodi/labels{/name}","releases_url":"https://api.github.com/repos/AlwinEsch/kodi/releases{/id}","created_at":"2014-03-11T22:34:10Z","updated_at":"2015-02-02T15:31:10Z","pushed_at":"2015-02-02T18:59:09Z","git_url":"git://github.com/AlwinEsch/kodi.git","ssh_url":"git@github.com:AlwinEsch/kodi.git","clone_url":"https://github.com/AlwinEsch/kodi.git","svn_url":"https://github.com/AlwinEsch/kodi","homepage":"http://kodi.tv","size":495980,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"xbmc:master","ref":"master","sha":"2c7696314163d206b37a118c8330aea4c1ccb540","user":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"repo":{"id":1217614,"name":"xbmc","full_name":"xbmc/xbmc","owner":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xbmc/xbmc","description":"Kodi Main Repository - By using this code you agree with our policy and will follow the GPLv2 license as included","fork":false,"url":"https://api.github.com/repos/xbmc/xbmc","forks_url":"https://api.github.com/repos/xbmc/xbmc/forks","keys_url":"https://api.github.com/repos/xbmc/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xbmc/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xbmc/xbmc/teams","hooks_url":"https://api.github.com/repos/xbmc/xbmc/hooks","issue_events_url":"https://api.github.com/repos/xbmc/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/xbmc/xbmc/events","assignees_url":"https://api.github.com/repos/xbmc/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/xbmc/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/xbmc/xbmc/tags","blobs_url":"https://api.github.com/repos/xbmc/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xbmc/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xbmc/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/xbmc/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/xbmc/xbmc/languages","stargazers_url":"https://api.github.com/repos/xbmc/xbmc/stargazers","contributors_url":"https://api.github.com/repos/xbmc/xbmc/contributors","subscribers_url":"https://api.github.com/repos/xbmc/xbmc/subscribers","subscription_url":"https://api.github.com/repos/xbmc/xbmc/subscription","commits_url":"https://api.github.com/repos/xbmc/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/xbmc/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/xbmc/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/{number}","contents_url":"https://api.github.com/repos/xbmc/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/xbmc/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xbmc/xbmc/merges","archive_url":"https://api.github.com/repos/xbmc/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xbmc/xbmc/downloads","issues_url":"https://api.github.com/repos/xbmc/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/xbmc/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/xbmc/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/xbmc/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xbmc/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/xbmc/xbmc/releases{/id}","created_at":"2011-01-03T21:18:51Z","updated_at":"2015-02-02T17:26:58Z","pushed_at":"2015-02-02T17:26:58Z","git_url":"git://github.com/xbmc/xbmc.git","ssh_url":"git@github.com:xbmc/xbmc.git","clone_url":"https://github.com/xbmc/xbmc.git","svn_url":"https://github.com/xbmc/xbmc","homepage":"http://kodi.wiki/view/Official:Trademark_Policy","size":1802966,"stargazers_count":3664,"watchers_count":3664,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2637,"mirror_url":null,"open_issues_count":235,"forks":2637,"open_issues":235,"watchers":3664,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/6326"},"html":{"href":"https://github.com/xbmc/xbmc/pull/6326"},"issue":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/6326"},"comments":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/6326/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/6326/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/6326/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/xbmc/statuses/a6f956ce10971122c26d66e0b65dcc867d9bb24e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":766,"deletions":242,"changed_files":41}}