Generic RSS Feed

I’m curious about a time line on this (not looking for ‘implented by June’, rather ‘after X, Y, & D are done’) on this.

I would think this single change would make sonarr so much more versatile that it would be a high priority. But it may also be high difficulty (no idea myself).

There is an open PR for it, it will be merged when we are satisfied with the code quality and functionality.

Cool. So I take that means it’s not waiting on some other item, just it’s on ‘internal’ quality. :slight_smile:

You’re on the develop branch? Switch to the torrentrss branch to check it out, but if you do then feedback is mandatory. :wink:

I will happily switch branches! Is torrentrss in the deb repo?

I’ll find out in a min

nope, internal updater works though. (otherwise use gz see http://download.sonarr.tv/v2/torrentrss/mono/)

Ok, I’ve swapped the settings, but I’ll wait for the next build. It’s saying I can’t update to an older build. Sigh . . .

new version is available.

First bug report: TTN (Where would you like others?)

15-5-19 14:02:17.0|Debug|TorrentRssSettingsDetector|Evaluating TorrentRss feed 'https://transmithe.net/advanced_rss.php?cats=all&tpc=5&auth=[redacted]'
15-5-19 14:02:17.4|Warn|TorrentRssSettingsDetector|Unable to connect to indexer https://transmithe.net/advanced_rss.php?cats=all&tpc=5&auth=[redacted]: Error: SendFailure (Error writing headers)

System.Net.WebException: Error: SendFailure (Error writing headers) ---> System.Net.WebException: Error writing headers ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed.
  at Mono.Security.Protocol.Tls.RecordProtocol.ProcessAlert (AlertLevel alertLevel, AlertDescription alertDesc) [0x00000] in <filename unknown>:0 
  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (IAsyncResult result) [0x00000] in <filename unknown>:0 
  at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0 
  at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00000] in <filename unknown>:0 

15-5-19 14:02:17.4|Warn|TorrentRssIndexer|Unable to connect to indexer: Could not parse feed from https://transmithe.net/advanced_rss.php?cats=all&tpc=5&auth=[redacted]

NzbDrone.Core.Indexers.Exceptions.UnsupportedFeedException: Could not parse feed from https://transmithe.net/advanced_rss.php?cats=all&tpc=5&auth=[redacted]
  at NzbDrone.Core.Indexers.TorrentRss.TorrentRssParserFactory.DetectParserSettings (NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexerSettings indexerSettings) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Indexers.TorrentRss.TorrentRssParserFactory+<>c__DisplayClass2.<GetParser>b__1 () [0x00000] in <filename unknown>:0 
  at NzbDrone.Common.Cache.Cached`1[NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexerParserSettings].Get (System.String key, System.Func`1 function, Nullable`1 lifeTime) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Indexers.TorrentRss.TorrentRssParserFactory.GetParser (NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexerSettings indexerSettings) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexer.GetParser () [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Indexers.HttpIndexerBase`1[NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexerSettings].TestConnection () [0x00000] in <filename unknown>:0

Can’t do anything about that, mono versions below 4.x don’t support TLSv3. try it without ssl.
You can also try mono 4.0, but we haven’t officially confirmed it’s working properly with sonarr.

Ok, how about this one: It’s not https (oh, and I"m running mono 4.0.1)

CartoonChaos:

 15-5-19 14:22:30.8|Debug|TorrentRssSettingsDetector|Evaluating TorrentRss feed 'http://www.cartoonchaos.org/rss_torrents.php:COOKIE:uid=[redacted];pass=[redacted]'
15-5-19 14:22:31.0|Warn|HttpClient|HTTP Error - Res: [GET] http://www.cartoonchaos.org/rss_torrents.php:COOKIE:uid=[redacted];pass=[redacted] : 404.NotFound
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /rss_torrents.php:COOKIE:uid=[redacted];pass=[redacted] was not found on this server.</p>
<hr>
<address>Apache/2.2.16 (Debian) Server at www.cartoonchaos.org Port 80</address>
</body></html>

15-5-19 14:22:31.1|Warn|TorrentRssSettingsDetector|Unable to connect to indexer http://www.cartoonchaos.org/rss_torrents.php:COOKIE:uid=[redacted];pass=[redacted]: HTTP request failed: [404:NotFound] [GET] at [http://www.cartoonchaos.org/rss_torrents.php:COOKIE:uid=[redacted];pass=[redacted]]

NzbDrone.Common.Http.HttpException: HTTP request failed: [404:NotFound] [GET] at [http://www.cartoonchaos.org/rss_torrents.php:COOKIE:uid=[redacted];pass=[redacted]]
  at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Indexers.TorrentRss.TorrentRssSettingsDetector.Detect (NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexerSettings indexerSettings) [0x00000] in <filename unknown>:0 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /rss_torrents.php:COOKIE:uid=[redacted];pass=[redacted] was not found on this server.</p>
<hr>
<address>Apache/2.2.16 (Debian) Server at www.cartoonchaos.org Port 80</address>
</body></html>


15-5-19 14:22:31.1|Warn|TorrentRssIndexer|Unable to connect to indexer: Could not parse feed from http://www.cartoonchaos.org/rss_torrents.php:COOKIE:uid=[redacted];pass=[redacted]

NzbDrone.Core.Indexers.Exceptions.UnsupportedFeedException: Could not parse feed from http://www.cartoonchaos.org/rss_torrents.php:COOKIE:uid=[redacted];pass=[redacted]
  at NzbDrone.Core.Indexers.TorrentRss.TorrentRssParserFactory.DetectParserSettings (NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexerSettings indexerSettings) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Indexers.TorrentRss.TorrentRssParserFactory+<>c__DisplayClass2.<GetParser>b__1 () [0x00000] in <filename unknown>:0 
  at NzbDrone.Common.Cache.Cached`1[NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexerParserSettings].Get (System.String key, System.Func`1 function, Nullable`1 lifeTime) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Indexers.TorrentRss.TorrentRssParserFactory.GetParser (NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexerSettings indexerSettings) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexer.GetParser () [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Indexers.HttpIndexerBase`1[NzbDrone.Core.Indexers.TorrentRss.TorrentRssIndexerSettings].TestConnection () [0x00000] in <filename unknown>:0

And here’s all of my attempts.

So far, nothing has worked:

http://tymanthius.net/sonarr.fails.txt

If you’re running 4.0.1 then I dunno what’s happening with the TLS, coz afaik they added support for it. If I don’t forget I’ll check the certificate later.

The :COOKIE: format is afaik uTorrent specific. It’s not something we support atm.

Can you get PM me a couple of those other feeds? Just 1 or 2 items will do, sanitize what you need to get rid of passkeys and such.
Then I’ll see what’s going on with those datetime fields.

I was able to add torrent shack. But I wasn’t able to add:

AceTorrents
AlphaRatio
Bit-HDTV
DataScene
HDTorrents
MoreThanTV
SceneAccess
TorrentBytes
AcidLounge

Let me know if you want me to send some logs/feeds for any of those.

afaik the Test now gives more useful errors/reasons (compared to before it got merged to dev).

Can you try look at the feed themselves first? Before PMing anything to me.

pubdate for example is mandatory.

Okay I re-tried all of those and most of them did not have pubdate. I was able to get HDTorrents to work on http. It looks like mono was having issues with ssl. Anyway, http works for me. Thanks for your work Taloth.