pillone / usntssearch

NZB Metasearch engine
pillone.github.io/usntssearch
265 stars 79 forks source link

PubDate wrong, radarr won't accept? #172

Open edrock200 opened 7 years ago

edrock200 commented 7 years ago

I'm getting an error in Radarr when trying to add NZBMegaSearch to it referring to PubDate. I'm using nzbmega search to aggregate, and it's working with Sonarr, but Radarr throws this error:

An error occurred while processing feed item from http://localhost:5000/api?t=movie&cat=2000,2010,2020,2030,2035,2040,2045,2050,2060&extended=1&apikey=(removed)&offset=0&limit=100: String was not recognized as a valid DateTime because the day of week was incorrect.

When I load the xml feed, it does have a pub date:


<newznab:response offset="0" total="137362" />
<item>
    <title>World.NZB.Megasearch.Tour.S01E01</title>
    <guid isPermaLink="true">http://bogusurl.bog/details/1234567890123432523523</guid>
    <link>http://bogusurl.bog/getnzb/1234567890123432523523.nzb&amp;i=470&amp;r=438204209348230</link>
    <comments>http://bogusurl.info/details/1234567890123432523523#comments</comments>   
    <pubDate>Mon, 1 Jan 1970 00:00:00 +0000</pubDate> 
    <category>TV &gt; SD</category>     
    <description>World.NZB.Megasearch.Tour.S01E01-0byte</description>
    <enclosure url="http://bogusurl.info/getnzb/1234567890123432523523.nzb&amp;i=470&amp;r=438204209348230" length="12" type="application/x-nzb" />

    <newznab:attr name="category" value="5000" />
    <newznab:attr name="category" value="5030" />
    <newznab:attr name="size" value="12" />
    <newznab:attr name="guid" value="438204209348230" />
</item>

From a google search, Jan 1 1970 was a thurs, not a Monday, and it seems like Radarr doesn't like that. However, this appears to just be dummy data nzbmega throws out for the initial test/link, Anyway this "dummy data" date can be corrected?

On a side note, I was able to work around it, in case anyone else comes across this error. In Radarr, add a Newznab indexer, populate the information, then turn RSS and Search off and click Save. Open it up again and turn RSS and Search back on and click Save. Doing it in this sequence appears to bypass Radarr's normal indexer checks, and once added the pubdate information provided by NZBMegaSearch is correct.

I posted this on the Radarr github but the dev's recommended I post this issue here, which makes sense. Hopefully I didn't screw up a simple setting to cause this, but I've double checked everything I can think of and haven't found a "smoking gun" as of yet.

albino1 commented 7 years ago

FYI, this is a long dead project. The last working fork was this one:

https://github.com/Mirabis/usntssearch/

But really, everybody has switched to NZB Hydra instead of NZBM, which is significantly more functional, and consistently updated. Give it a try here:

https://github.com/theotherp/nzbhydra

edrock200 commented 7 years ago

Lol yeah I realized that shortly after I posted and switched over. :) Might still be a useful workaround for others though.