Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solidtorrents: set categories #12405

Closed
3 tasks done
ngosang opened this issue Oct 12, 2021 · 3 comments
Closed
3 tasks done

solidtorrents: set categories #12405

ngosang opened this issue Oct 12, 2021 · 3 comments
Labels

Comments

@ngosang
Copy link
Member

ngosang commented Oct 12, 2021

Have you checked our Troubleshooting page for your issue?

  • I have checked the Troubleshooting page

Is there already an issue for your problem?

  • I have checked older issues, open and closed

Have you read our Contributing Guidelines?

  • I have read the Contributing Guidelines

Environment

latest

Description

I see the Solid Torrent site is not providing the categories. I think we should hardcode "Others" category for all torrents to avoid issues with 3rd party software.

Logged Error Messages

.

Screenshots

No response

@garfield69
Copy link
Contributor

garfield69 commented Oct 12, 2021

it looks like the json response now can also contain category values as numeric rather than just the cat-name string as previous.
I will have a go at updating the indexer to restore category matching.

@garfield69 garfield69 moved this from To do to In progress in Jackett Indexers Oct 12, 2021
@garfield69 garfield69 removed their assignment Oct 12, 2021
@garfield69 garfield69 removed this from In progress in Jackett Indexers Oct 12, 2021
@ngosang
Copy link
Member Author

ngosang commented Oct 13, 2021

query: "silicon valley"

Jackett.Common.IndexerException: Exception (solidtorrents): Error parsing category=3!
 ---> System.Exception: Parse error
 ---> System.Exception: Error parsing category=3!
   at Jackett.Common.Indexers.SolidTorrents.ParseCategory(String query) in /home/vsts/work/1/s/src/Jackett.Common/Indexers/SolidTorrents.cs:line 141
   at Jackett.Common.Indexers.SolidTorrents.MakeRelease(JToken torrent) in /home/vsts/work/1/s/src/Jackett.Common/Indexers/SolidTorrents.cs:line 230
   at Jackett.Common.Indexers.SolidTorrents.PerformQuery(TorznabQuery query) in /home/vsts/work/1/s/src/Jackett.Common/Indexers/SolidTorrents.cs:line 208
   --- End of inner exception stack trace ---
   at Jackett.Common.Indexers.BaseWebIndexer.OnParseError(String results, Exception ex) in /home/vsts/work/1/s/src/Jackett.Common/Indexers/BaseIndexer.cs:line 782
   at Jackett.Common.Indexers.SolidTorrents.PerformQuery(TorznabQuery query) in /home/vsts/work/1/s/src/Jackett.Common/Indexers/SolidTorrents.cs:line 212
   at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery(TorznabQuery query, Boolean isMetaIndexer) in /home/vsts/work/1/s/src/Jackett.Common/Indexers/BaseIndexer.cs:line 416
   --- End of inner exception stack trace ---
   at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery(TorznabQuery query, Boolean isMetaIndexer) in /home/vsts/work/1/s/src/Jackett.Common/Indexers/BaseIndexer.cs:line 416
   at Jackett.Common.Indexers.BaseWebIndexer.ResultsForQuery(TorznabQuery query, Boolean isMetaIndexer) in /home/vsts/work/1/s/src/Jackett.Common/Indexers/BaseIndexer.cs:line 759
   at Jackett.Server.Controllers.ResultsController.Results(ApiSearch requestt) in /home/vsts/work/1/s/src/Jackett.Server/Controllers/ResultsController.cs:line 228

Error on 20211013141208 for Solid Torrents.txtSystem.Exception: Error parsing category=3!
   at Jackett.Common.Indexers.SolidTorrents.ParseCategory(String query) in /home/vsts/work/1/s/src/Jackett.Common/Indexers/SolidTorrents.cs:line 141
   at Jackett.Common.Indexers.SolidTorrents.MakeRelease(JToken torrent) in /home/vsts/work/1/s/src/Jackett.Common/Indexers/SolidTorrents.cs:line 230
   at Jackett.Common.Indexers.SolidTorrents.PerformQuery(TorznabQuery query) in /home/vsts/work/1/s/src/Jackett.Common/Indexers/SolidTorrents.cs:line 208

@ngosang ngosang reopened this Oct 13, 2021
@garfield69 garfield69 self-assigned this Oct 13, 2021
@garfield69 garfield69 removed their assignment Oct 13, 2021
@garfield69
Copy link
Contributor

v0.18.992

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants