mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-18 13:54:03 +02:00
68 lines
1.7 KiB
Markdown
68 lines
1.7 KiB
Markdown
# Indexers
|
|
|
|
Indexer settings are configured in the `[indexers]` section of your `config.toml` file. MediaManager supports both Prowlarr and Jackett as indexer providers.
|
|
|
|
## Prowlarr (`[indexers.prowlarr]`)
|
|
|
|
* `enabled`\
|
|
Set to `true` to enable Prowlarr. Default is `false`.
|
|
* `url`\
|
|
Base URL of your Prowlarr instance.
|
|
* `api_key`\
|
|
API key for Prowlarr. You can find this in Prowlarr's settings under General.
|
|
* `timeout_seconds`\
|
|
Timeout in seconds for requests to Prowlarr. Default is `60`.
|
|
|
|
!!! warning
|
|
Symptoms of timeouts are typically no search results ("No torrents found!") in conjunction with logs showing read timeouts.
|
|
|
|
<details>
|
|
|
|
<summary>Example timeout log</summary>
|
|
|
|
```none
|
|
DEBUG - media_manager.indexer.utils -
|
|
follow_redirects_to_final_torrent_url():
|
|
An error occurred during the request for <some-url>:
|
|
HTTPConnectionPool(host='<some-host>', port=<some-port>):
|
|
Read timed out. (read timeout=10)
|
|
```
|
|
|
|
</details>
|
|
|
|
***
|
|
|
|
## Jackett (`[indexers.jackett]`)
|
|
|
|
* `enabled`\
|
|
Set to `true` to enable Jackett. Default is `false`.
|
|
* `url`\
|
|
Base URL of your Jackett instance.
|
|
* `api_key`\
|
|
API key for Jackett. You can find this in Jackett's dashboard.
|
|
* `indexers`\
|
|
List of indexer names to use with Jackett.
|
|
* `timeout_seconds`\
|
|
Timeout in seconds for requests to Jackett. Refer to the Prowlarr section for details.
|
|
|
|
***
|
|
|
|
## Example Configuration
|
|
|
|
```toml title="config.toml"
|
|
[indexers]
|
|
[indexers.prowlarr]
|
|
enabled = true
|
|
url = "http://prowlarr:9696"
|
|
api_key = "your_prowlarr_api_key"
|
|
timeout_seconds = 60
|
|
|
|
[indexers.jackett]
|
|
enabled = false
|
|
url = "http://jackett:9117"
|
|
api_key = "your_jackett_api_key"
|
|
indexers = ["1337x", "rarbg"]
|
|
timeout_seconds = 60
|
|
```
|
|
|