{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/6734","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/6734/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/6734/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/6734/events","html_url":"https://github.com/xbmc/xbmc/pull/6734","id":62023495,"number":6734,"title":"[pvr] Improved content of pvr shutdown warning dialog.","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/I*****","name":"I*****","color":"207de5"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Improvement","name":"Improvement","color":"0b02e1"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/PVR","name":"PVR","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-16T09:28:06Z","updated_at":"2015-03-17T18:39:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/6734","html_url":"https://github.com/xbmc/xbmc/pull/6734","diff_url":"https://github.com/xbmc/xbmc/pull/6734.diff","patch_url":"https://github.com/xbmc/xbmc/pull/6734.patch"},"body":"This is an enhancement for #4342.\r\n\r\nToday, the shutdown warning dialog is quite simple:\r\n\r\nHeading: \"Confirm Shutdown\"\r\nContent: \"The PVR backend is busy. Shutdown anyway?\"\r\nButtons: Yes | No (defaulted to No)\r\n\r\nThis PR extends this dialog to display the reason for the shutdown warning, which can be one of:\r\n1) \"PVR is currently recording.\"\r\n2) \"Next recording will start in * minutes.\" or \"Next recording will start in about a minute.\"\r\n3) \"Daily wakeup is due in * minutes.\" or \"Daily wakeup is due in about a minute.\"\r\n\r\nFor 1) and 2), the line after the reason contains channel name and title of the current or next recording.\r\n\r\nThus, the new dialog layout is:\r\n\r\nHeading: \"Confirm Shutdown\"\r\nLine 1: Reason 1) to 3)\r\nLine 2: for 1) and 2) channel name and title\r\nLine 3: \"Shutdown anyway?\"\r\nButtons: Yes | No (defaulted to No)\r\n\r\nI thought, the additional information might be quite useful for the user... ;-)\r\n\r\n@opdenkamp, @jalle19 mind taking a look."},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/82517107","html_url":"https://github.com/xbmc/xbmc/pull/6734#issuecomment-82517107","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/6734","id":82517107,"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},"created_at":"2015-03-17T18:39:16Z","updated_at":"2015-03-17T18:39:16Z","body":"@da-anda no problem, sounds good. I hope that the button scales right with the long text \"Shutdown anyway\" (or in German even longer \"Trotzdem ausschalten\") and does not start to scroll the text..."}}