Hi,
We're currently talking about a nzbs.org category problem.
It would be great if you could inform as to how the category tags are suppose to work when the category comes from the API call:
http://code.google.com/p/sabconnectplus ... tail?id=75
nzbs.org category problem
Forum rules
Help us help you:
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.
Re: nzbs.org category problem
SABnzbd can get category info from a limited set of indexing sites,
but only when it can retrieve the NZB itself from a URL.
When you send an NZB file through the API, you will have to set
an explicit user category. So it won't do tag-to-user-category mapping.
When you send an NZB-URL through the API, SABnzbd will be
able to get an indexer's category, if and only if it has an x-dnzb-category header.
(Or when it's a newzbin.com URL).
In that case it will do mapping. It looks like nzbs.org has this header.
Perhaps we should ask indexing sites to add their tags in the NZB file,
preferably in a standardized way.
An alternative would be if we support an extra parameter in the API call
to add an indexer-category. Say something like &indexcat=Foreign
It would also be possible to map when the category isn't found,
but that would give potential clashes, e.g. when your "tv" category is different from the indexer's.
but only when it can retrieve the NZB itself from a URL.
When you send an NZB file through the API, you will have to set
an explicit user category. So it won't do tag-to-user-category mapping.
When you send an NZB-URL through the API, SABnzbd will be
able to get an indexer's category, if and only if it has an x-dnzb-category header.
(Or when it's a newzbin.com URL).
In that case it will do mapping. It looks like nzbs.org has this header.
Perhaps we should ask indexing sites to add their tags in the NZB file,
preferably in a standardized way.
An alternative would be if we support an extra parameter in the API call
to add an indexer-category. Say something like &indexcat=Foreign
It would also be possible to map when the category isn't found,
but that would give potential clashes, e.g. when your "tv" category is different from the indexer's.
Last edited by shypike on June 20th, 2011, 6:00 am, edited 1 time in total.

