{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/6902","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/6902/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/6902/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/6902/events","html_url":"https://github.com/xbmc/xbmc/pull/6902","id":67066777,"number":6902,"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},"labels":[{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Fix","name":"Fix","color":"02e10c"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Improvement","name":"Improvement","color":"0b02e1"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Isengard","name":"Isengard","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-08T07:20:54Z","updated_at":"2015-04-09T06:59:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/6902","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"},"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"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/91131082","html_url":"https://github.com/xbmc/xbmc/pull/6902#issuecomment-91131082","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/6902","id":91131082,"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},"created_at":"2015-04-09T06:59:28Z","updated_at":"2015-04-09T06:59:28Z","body":"Apart from the pretty limited use case as of now (could be extended to fetch other updates) this fixes a long standing issue. I really want this years old bugger in `Isengard`. Objections?"}}