From eb4bf57111cd28ede11dfd40a76746ea77bedf0d Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Tue, 22 Nov 2016 21:47:39 +0100 Subject: [PATCH] Change sab API request to prevent naming mismatch. --- CHANGES.md | 1 + sickbeard/sab.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 5e13379c..a8f93743 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -198,6 +198,7 @@ * Change prevent browser auto completing password fields on config pages * Change refresh page when torrent providers are enabled/disabled * Change only display Search Settings/"Usenet retention" if Search NZBs is enabled +* Change sab API request to prevent naming mismatch [develop changelog] * Change send nzb data to NZBGet for Anizb instead of url diff --git a/sickbeard/sab.py b/sickbeard/sab.py index eba8273d..0120d6a4 100644 --- a/sickbeard/sab.py +++ b/sickbeard/sab.py @@ -45,6 +45,8 @@ def send_nzb(nzb): if 1 == nzb.priority: params['priority'] = 1 + params['nzbname'] = '%s.nzb' % nzb.name + kwargs = {} # if it's a normal result we just pass SAB the URL if 'nzb' == nzb.resultType: