{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/4342","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/4342/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/4342/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/4342/events","html_url":"https://github.com/xbmc/xbmc/pull/4342","id":28908381,"number":4342,"title":"[PVR] Feature: Confirm shutdown if PVR backend is not idle.","user":{"login":"ksooo","id":3226626,"avatar_url":"https://avatars.githubusercontent.com/u/3226626?v=3","gravatar_id":"","url":"https://api.github.com/users/ksooo","html_url":"https://github.com/ksooo","followers_url":"https://api.github.com/users/ksooo/followers","following_url":"https://api.github.com/users/ksooo/following{/other_user}","gists_url":"https://api.github.com/users/ksooo/gists{/gist_id}","starred_url":"https://api.github.com/users/ksooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksooo/subscriptions","organizations_url":"https://api.github.com/users/ksooo/orgs","repos_url":"https://api.github.com/users/ksooo/repos","events_url":"https://api.github.com/users/ksooo/events{/privacy}","received_events_url":"https://api.github.com/users/ksooo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xbmc/xbmc/labels/API+change","name":"API change","color":"02d7e1"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Feature","name":"Feature","color":"0b02e1"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/I%2A%2A%2A%2A%2A","name":"I*****","color":"207de5"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/PVR","name":"PVR","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/xbmc/xbmc/milestones/26","labels_url":"https://api.github.com/repos/xbmc/xbmc/milestones/26/labels","id":396004,"number":26,"title":"Pending for inclusion","description":"","creator":{"login":"MartijnKaijser","id":907436,"avatar_url":"https://avatars.githubusercontent.com/u/907436?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnKaijser","html_url":"https://github.com/MartijnKaijser","followers_url":"https://api.github.com/users/MartijnKaijser/followers","following_url":"https://api.github.com/users/MartijnKaijser/following{/other_user}","gists_url":"https://api.github.com/users/MartijnKaijser/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnKaijser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnKaijser/subscriptions","organizations_url":"https://api.github.com/users/MartijnKaijser/orgs","repos_url":"https://api.github.com/users/MartijnKaijser/repos","events_url":"https://api.github.com/users/MartijnKaijser/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnKaijser/received_events","type":"User","site_admin":false},"open_issues":82,"closed_issues":0,"state":"open","created_at":"2013-08-06T19:03:23Z","updated_at":"2014-12-27T11:28:39Z","due_on":null,"closed_at":null},"comments":39,"created_at":"2014-03-06T19:45:01Z","updated_at":"2015-01-01T19:06:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/4342","html_url":"https://github.com/xbmc/xbmc/pull/4342","diff_url":"https://github.com/xbmc/xbmc/pull/4342.diff","patch_url":"https://github.com/xbmc/xbmc/pull/4342.patch"},"body":"User story: In case shutdown is requested by the user while PVR is recordig or a  recording will start very soon (and XBMC machine potentially cannot restart fast enough), XBMC refuses to shutdown, but shows a Yes/No dialog to the user explaining that PVR is currently not idle and asking the user to shut down anyway. If user does nothing for 10 secs, the dialog will autoclose and shutdown will be cancelled.\r\n\r\nPurpose: This is very useful to prevent accidentally stopped recordings.\r\n\r\nBTW: This feature has been discussed from time to time in the forums and there were some (hacky) addons around to implement this, but no clean implementation (which IMO can only be done inXBMC itself.)"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/68494956","html_url":"https://github.com/xbmc/xbmc/pull/4342#issuecomment-68494956","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/4342","id":68494956,"user":{"login":"FernetMenta","id":576009,"avatar_url":"https://avatars.githubusercontent.com/u/576009?v=3","gravatar_id":"","url":"https://api.github.com/users/FernetMenta","html_url":"https://github.com/FernetMenta","followers_url":"https://api.github.com/users/FernetMenta/followers","following_url":"https://api.github.com/users/FernetMenta/following{/other_user}","gists_url":"https://api.github.com/users/FernetMenta/gists{/gist_id}","starred_url":"https://api.github.com/users/FernetMenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernetMenta/subscriptions","organizations_url":"https://api.github.com/users/FernetMenta/orgs","repos_url":"https://api.github.com/users/FernetMenta/repos","events_url":"https://api.github.com/users/FernetMenta/events{/privacy}","received_events_url":"https://api.github.com/users/FernetMenta/received_events","type":"User","site_admin":false},"created_at":"2015-01-01T19:06:50Z","updated_at":"2015-01-01T19:06:50Z","body":"with the default case added it looks ok to me."}}