{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/7191","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/7191/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/7191/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/7191/events","html_url":"https://github.com/xbmc/xbmc/pull/7191","id":80630072,"number":7191,"title":"UPnP: fix playcount and watched state of tvshows and seasons","user":{"login":"Montellese","id":75864,"avatar_url":"https://avatars.githubusercontent.com/u/75864?v=3","gravatar_id":"","url":"https://api.github.com/users/Montellese","html_url":"https://github.com/Montellese","followers_url":"https://api.github.com/users/Montellese/followers","following_url":"https://api.github.com/users/Montellese/following{/other_user}","gists_url":"https://api.github.com/users/Montellese/gists{/gist_id}","starred_url":"https://api.github.com/users/Montellese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Montellese/subscriptions","organizations_url":"https://api.github.com/users/Montellese/orgs","repos_url":"https://api.github.com/users/Montellese/repos","events_url":"https://api.github.com/users/Montellese/events{/privacy}","received_events_url":"https://api.github.com/users/Montellese/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Fix","name":"Fix","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-25T18:50:26Z","updated_at":"2015-05-26T11:56:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/7191","html_url":"https://github.com/xbmc/xbmc/pull/7191","diff_url":"https://github.com/xbmc/xbmc/pull/7191.diff","patch_url":"https://github.com/xbmc/xbmc/pull/7191.patch"},"body":"These two commits fix two issues with the playcount and watched state of tvshows and seasons from a UPnP server:\r\n* the watched overlay isn't displayed properly if the total playcount of all episodes is bigger than the total number of episodes\r\n* tvshows with a single watched episode are considered watched and are therefore hidden when using \"Hide watched\""},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/105498875","html_url":"https://github.com/xbmc/xbmc/pull/7191#issuecomment-105498875","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/7191","id":105498875,"user":{"login":"Montellese","id":75864,"avatar_url":"https://avatars.githubusercontent.com/u/75864?v=3","gravatar_id":"","url":"https://api.github.com/users/Montellese","html_url":"https://github.com/Montellese","followers_url":"https://api.github.com/users/Montellese/followers","following_url":"https://api.github.com/users/Montellese/following{/other_user}","gists_url":"https://api.github.com/users/Montellese/gists{/gist_id}","starred_url":"https://api.github.com/users/Montellese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Montellese/subscriptions","organizations_url":"https://api.github.com/users/Montellese/orgs","repos_url":"https://api.github.com/users/Montellese/repos","events_url":"https://api.github.com/users/Montellese/events{/privacy}","received_events_url":"https://api.github.com/users/Montellese/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T11:56:06Z","updated_at":"2015-05-26T11:56:06Z","body":"Since this is set by `CVideoDatabase` for video library items (which doesn't make much sense IMO) I'm pretty sure that it is still needed.\r\njenkins build this please"}}