Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

Commit 476d42b

Browse files
authored
Merge pull request #100 from kiranshila/develop
Develop
2 parents 0f9027e + 6b8b4a3 commit 476d42b

3 files changed

Lines changed: 16 additions & 10 deletions

File tree

deps.edn

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{:paths ["src" "resources"]
22

3-
:deps {org.clojure/clojure {:mvn/version "1.11.0"}
3+
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
44
io.aviso/pretty {:mvn/version "1.1.1"}
55
org.clojure/core.cache {:mvn/version "1.0.225"}
66
yogthos/config {:mvn/version "1.2.0"}
77
com.rpl/specter {:mvn/version "1.1.4"}
88
org.suskalo/discljord {:git/url "https://github.com/kiranshila/discljord"
9-
:git/sha "b6e29d4b8f3e77462016a6b60af01357e1415345"}
9+
:git/sha "b66cdbed645ff052dd5f18361a0a7722a4860304"}
1010
expound/expound {:mvn/version "0.9.0"}
1111
org.clojure/core.async {:mvn/version "1.5.648"}
12-
cheshire/cheshire {:mvn/version "5.10.2"}
12+
cheshire/cheshire {:mvn/version "5.11.0"}
1313
fmnoise/flow {:mvn/version "4.2.1"}
1414
hato/hato {:mvn/version "0.8.2"}
1515
com.taoensso/timbre {:mvn/version "5.2.1"}
16-
camel-snake-kebab/camel-snake-kebab {:mvn/version "0.4.2"}}
16+
camel-snake-kebab/camel-snake-kebab {:mvn/version "0.4.3"}}
1717

1818
:jvm-opts ["-Dconfig=config.edn"]
1919

2020
:aliases {:build {:extra-paths ["build"]
2121
:deps {io.github.seancorfield/build-clj
22-
{:git/tag "v0.8.0" :git/sha "9bd8b8a"}}
22+
{:git/tag "v0.8.3" :git/sha "7ac1f8d"}}
2323
:ns-default build}}}

docs/configuration.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,19 @@ old system.
2323

2424
## Sonarr/Radarr
2525

26-
All you need here are the API keys from `Settings->General`
26+
All you need here are the API keys from `Settings->General`.
27+
For these backends, you need to set the `SONARR__URL` and `SONARR__API`
28+
environment variables or `:sonarr/url` and `:sonarr/api` config file entries to
29+
their appropriate values The URLs _must_ contain the leading protocols (i.e.
30+
`http://` or `https://`).
2731

2832
## Overseerr
2933

3034
Sonarr/Radarr and Overseerr are mutually exclusive - you only need to configure
3135
one. If you are using Overseerr, your users must have associated discord IDs, or
32-
the request will fail.
36+
the request will fail. For this backend, you will set `OVERSEERR__URL` and
37+
`OVERSEERR__API`, just like radarr and sonarr. Again, this is set _instead of_
38+
the values for radarr/sonarr.
3339

3440
As a note, this bot isn't meant to wrap the entirety of what Overseerr can do, just the
3541
necessary bits for requesting with optional 4K and quota support. Just use the
@@ -38,14 +44,14 @@ web interface to Overseerr if you need more features.
3844
## Optional Settings
3945

4046
| Environment Variable (Docker) | Config File Keyword | Type | Default Value | Description |
41-
|--------------------------------|--------------------------------|---------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------|
47+
| ------------------------------ | ------------------------------ | ------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
4248
| `DISCORD__MAX_RESULTS` | `:discord/max-results` | Integer | `25` | Sets the maximum size of the search results selection |
4349
| `DISCORD__REQUESTED_MSG_STYLE` | `:discord/requested-msg-style` | Keyword | `:plain` | Sets the style of the request alert message. One of `:plain :embed :none` |
4450
| `SONARR__QUALITY_PROFILE` | `:sonarr/quality-profile` | String | N/A | The name of the quality profile to use by default for Sonarr |
4551
| `RADARR__QUALITY_PROFILE` | `:radarr/quality-profile` | String | N/A | The name of the quality profile to use by default for Radarr |
4652
| `SONARR__ROOTFOLDER` | `:sonarr/rootfolder` | String | N/A | The root folder to use by default for Sonarr |
4753
| `RADARR__ROOTFOLDER` | `:radarr/rootfolder` | String | N/A | The root folder to use by default for Radarr |
48-
| `SONARR__SEASON_FOLDERS` | `:sonarr/season-folders` | Boolean | `false` | Sets whether you're using season folders in Sonarr |
54+
| `SONARR__SEASON_FOLDERS` | `:sonarr/season-folders` | Boolean | `false` | Sets whether you're using season folders in Sonarr |
4955
| `SONARR__LANGUAGE_PROFILE` | `:sonarr/language-profile` | String | N/A | The name of the language profile to use by default for Sonarr |
5056
| `OVERSEERR__DEFAULT_ID` | `:overseerr/default-id` | Integer | N/A | The Overseerr user id to use by default if there is no associated discord account for the requester |
5157
| `PARTIAL_SEASONS` | `:partial-seasons` | Boolean | `true` | Sets whether users can request partial seasons. |

src/doplarr/config.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@
8686

8787
(defn available-backends [env]
8888
(cond-> #{}
89+
(:overseerr/url env) (conj :overseerr)
8990
(:radarr/url env) (conj :radarr)
9091
(:sonarr/url env) (conj :sonarr)
91-
(:overseerr/url env) (conj :overseerr)
9292
(:readarr/url env) (conj :readarr)
9393
(:lidarr/url env) (conj :lidarr)))
9494

0 commit comments

Comments
 (0)