No search results Usenet, only Torrents

Hi,

I have been struggling with this for weeks now and finally came to the point of asking others for help.

I am running Sonarr on a Synology NAS, DSM 5.2

Indexer: Spotweb (Tests succesfully)
Retention is set to 2500
RSS Sync Interval to 15.
Categories: 5020,5030,5040,5050,5060

Download Client: NZBGet (Tests succesfully)

When searching for episodes (both manual and automatic) the only results I get are torrents, no results from Spotweb at all Even though I can find plenty of results myself inside the Spotweb application. Some episodes even have 20 spots in Spotweb, but just don’t come up in Sonarr.

I am really lost and would like to know what can be possible causes and how I can try to solve this issue.

Any help is greatly appreciated!

First thing to do is test the newznab access by checking IP-adress/spotweb/api?t=c

Then you can try the direct categories.

Replace localhost and the api key and try http://localhost/spotweb/api?t=tvsearch&cat=5030,5040&extended=1&apikey=&offset=0&limit=100

It might be your retention which is taking your query to much time before presenting the result. I set it to 100 days.

Additionally, there is a category error on github which includes to much hits including pr0n.

Install dir might be differrent if you are using a package, but…

/opt/bin/nano /volume1/web/spotweb/lib/page/SpotPage_newznabapi.php

case 5030: return ‘cat0_z1,cat0_a0,cat0_a1,cat0_a2,cat0_a3,cat0_a10’;
case 5040: return ‘cat0_z1,cat0_a4,cat0_a6,cat0_a7,cat0_a8,cat0_a9’;

Change to:
case 5030: return ‘cat0_z1,cat0_z1_a0,cat0_z1_a1,cat0_z1_a2,cat0_z1_a3,cat0_z1_a10’;
case 5040: return ‘cat0_z1,cat0_z1_a4,cat0_z1_a6,cat0_z1_a7,cat0_z1_a8,cat0_z1_a9’;

Hi Mirx_NL,

Thank you for answering.

I have tested the newznab access as you described:
The access seems to work fine. I get a good looking xml-file with your url with exactly 100 results (items)

Shouldn’t this link show items that contain categories 5030 and / or 5040? As I do not see any item that has category 5030 or 5040. Instead all of the results in the XML contain category 2000, 2030 or 2040, and 5000.

And yes, there is pron in this list. Is there any wat to eliminate this?

I have also replaced the lines in SpotPage_newznabapi.php.
But this has not improved the situation.
I still only get Torrent-results.

This is the first part of the api-xml:

    <rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/" version="2.0">
<channel>
<atom:link href="http://XXX.XXX.X.XX/spotweb/api" rel="self" type="application/rss+xml"/>
<title>Spotweb Index</title>
<description>Spotweb Index API Results</description>
<link>http://XXX.XXX.X.XX/spotweb/</link>
<language>en-gb</language>


<webMaster>xxxxx@xxxxx.com (XXXXXXXXX)</webMaster>
<category/>
<image>
<url>http://XXX.XXX.X.XX/spotweb/images/spotnet.gif</url>
<title>Spotweb Index</title>
<link>http://XXX.XXX.X.XX/spotweb/</link>
<description>SpotWeb Index API Results</description>
</image>
<newznab:response offset="0" total="50"/>
<item>
<title>XXXXXXXXX S03E01 720p HDTV X264-DIMENSION-NL-Subs</title>
<guid isPermaLink="false">d4paOudGQqEy3HYVQviQo@spot.net</guid>
<link>
http://XXX.XXX.X.XX/spotweb/api?t=g&id=d4paOudGQqEy3HYVQviQo@spot.net&apikey=XXXXXXX
</link>
<pubDate>Sat, 22 Aug 2015 14:57:57 +0200</pubDate>
<category>Beeld > x264HD</category>
<enclosure url="http://XXX.XXX.X.XX/spotweb/api?t=g&id=d4paOudGQqEy3HYVQviQo@spot.net&apikey=XXXXX" length="2062074108" type="application/x-nzb"/>
<newznab:attr name="category" value="2000"/>
<newznab:attr name="category" value="2040"/>
<newznab:attr name="category" value="5000"/>
<newznab:attr name="subs" value="dutch"/>
<newznab:attr name="size" value="2062074108"/>
<newznab:attr name="poster" value="PenningS@spot.net"/>
<newznab:attr name="comments" value="0"/>
</item>

I have added this serie to Sonarr, plus added category 2040 in settings for the indexer in Sonarr; just to see if it can find this specific episode.

However, still only Torrents appear.

(note: tested same episode in Sickbeard and was working flawless there)

Do a manual search to test, because you probably have the series set to english, and as the title has nl-subs in it, sonarr will detect it as dutch, and rehect the download.

Else:Hmmm, the change in the newznabapi.php should have resolved the incorrect hits. Without the change, it will return all sd under “Image / beeld” when requesting 5030 instead of just the sd in the “television”. Similar for 5040.

After the alteration, which on my synology does not require a reboot, you should be getting tv only result when requesting cat=5030 or cat=5040.

Internet explorer 8 will show all the requested categories in the output, not sure what ie11 does.

I have tried manual searches since the beginning.
They only return torrents. Never got a single newsgroup result.

I have tried changing the link by replacing 5030,5040 with

1000
2000
2030
2040
3000
5000
2030,2040

When doing this the link works 100% perfect all the time.

It seems just the 5030 and 5040 that give incorrect results.

I have been checking again today and still no results from newsgroups.

Sickrage however is working flawless with the same spotweb api.

Does nobody else have this problem or know a possible solution? If
http://localhost/spotweb/api?t=tvsearch&cat=5030,5040&extended=1&apikey=2&offset=0&limit=100
does not return any 5030 or 5040 items in api, but

http://localhost/spotweb/api?t=tvsearch&cat=2030,2040&extended=1&apikey=2&offset=0&limit=100
works perfect.

What does this mean? Do you think spotweb and/or its Api are functioning incorrect (even though it works for sickrage with 5030,5040)?

Can this be a setting in sonarr? Is there maybe another way to test the Api content?

The API results are not linked in any way to Sonarr if your checking the url through a browser (firefox / IE / Chrome). Your problem is solely in your Spotweb installation.

In the standard newzbab standard
http://newznab.readthedocs.org/en/latest/misc/api/

2030 Movies/SD
2040 Movies/HD

In the spotweb newznab api it’s the same. 2030 is movies SD and 2040 is movies HD. If it’s giving you TV results, then there’s something massively wrong with your newznab configuration in Spotweb.

case 2030: return ‘cat0_a0,cat0_a1,cat0_a2,cat0_a3,cat0_a10,~cat0_z1,~cat0_z2,~cat0_z3’;
case 2040: return ‘cat0_a4,cat0_a6,cat0_a7,cat0_a8,cat0_a9,~cat0_z1,~cat0_z2,~cat0_z3’;

2030 and 2040 are excluding cat0_z1 which is Series.

1 Like

I get the point.
Thanks a lot Mirx_NL for your answers.

Will continue this on Spotweb forum to see if they can help out

Continued at Spotnet forum (Dutch)

http://www.spot-net.nl/forums/viewtopic.php?f=33&t=7564&p=60705#p60705

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.