{"action":"opened","number":14992,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/14992","id":235937912,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1OTM3OTEy","html_url":"https://github.com/xbmc/xbmc/pull/14992","diff_url":"https://github.com/xbmc/xbmc/pull/14992.diff","patch_url":"https://github.com/xbmc/xbmc/pull/14992.patch","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/14992","number":14992,"state":"open","locked":false,"title":"Fix watched items in plugins after updating Kodi","user":{"login":"AkariDN","id":35409557,"node_id":"MDQ6VXNlcjM1NDA5NTU3","avatar_url":"https://avatars3.githubusercontent.com/u/35409557?v=4","gravatar_id":"","url":"https://api.github.com/users/AkariDN","html_url":"https://github.com/AkariDN","followers_url":"https://api.github.com/users/AkariDN/followers","following_url":"https://api.github.com/users/AkariDN/following{/other_user}","gists_url":"https://api.github.com/users/AkariDN/gists{/gist_id}","starred_url":"https://api.github.com/users/AkariDN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkariDN/subscriptions","organizations_url":"https://api.github.com/users/AkariDN/orgs","repos_url":"https://api.github.com/users/AkariDN/repos","events_url":"https://api.github.com/users/AkariDN/events{/privacy}","received_events_url":"https://api.github.com/users/AkariDN/received_events","type":"User","site_admin":false},"body":"Closes jdf76/plugin.video.youtube#487\r\n \r\n## Description\r\nOld Kodi versions incorrectly save path for plugin items in video database (CVideoDatabase::SplitPath() and URIUtils::GetParentPath() behavior mismatch for plugin URLs). This is fixed in 18a2, but when updating video database we have to set new pathes for old plugin items to save watched/progress history in plugins with complex URLs.\r\n\r\n## How Has This Been Tested?\r\n* Install Kodi 17 and YouTube plugin\r\n* Mark some youtube videos as watched, save resume points\r\n* Update to Kodi 18 with this PR\r\n* Check status of watched youtube videos\r\n\r\n## Types of change\r\n<!--- What type of change does your code introduce? Put an `x` in all the boxes that apply like this: [X] -->\r\n- [x] **Bug fix** (non-breaking change which fixes an issue)\r\n- [ ] **Clean up** (non-breaking change which removes non-working, unmaintained functionality)\r\n- [ ] **Improvement** (non-breaking change which improves existing functionality)\r\n- [ ] **New feature** (non-breaking change which adds functionality)\r\n- [ ] **Breaking change** (fix or feature that will cause existing functionality to change)\r\n- [ ] **Cosmetic change** (non-breaking change that doesn't touch code)\r\n- [ ] **None of the above** (please explain below)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `X` in all the boxes that apply like this: [X] -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the **[Code Guidelines](https://github.com/xbmc/xbmc/blob/master/docs/CODE_GUIDELINES.md)** of this project \r\n- [ ] My change requires a change to the documentation, either Doxygen or wiki\r\n- [ ] I have updated the documentation accordingly\r\n- [x] I have read the **[Contributing](https://github.com/xbmc/xbmc/blob/master/docs/CONTRIBUTING.md)** document\r\n- [ ] I have added tests to cover my change\r\n- [ ] All new and existing tests passed\r\n","created_at":"2018-12-04T19:51:01Z","updated_at":"2018-12-04T19:51:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/xbmc/pulls/14992/commits","review_comments_url":"https://api.github.com/repos/xbmc/xbmc/pulls/14992/comments","review_comment_url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/14992/comments","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/efd0b199042eb8de7fcbf4f6f43701d188486f65","head":{"label":"AkariDN:fix_watched2","ref":"fix_watched2","sha":"efd0b199042eb8de7fcbf4f6f43701d188486f65","user":{"login":"AkariDN","id":35409557,"node_id":"MDQ6VXNlcjM1NDA5NTU3","avatar_url":"https://avatars3.githubusercontent.com/u/35409557?v=4","gravatar_id":"","url":"https://api.github.com/users/AkariDN","html_url":"https://github.com/AkariDN","followers_url":"https://api.github.com/users/AkariDN/followers","following_url":"https://api.github.com/users/AkariDN/following{/other_user}","gists_url":"https://api.github.com/users/AkariDN/gists{/gist_id}","starred_url":"https://api.github.com/users/AkariDN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkariDN/subscriptions","organizations_url":"https://api.github.com/users/AkariDN/orgs","repos_url":"https://api.github.com/users/AkariDN/repos","events_url":"https://api.github.com/users/AkariDN/events{/privacy}","received_events_url":"https://api.github.com/users/AkariDN/received_events","type":"User","site_admin":false},"repo":{"id":122103684,"node_id":"MDEwOlJlcG9zaXRvcnkxMjIxMDM2ODQ=","name":"xbmc","full_name":"AkariDN/xbmc","private":false,"owner":{"login":"AkariDN","id":35409557,"node_id":"MDQ6VXNlcjM1NDA5NTU3","avatar_url":"https://avatars3.githubusercontent.com/u/35409557?v=4","gravatar_id":"","url":"https://api.github.com/users/AkariDN","html_url":"https://github.com/AkariDN","followers_url":"https://api.github.com/users/AkariDN/followers","following_url":"https://api.github.com/users/AkariDN/following{/other_user}","gists_url":"https://api.github.com/users/AkariDN/gists{/gist_id}","starred_url":"https://api.github.com/users/AkariDN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkariDN/subscriptions","organizations_url":"https://api.github.com/users/AkariDN/orgs","repos_url":"https://api.github.com/users/AkariDN/repos","events_url":"https://api.github.com/users/AkariDN/events{/privacy}","received_events_url":"https://api.github.com/users/AkariDN/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AkariDN/xbmc","description":"Kodi Main Repository - By using this code you agree with our policy and will follow the GPLv2 license as included","fork":true,"url":"https://api.github.com/repos/AkariDN/xbmc","forks_url":"https://api.github.com/repos/AkariDN/xbmc/forks","keys_url":"https://api.github.com/repos/AkariDN/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AkariDN/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AkariDN/xbmc/teams","hooks_url":"https://api.github.com/repos/AkariDN/xbmc/hooks","issue_events_url":"https://api.github.com/repos/AkariDN/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/AkariDN/xbmc/events","assignees_url":"https://api.github.com/repos/AkariDN/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/AkariDN/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/AkariDN/xbmc/tags","blobs_url":"https://api.github.com/repos/AkariDN/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AkariDN/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AkariDN/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/AkariDN/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AkariDN/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/AkariDN/xbmc/languages","stargazers_url":"https://api.github.com/repos/AkariDN/xbmc/stargazers","contributors_url":"https://api.github.com/repos/AkariDN/xbmc/contributors","subscribers_url":"https://api.github.com/repos/AkariDN/xbmc/subscribers","subscription_url":"https://api.github.com/repos/AkariDN/xbmc/subscription","commits_url":"https://api.github.com/repos/AkariDN/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/AkariDN/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/AkariDN/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/AkariDN/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/AkariDN/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/AkariDN/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AkariDN/xbmc/merges","archive_url":"https://api.github.com/repos/AkariDN/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AkariDN/xbmc/downloads","issues_url":"https://api.github.com/repos/AkariDN/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/AkariDN/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/AkariDN/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/AkariDN/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AkariDN/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/AkariDN/xbmc/releases{/id}","deployments_url":"https://api.github.com/repos/AkariDN/xbmc/deployments","created_at":"2018-02-19T18:30:42Z","updated_at":"2018-09-13T22:54:57Z","pushed_at":"2018-12-04T19:19:47Z","git_url":"git://github.com/AkariDN/xbmc.git","ssh_url":"git@github.com:AkariDN/xbmc.git","clone_url":"https://github.com/AkariDN/xbmc.git","svn_url":"https://github.com/AkariDN/xbmc","homepage":"http://kodi.wiki/view/Official:Trademark_Policy","size":655381,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xbmc:master","ref":"master","sha":"1de0d409ea0a9125bdd4ba5950d4e4ec7dfa0e4b","user":{"login":"xbmc","id":199122,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTEyMg==","avatar_url":"https://avatars2.githubusercontent.com/u/199122?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE3NjE0","name":"xbmc","full_name":"xbmc/xbmc","private":false,"owner":{"login":"xbmc","id":199122,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTEyMg==","avatar_url":"https://avatars2.githubusercontent.com/u/199122?v=4","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},"html_url":"https://github.com/xbmc/xbmc","description":"Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS and Windows.","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}","deployments_url":"https://api.github.com/repos/xbmc/xbmc/deployments","created_at":"2011-01-03T21:18:51Z","updated_at":"2018-12-04T17:42:34Z","pushed_at":"2018-12-03T18:28:56Z","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":"https://kodi.tv/","size":1499151,"stargazers_count":7917,"watchers_count":7917,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4820,"mirror_url":null,"archived":false,"open_issues_count":200,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4820,"open_issues":200,"watchers":7917,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/14992"},"html":{"href":"https://github.com/xbmc/xbmc/pull/14992"},"issue":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/14992"},"comments":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/14992/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/14992/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/14992/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/xbmc/statuses/efd0b199042eb8de7fcbf4f6f43701d188486f65"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":27,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"AkariDN"}}