{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1538","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1538/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1538/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1538/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/1538","id":73779207,"number":1538,"title":"Failed Handler ignores good candidates with the same name as previous failed ones","user":{"login":"gosku","id":1391084,"avatar_url":"https://avatars.githubusercontent.com/u/1391084?v=3","gravatar_id":"","url":"https://api.github.com/users/gosku","html_url":"https://github.com/gosku","followers_url":"https://api.github.com/users/gosku/followers","following_url":"https://api.github.com/users/gosku/following{/other_user}","gists_url":"https://api.github.com/users/gosku/gists{/gist_id}","starred_url":"https://api.github.com/users/gosku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gosku/subscriptions","organizations_url":"https://api.github.com/users/gosku/orgs","repos_url":"https://api.github.com/users/gosku/repos","events_url":"https://api.github.com/users/gosku/events{/privacy}","received_events_url":"https://api.github.com/users/gosku/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/1:%20Support%20/%20question","name":"1: Support / question","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-07T00:19:07Z","updated_at":"2015-05-12T23:09:47Z","closed_at":null,"body":"I've looked into the Failed Handling feature and I realized that when a download fails, the nzb/torrent's name is stored in the failed.db (failed table) with size and provider name.\r\n\r\nHowever, A lot of nzb providers use to have nzbs with the same name because uploaders always reupload the same file when a prior version gets corrupted.\r\n\r\nThe result of this is sickbeard only checks a vídeo version once, skipping the duplicates (that probably work). For example, I have this piece of log (the content is for my wife, don't judge me!!  ):\r\n```\r\n12:18:19 INFO::SEARCHQUEUE-RETRY-281621 :: Marking episode as bad: [Jane the Virgin - 1x15 - Chapter Fifteen]\r\n12:18:19 INFO::SEARCHQUEUE-RETRY-281621 :: Reverting episode (1, 15): Chapter Fifteen\r\n12:18:19 WARNING::SEARCHQUEUE-RETRY-281621 :: WARNING: Episode not found in history. Setting it back to WANTED\r\n12:18:19 INFO::SEARCHQUEUE-RETRY-281621 :: Beginning failed download search for: [Jane the Virgin - 1x15 - Chapter Fifteen]\r\n12:18:19 INFO::SEARCHQUEUE-RETRY-281621 :: No scene exceptions update needed\r\n12:18:19 INFO::SEARCHQUEUE-RETRY-281621 :: Building internal name cache for Jane the Virgin\r\n12:18:30 INFO::SEARCHQUEUE-RETRY-281621 :: [nzb.su] :: Performing episode search for Jane the Virgin\r\n12:18:33 INFO::SEARCHQUEUE-RETRY-281621 :: Quality of Jane.the.Virgin.S01E15.720p.WEB-DL.DD5.1.H.264-NTb is 720p WEB-DL\r\n12:18:33 INFO::SEARCHQUEUE-RETRY-281621 :: Jane.the.Virgin.S01E15.720p.WEB-DL.DD5.1.H.264-NTb has previously failed, rejecting it\r\n12:18:33 INFO::SEARCHQUEUE-RETRY-281621 :: Quality of Jane.the.Virgin.S01E15.720p.WEB-DL.DD5.1.H.264-NTb is 720p WEB-DL\r\n12:18:33 INFO::SEARCHQUEUE-RETRY-281621 :: Jane.the.Virgin.S01E15.720p.WEB-DL.DD5.1.H.264-NTb has previously failed, rejecting it\r\n12:18:33 INFO::SEARCHQUEUE-RETRY-281621 :: Quality of Jane.The.Virgin.S01E15.720p.HDTV.x264-DIMENSION is HD TV\r\n12:18:33 INFO::SEARCHQUEUE-RETRY-281621 :: Quality of Jane.The.Virgin.S01E15.720p.HDTV.x264-DIMENSION is HD TV\r\n12:18:33 INFO::SEARCHQUEUE-RETRY-281621 :: Downloading Jane.The.Virgin.S01E15.720p.HDTV.x264-DIMENSION from nzb.su\r\n12:18:33 INFO::SEARCHQUEUE-RETRY-281621 :: Sending NZB to SABnzbd\r\n12:20:24 INFO::Thread-64 :: Failed download detected: (Jane The Virgin S01E15.720p HDTV x264-DIMENSION.nzb, /Volumes/Multimedia/downloadpi/SeriesRage/Jane The Virgin S01E15.720p HDTV x264-DIMENSION)\r\n12:20:24 INFO::Thread-64 :: Using nzb_name for release name.\r\n12:20:24 INFO::Thread-64 :: Deleting folder: /Volumes/Multimedia/downloadpi/SeriesRage/Jane The Virgin S01E15.720p HDTV x264-DIMENSION\r\n12:20:24 INFO::Thread-64 :: Failed Download Processing succeeded: (Jane The Virgin S01E15.720p HDTV x264-DIMENSION.nzb, /Volumes/Multimedia/downloadpi/SeriesRage/Jane The Virgin S01E15.720p HDTV x264-DIMENSION)\r\n12:20:24 INFO::Thread-64 :: Successfully processed\r\n12:20:24 INFO::Thread-64 :: I did encounter some unprocessable items:\r\n12:20:24 INFO::Thread-64 :: [Jane The Virgin S01E15.720p HDTV x264-DIMENSION : Failed download]\r\n12:20:26 INFO::SEARCHQUEUE-RETRY-281621 :: Marking episode as bad: [Jane the Virgin - 1x15 - Chapter Fifteen]\r\n12:20:26 INFO::SEARCHQUEUE-RETRY-281621 :: Reverting episode (1, 15): Chapter Fifteen\r\n12:20:26 WARNING::SEARCHQUEUE-RETRY-281621 :: WARNING: Episode not found in history. Setting it back to WANTED\r\n12:20:26 INFO::SEARCHQUEUE-RETRY-281621 :: Beginning failed download search for: [Jane the Virgin - 1x15 - Chapter Fifteen]\r\n12:20:26 INFO::SEARCHQUEUE-RETRY-281621 :: No scene exceptions update needed\r\n12:20:26 INFO::SEARCHQUEUE-RETRY-281621 :: Building internal name cache for Jane the Virgin\r\n12:20:26 INFO::SEARCHQUEUE-RETRY-281621 :: [nzb.su] :: Performing episode search for Jane the Virgin\r\n12:20:28 INFO::SEARCHQUEUE-RETRY-281621 :: Quality of Jane.the.Virgin.S01E15.720p.WEB-DL.DD5.1.H.264-NTb is 720p WEB-DL\r\n12:20:28 INFO::SEARCHQUEUE-RETRY-281621 :: Jane.the.Virgin.S01E15.720p.WEB-DL.DD5.1.H.264-NTb has previously failed, rejecting it\r\n12:20:28 INFO::SEARCHQUEUE-RETRY-281621 :: Quality of Jane.the.Virgin.S01E15.720p.WEB-DL.DD5.1.H.264-NTb is 720p WEB-DL\r\n12:20:28 INFO::SEARCHQUEUE-RETRY-281621 :: Jane.the.Virgin.S01E15.720p.WEB-DL.DD5.1.H.264-NTb has previously failed, rejecting it\r\n12:20:28 INFO::SEARCHQUEUE-RETRY-281621 :: Quality of Jane.The.Virgin.S01E15.720p.HDTV.x264-DIMENSION is HD TV\r\n12:20:28 INFO::SEARCHQUEUE-RETRY-281621 :: Jane.The.Virgin.S01E15.720p.HDTV.x264-DIMENSION has previously failed, rejecting it\r\n12:20:28 INFO::SEARCHQUEUE-RETRY-281621 :: Quality of Jane.The.Virgin.S01E15.720p.HDTV.x264-DIMENSION is HD TV\r\n12:20:28 INFO::SEARCHQUEUE-RETRY-281621 :: Jane.The.Virgin.S01E15.720p.HDTV.x264-DIMENSION has previously failed, rejecting it\r\n```\r\n\r\nThere are 4 different nzbs for this episode, 2 NTb and 2 DIMENSION. However, only one of each is tried.\r\n\r\nThe solution to this I guess it would be to store a real nzb identifier instead of storing the nzb/torrent name."},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/comments/101455661","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/1538#issuecomment-101455661","issue_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1538","id":101455661,"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-05-12T23:09:47Z","updated_at":"2015-05-12T23:09:47Z","body":"@gosku nope, \"gosku  wants to merge 16 commits into\".... You need to `git fetch upstream`, `git rebase -i upstream/develop`, and `git push origin -u -f issue-1538-dev`\r\n\r\nOnly your commits should show up in the pull request, and It should be squashed into as few commits as possible while still retaining clarity. ie: never rename a file and modify the file in a same commit, never add modules or delete files in a commit with anything else. 1 feature/fix per commit."}}