MrMarble / yoink

Automatically download freeleech torrents
MIT License
8 stars 0 forks source link

prowlarr authentication seems to not work #8

Closed hogcycle closed 2 months ago

hogcycle commented 2 months ago

hello, I packaged yoink for nixpkgs a while ago and I'm finally getting around to actually using it. I'm having trouble with it though as it's not finding any torrents. I checked docker logs -f prowlarr and it doesn't seem to be getting any of the requests. Yoink says it's authenticated properly, but it says that even without an API key provided. Any ideas?

total_freeleech_size: "9999GB" # Max space to use for downloads. If 0, no limit is applied
category: "FreeLeech" # Category to use for downloads.
paused: true # Whether to pause torrents after adding them to qBittorrent
qbittorrent: # Connection details for qBittorrent
  host: "http://localhost:8008"
  username: "x"
  password: "x"
prowlarr: # Connection details for Prowlarr
  host: "http://localhost:9696"
  api_key: "x"
indexers: # List of indexers to use. Filters out any indexers not in this list
- id: 2 # ID of the indexer in Prowlarr
  max_seeders: 0 # Maximum number of seeders to allow. 0 = no limit
  max_size: "100GB" # Maximum file size to allow. 0 = no limit
  min_leechers: 0 # Minimum number of leechers to allow. 0 = no limit
Total download size: 9999GB                                                                                             
Checking qbt connection... OK                                                                                           
Found 0 torrents in qBittorrent:                                                                                        
Used space: 0 B, Left: 10 TB                                                                                           
 Checking prowlarr connection... OK                                                                                     
 Searching for freeleech torrents...                                                                                     
Found 0 freeleech torrents:                                                                                            
 Uploading 0 torrents (0 B) to qBittorrent... 

Sorry for the lame diagnosis, didn't see a way to enable verbosity or any advanced debugging tools.

hogcycle commented 2 months ago

Oops. I made the ASSumption that prowlarr ID'd indexers iteratively. Had a non-existant indexer in my config. Anyone else debugging this, run yoink indexers --config config.yaml and make sure. Now to go write the nix module.