{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2679","labels_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2679/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2679/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2679/events","html_url":"https://github.com/SiCKRAGETV/SickRage/pull/2679","id":109308453,"number":2679,"title":"Fixes SiCKRAGETV/sickrage-issues/issues/3039","user":{"login":"fernandog","id":2620870,"avatar_url":"https://avatars.githubusercontent.com/u/2620870?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandog","html_url":"https://github.com/fernandog","followers_url":"https://api.github.com/users/fernandog/followers","following_url":"https://api.github.com/users/fernandog/following{/other_user}","gists_url":"https://api.github.com/users/fernandog/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandog/subscriptions","organizations_url":"https://api.github.com/users/fernandog/orgs","repos_url":"https://api.github.com/users/fernandog/repos","events_url":"https://api.github.com/users/fernandog/events{/privacy}","received_events_url":"https://api.github.com/users/fernandog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/labels/Bugfix","name":"Bugfix","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-01T14:14:09Z","updated_at":"2015-10-01T17:02:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/pulls/2679","html_url":"https://github.com/SiCKRAGETV/SickRage/pull/2679","diff_url":"https://github.com/SiCKRAGETV/SickRage/pull/2679.diff","patch_url":"https://github.com/SiCKRAGETV/SickRage/pull/2679.patch"},"body":">>> import sys;sys.path.insert(1,'lib');from sickbeard import common\r\n>>> status = 6404\r\n>>> print common.statusStrings[status]\r\nDownloaded (1080p WEB-DL)\r\n>>> oldStatus, oldQuality = common.Quality.splitCompositeStatus(status)\r\n>>> new_status = common.Quality.compositeStatus(common.ARCHIVED, oldQuality)\r\n>>> print new_status\r\n6406\r\n>>> print common.statusStrings[new_status]\r\nArchived (1080p WEB-DL)"},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/comments/144787307","html_url":"https://github.com/SiCKRAGETV/SickRage/pull/2679#issuecomment-144787307","issue_url":"https://api.github.com/repos/SiCKRAGETV/SickRage/issues/2679","id":144787307,"user":{"login":"miigotu","id":390379,"avatar_url":"https://avatars.githubusercontent.com/u/390379?v=3","gravatar_id":"","url":"https://api.github.com/users/miigotu","html_url":"https://github.com/miigotu","followers_url":"https://api.github.com/users/miigotu/followers","following_url":"https://api.github.com/users/miigotu/following{/other_user}","gists_url":"https://api.github.com/users/miigotu/gists{/gist_id}","starred_url":"https://api.github.com/users/miigotu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miigotu/subscriptions","organizations_url":"https://api.github.com/users/miigotu/orgs","repos_url":"https://api.github.com/users/miigotu/repos","events_url":"https://api.github.com/users/miigotu/events{/privacy}","received_events_url":"https://api.github.com/users/miigotu/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T17:02:47Z","updated_at":"2015-10-01T17:02:47Z","body":"Ok, squash?"}}