{"action":"closed","number":6902,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/6902","id":32834219,"html_url":"https://github.com/xbmc/xbmc/pull/6902","diff_url":"https://github.com/xbmc/xbmc/pull/6902.diff","patch_url":"https://github.com/xbmc/xbmc/pull/6902.patch","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/6902","number":6902,"state":"closed","locked":false,"title":"[video] re-scrape season art for newly added seasons","user":{"login":"mkortstiege","id":475281,"avatar_url":"https://avatars.githubusercontent.com/u/475281?v=3","gravatar_id":"","url":"https://api.github.com/users/mkortstiege","html_url":"https://github.com/mkortstiege","followers_url":"https://api.github.com/users/mkortstiege/followers","following_url":"https://api.github.com/users/mkortstiege/following{/other_user}","gists_url":"https://api.github.com/users/mkortstiege/gists{/gist_id}","starred_url":"https://api.github.com/users/mkortstiege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkortstiege/subscriptions","organizations_url":"https://api.github.com/users/mkortstiege/orgs","repos_url":"https://api.github.com/users/mkortstiege/repos","events_url":"https://api.github.com/users/mkortstiege/events{/privacy}","received_events_url":"https://api.github.com/users/mkortstiege/received_events","type":"User","site_admin":false},"body":"This fixes the stale season artwork bug in case new artwork becomes available after initial scrape by adding a `GetArtwork()` function to the scraper, allowing us to re-fetch the art URLs for a particular item. \r\n\r\nIt is triggered whenever a missing season art is detected after adding new episodes. Lookups are done via the unique identifier `m_strIMDBNumber' within the video info tag. It uses the scraper cache where possible to avoid another API hits.\r\n\r\nNote:\r\nThis has to go in after the scraper changes (https://github.com/xbmc/repo-scrapers/pull/4). Once merged `metadata.tvdb.com` and `metadata.tvshows.themoviedb.org` (already chaining via GetArt) will support this. Others have to adopt this and move the actual artwork fetches to a `GetArt` chain. There's no change in behavior in case the scraper does not support this.\r\n\r\nThis is entirely based on @jmarshallnz work in PR https://github.com/xbmc/xbmc/pull/3546 and just slightly modified.\r\n\r\n@Montellese for review please","created_at":"2015-04-08T07:20:54Z","updated_at":"2015-04-18T16:05:25Z","closed_at":"2015-04-18T16:05:25Z","merged_at":"2015-04-18T16:05:25Z","merge_commit_sha":"0047acf55821fc54bf33e7d1ab1d454eb3d28bcf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/xbmc/pulls/6902/commits","review_comments_url":"https://api.github.com/repos/xbmc/xbmc/pulls/6902/comments","review_comment_url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/6902/comments","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/da30b9110babb9cd2f9f8963bbe19b1340eaf480","head":{"label":"mkortstiege:rescrape","ref":"rescrape","sha":"da30b9110babb9cd2f9f8963bbe19b1340eaf480","user":{"login":"mkortstiege","id":475281,"avatar_url":"https://avatars.githubusercontent.com/u/475281?v=3","gravatar_id":"","url":"https://api.github.com/users/mkortstiege","html_url":"https://github.com/mkortstiege","followers_url":"https://api.github.com/users/mkortstiege/followers","following_url":"https://api.github.com/users/mkortstiege/following{/other_user}","gists_url":"https://api.github.com/users/mkortstiege/gists{/gist_id}","starred_url":"https://api.github.com/users/mkortstiege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkortstiege/subscriptions","organizations_url":"https://api.github.com/users/mkortstiege/orgs","repos_url":"https://api.github.com/users/mkortstiege/repos","events_url":"https://api.github.com/users/mkortstiege/events{/privacy}","received_events_url":"https://api.github.com/users/mkortstiege/received_events","type":"User","site_admin":false},"repo":{"id":2196477,"name":"xbmc","full_name":"mkortstiege/xbmc","owner":{"login":"mkortstiege","id":475281,"avatar_url":"https://avatars.githubusercontent.com/u/475281?v=3","gravatar_id":"","url":"https://api.github.com/users/mkortstiege","html_url":"https://github.com/mkortstiege","followers_url":"https://api.github.com/users/mkortstiege/followers","following_url":"https://api.github.com/users/mkortstiege/following{/other_user}","gists_url":"https://api.github.com/users/mkortstiege/gists{/gist_id}","starred_url":"https://api.github.com/users/mkortstiege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkortstiege/subscriptions","organizations_url":"https://api.github.com/users/mkortstiege/orgs","repos_url":"https://api.github.com/users/mkortstiege/repos","events_url":"https://api.github.com/users/mkortstiege/events{/privacy}","received_events_url":"https://api.github.com/users/mkortstiege/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkortstiege/xbmc","description":"XBMC Main Repository","fork":true,"url":"https://api.github.com/repos/mkortstiege/xbmc","forks_url":"https://api.github.com/repos/mkortstiege/xbmc/forks","keys_url":"https://api.github.com/repos/mkortstiege/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkortstiege/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkortstiege/xbmc/teams","hooks_url":"https://api.github.com/repos/mkortstiege/xbmc/hooks","issue_events_url":"https://api.github.com/repos/mkortstiege/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/mkortstiege/xbmc/events","assignees_url":"https://api.github.com/repos/mkortstiege/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/mkortstiege/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/mkortstiege/xbmc/tags","blobs_url":"https://api.github.com/repos/mkortstiege/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkortstiege/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkortstiege/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkortstiege/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkortstiege/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/mkortstiege/xbmc/languages","stargazers_url":"https://api.github.com/repos/mkortstiege/xbmc/stargazers","contributors_url":"https://api.github.com/repos/mkortstiege/xbmc/contributors","subscribers_url":"https://api.github.com/repos/mkortstiege/xbmc/subscribers","subscription_url":"https://api.github.com/repos/mkortstiege/xbmc/subscription","commits_url":"https://api.github.com/repos/mkortstiege/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkortstiege/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkortstiege/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkortstiege/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/mkortstiege/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/mkortstiege/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkortstiege/xbmc/merges","archive_url":"https://api.github.com/repos/mkortstiege/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkortstiege/xbmc/downloads","issues_url":"https://api.github.com/repos/mkortstiege/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/mkortstiege/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/mkortstiege/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/mkortstiege/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkortstiege/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/mkortstiege/xbmc/releases{/id}","created_at":"2011-08-12T10:28:26Z","updated_at":"2015-03-06T12:11:03Z","pushed_at":"2015-04-18T12:55:45Z","git_url":"git://github.com/mkortstiege/xbmc.git","ssh_url":"git@github.com:mkortstiege/xbmc.git","clone_url":"https://github.com/mkortstiege/xbmc.git","svn_url":"https://github.com/mkortstiege/xbmc","homepage":"http://xbmc.org","size":503693,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"xbmc:master","ref":"master","sha":"1549e4e19ab23f9801ce847a868ce2ad447df67e","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-04-18T15:32:32Z","pushed_at":"2015-04-18T16:05:25Z","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":1857581,"stargazers_count":3843,"watchers_count":3843,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2798,"mirror_url":null,"open_issues_count":232,"forks":2798,"open_issues":232,"watchers":3843,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/6902"},"html":{"href":"https://github.com/xbmc/xbmc/pull/6902"},"issue":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/6902"},"comments":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/6902/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/6902/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/6902/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/xbmc/statuses/da30b9110babb9cd2f9f8963bbe19b1340eaf480"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jenkins4kodi","id":8507773,"avatar_url":"https://avatars.githubusercontent.com/u/8507773?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkins4kodi","html_url":"https://github.com/jenkins4kodi","followers_url":"https://api.github.com/users/jenkins4kodi/followers","following_url":"https://api.github.com/users/jenkins4kodi/following{/other_user}","gists_url":"https://api.github.com/users/jenkins4kodi/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins4kodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins4kodi/subscriptions","organizations_url":"https://api.github.com/users/jenkins4kodi/orgs","repos_url":"https://api.github.com/users/jenkins4kodi/repos","events_url":"https://api.github.com/users/jenkins4kodi/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins4kodi/received_events","type":"User","site_admin":false},"comments":17,"review_comments":0,"commits":3,"additions":65,"deletions":20,"changed_files":6}}