{"action":"created","issue":{"url":"https://api.github.com/repos/google/sagetv/issues/146","repository_url":"https://api.github.com/repos/google/sagetv","labels_url":"https://api.github.com/repos/google/sagetv/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/google/sagetv/issues/146/comments","events_url":"https://api.github.com/repos/google/sagetv/issues/146/events","html_url":"https://github.com/google/sagetv/issues/146","id":162202258,"number":146,"title":"Server does not stay awake for Transcode Jobs","user":{"login":"CraziFuzzy","id":3046737,"avatar_url":"https://avatars.githubusercontent.com/u/3046737?v=3","gravatar_id":"","url":"https://api.github.com/users/CraziFuzzy","html_url":"https://github.com/CraziFuzzy","followers_url":"https://api.github.com/users/CraziFuzzy/followers","following_url":"https://api.github.com/users/CraziFuzzy/following{/other_user}","gists_url":"https://api.github.com/users/CraziFuzzy/gists{/gist_id}","starred_url":"https://api.github.com/users/CraziFuzzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraziFuzzy/subscriptions","organizations_url":"https://api.github.com/users/CraziFuzzy/orgs","repos_url":"https://api.github.com/users/CraziFuzzy/repos","events_url":"https://api.github.com/users/CraziFuzzy/events{/privacy}","received_events_url":"https://api.github.com/users/CraziFuzzy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-24T18:18:12Z","updated_at":"2016-11-29T12:37:33Z","closed_at":null,"body":"Need to add logic to ServerPowerManagement.java to check if Ministry has any jobs, and if it does, flat the system to stay on.\n"},"comment":{"url":"https://api.github.com/repos/google/sagetv/issues/comments/263559459","html_url":"https://github.com/google/sagetv/issues/146#issuecomment-263559459","issue_url":"https://api.github.com/repos/google/sagetv/issues/146","id":263559459,"user":{"login":"CraziFuzzy","id":3046737,"avatar_url":"https://avatars.githubusercontent.com/u/3046737?v=3","gravatar_id":"","url":"https://api.github.com/users/CraziFuzzy","html_url":"https://github.com/CraziFuzzy","followers_url":"https://api.github.com/users/CraziFuzzy/followers","following_url":"https://api.github.com/users/CraziFuzzy/following{/other_user}","gists_url":"https://api.github.com/users/CraziFuzzy/gists{/gist_id}","starred_url":"https://api.github.com/users/CraziFuzzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraziFuzzy/subscriptions","organizations_url":"https://api.github.com/users/CraziFuzzy/orgs","repos_url":"https://api.github.com/users/CraziFuzzy/repos","events_url":"https://api.github.com/users/CraziFuzzy/events{/privacy}","received_events_url":"https://api.github.com/users/CraziFuzzy/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T12:37:33Z","updated_at":"2016-11-29T12:37:33Z","body":"This may need a tweak.  I overlooked that completed and failed jobs remain in the list, so using **GetTranscodeJobIDs()** is still holding jobs even if nothing is converting or waiting to convert.  I need to change **Ministry.requiresPower()** to check **waitingForConversion.size()** and **converting.size()** instead (thus ignoring jobs held in **waitingForAbsolution** )"}}
{"actor":{"display_login":"CraziFuzzy"}}