Support for X-DNZB-Failure

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
blink
Newbie
Newbie
Posts: 3
Joined: April 17th, 2014, 1:48 am

Support for X-DNZB-Failure

Post by blink »

The changelog mentions that support for X-DNZB-Failure header was added in 0.7.17Beta1. Did this feature not make it to 0.7.17 final? I don't see any mention in the code for this header information. I've written my own indexer, and it'd be nice to be able to report broken/bad NZB files.

Code: Select all

:~/SABnzbd-0.7.17$ grep -r "X-DNZB" .
./README.txt:- Basic support for X-DNZB-Failure and X-DNZB-Details headers, sent by some indexers
./sabnzbd/newzbin.py:    rcode = response.getheader('X-DNZB-RCode')
./sabnzbd/newzbin.py:    rtext = response.getheader('X-DNZB-RText')
./sabnzbd/newzbin.py:        nzo_info['more_info'] = response.getheader('X-DNZB-MoreInfo')
./sabnzbd/newzbin.py:    report_name = response.getheader('X-DNZB-Name')
./sabnzbd/newzbin.py:    report_cat  = response.getheader('X-DNZB-Category')
./CHANGELOG.txt:- Add X-DNZB-Failure and X-DNZB-Details support
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Support for X-DNZB-Failure

Post by shypike »

It will be in 0.7.18
Post Reply