{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/7677","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/7677/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/7677/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/7677/events","html_url":"https://github.com/xbmc/xbmc/pull/7677","id":98481790,"number":7677,"title":"[PVR] Season/Episode/Year/EpisodeName for Recordings (Scraper+Sort Order improvements)","user":{"login":"metaron-uk","id":12870817,"avatar_url":"https://avatars.githubusercontent.com/u/12870817?v=3","gravatar_id":"","url":"https://api.github.com/users/metaron-uk","html_url":"https://github.com/metaron-uk","followers_url":"https://api.github.com/users/metaron-uk/followers","following_url":"https://api.github.com/users/metaron-uk/following{/other_user}","gists_url":"https://api.github.com/users/metaron-uk/gists{/gist_id}","starred_url":"https://api.github.com/users/metaron-uk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaron-uk/subscriptions","organizations_url":"https://api.github.com/users/metaron-uk/orgs","repos_url":"https://api.github.com/users/metaron-uk/repos","events_url":"https://api.github.com/users/metaron-uk/events{/privacy}","received_events_url":"https://api.github.com/users/metaron-uk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-31T22:23:36Z","updated_at":"2015-08-01T10:14:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/7677","html_url":"https://github.com/xbmc/xbmc/pull/7677","diff_url":"https://github.com/xbmc/xbmc/pull/7677.diff","patch_url":"https://github.com/xbmc/xbmc/pull/7677.patch"},"body":"A PVR client can now provide Title, Episode Name, Season, Episode & Year of first airing to PVR core as individual fields. This allows:\r\n\r\n1. 'By File' now sorts in episode order. (Very useful if a series was recorded out of sequence)\r\n2. ttvdb scraper now able to match TV Shows directly from the 'Recordings' source\r\n3. Skins can decide where and how EpisodeName / Season / Episode / Year is displayed\r\n\r\n**Skin Changes Required**\r\nAs 'EpisodeName' is now separate, the recordings list for TV shows makes little sense until it is added back in. Proposed confluence changes are included.\r\n\r\n**PVR Client Changes Requried**\r\nNo changes to clients are essential other than the include file. Existing behaviour is unaffected.\r\nTo see benefits, EpisodeName/season/episode/year information must use the new variables.\r\n\r\n**Context**\r\nThis PR relies on the changes in PR #7626 which groups several API changes forming API 3.0.0.\r\nThis PR should not be merged unless PR #7626 has also been merged.\r\nThe necessary supporting API change is contained in commit '[PVR] Add Recording scraper support to API'. If this change is withdrawn from PR #7626 this PR will be closed.\r\n\r\n**Known Issues**\r\nCurrently IMDB scraper doesn't seem to match 'Year' correctly from the filename for some reason.\r\nSkins will need to be updated for EpisodeName to be displayed.\r\n\r\n**Comments**\r\nPlease make comments regarding the scraper support/sort order change itself here.\r\nFor comments regarding any of the other 3.0.0 API changes, please use #7626\r\nThis PR may eventually be subsumed into #7626 for final merge."},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/126895078","html_url":"https://github.com/xbmc/xbmc/pull/7677#issuecomment-126895078","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/7677","id":126895078,"user":{"login":"ryangribble","id":5425163,"avatar_url":"https://avatars.githubusercontent.com/u/5425163?v=3","gravatar_id":"","url":"https://api.github.com/users/ryangribble","html_url":"https://github.com/ryangribble","followers_url":"https://api.github.com/users/ryangribble/followers","following_url":"https://api.github.com/users/ryangribble/following{/other_user}","gists_url":"https://api.github.com/users/ryangribble/gists{/gist_id}","starred_url":"https://api.github.com/users/ryangribble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryangribble/subscriptions","organizations_url":"https://api.github.com/users/ryangribble/orgs","repos_url":"https://api.github.com/users/ryangribble/repos","events_url":"https://api.github.com/users/ryangribble/events{/privacy}","received_events_url":"https://api.github.com/users/ryangribble/received_events","type":"User","site_admin":false},"created_at":"2015-08-01T10:14:53Z","updated_at":"2015-08-01T10:14:53Z","body":"In theory wmc does have fields for some of this data although in my country it is never populated. \r\n\r\nI'm not sure if I see the benefit of this simply because I see pvr as a record/watch TV shows for light usage rather than trying to have large collections of series/episodes stored (that's what downloading shows and using the video library in Kodi is for!). But again in my country we have only 20 channels and not good Epg data so I'm not a great example. \r\n\r\nIf this does get implemented I can populate whatever fields wmc provides so that any of our users that do get this Epg data from WMC could use this feature "}}