{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/428","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/428/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/428/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/428/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/428","id":54615197,"number":428,"title":"download fails for episodes with status \"downloaded\"","user":{"login":"pct00","id":10249098,"avatar_url":"https://avatars.githubusercontent.com/u/10249098?v=3","gravatar_id":"","url":"https://api.github.com/users/pct00","html_url":"https://github.com/pct00","followers_url":"https://api.github.com/users/pct00/followers","following_url":"https://api.github.com/users/pct00/following{/other_user}","gists_url":"https://api.github.com/users/pct00/gists{/gist_id}","starred_url":"https://api.github.com/users/pct00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pct00/subscriptions","organizations_url":"https://api.github.com/users/pct00/orgs","repos_url":"https://api.github.com/users/pct00/repos","events_url":"https://api.github.com/users/pct00/events{/privacy}","received_events_url":"https://api.github.com/users/pct00/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/1%3A+Support+%2F+question","name":"1: Support / question","color":"207de5"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/3%3A+Fix","name":"3: Fix","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-16T19:32:45Z","updated_at":"2015-01-19T20:36:11Z","closed_at":null,"body":"Python Version: 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)]\r\nOperating System: Windows-7-6.1.7601-SP1\r\nSR Version:\tBRANCH: (develop)\r\nCOMMIT: (0bb84466d06ca068e09d5f8bc2bbb828c598963a) \r\n\r\nwhen using the manual episode search it fails to use correct torrent from results\r\nproblem is that if episode is already downloaded with quality different that i want, in this case i want lower quality but also happens if quality is \"unknown\" in SR\r\n\r\nlog: http://pastebin.com/wJpnffRg\r\n\r\n2015-01-16 19:21:53 DEBUG    SEARCHQUEUE-MANUAL-80349 :: [KickAssTorrents] :: Quality is on wanted list, need to check if it's better than existing quality\r\n2015-01-16 19:21:53 DEBUG    SEARCHQUEUE-MANUAL-80349 :: [KickAssTorrents] :: Episode already exists and the found episode has same/lower quality, ignoring found episode\r\n2015-01-16 19:21:53 DEBUG    SEARCHQUEUE-MANUAL-80349 :: [KickAssTorrents] :: None of the conditions were met, ignoring found episode\r\n2015-01-16 19:21:53 DEBUG    SEARCHQUEUE-MANUAL-80349 :: [KickAssTorrents] :: Ignoring result Californication.S06E12.HDTV.x264.2HD.[VTV].mp4 because we don't want an episode that is SD TV\r\n"},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/comments/70556403","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/428#issuecomment-70556403","issue_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/428","id":70556403,"user":{"login":"pct00","id":10249098,"avatar_url":"https://avatars.githubusercontent.com/u/10249098?v=3","gravatar_id":"","url":"https://api.github.com/users/pct00","html_url":"https://github.com/pct00","followers_url":"https://api.github.com/users/pct00/followers","following_url":"https://api.github.com/users/pct00/following{/other_user}","gists_url":"https://api.github.com/users/pct00/gists{/gist_id}","starred_url":"https://api.github.com/users/pct00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pct00/subscriptions","organizations_url":"https://api.github.com/users/pct00/orgs","repos_url":"https://api.github.com/users/pct00/repos","events_url":"https://api.github.com/users/pct00/events{/privacy}","received_events_url":"https://api.github.com/users/pct00/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T20:36:11Z","updated_at":"2015-01-19T20:36:11Z","body":"@fernandog \r\n\r\nhi\r\nyou code wasn't working, it was still ignoring the results if the existing episode has quality unknown\r\n\r\ni change it to the code below (just removed the unknown quality check) and it worked, this also solved my \"request\" for downloading lower quality in manual searches but not sure if it makes sense globally :)\r\n\r\n        elif manualSearch:\r\n            logger.log(u\"Episode already exists but doing a manual search, getting found episode\",\r\n                       logger.DEBUG)\r\n            return True"}}