Silo request plugin for Seerr
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-24 20:21:24 -05:00
.github ci(release): release 0.2.2 through the shared signed workflow (#15) 2026-11-13 16:13:29 -05:00
internal fix(limits): harden the Silo admin sync and throttle the defaults check 2026-11-24 20:20:38 -05:00
CONTRIBUTING.md ci(release): release 0.2.2 through the shared signed workflow (#15) 2026-11-13 16:13:29 -05:00
go.mod chore(deps): update silo-plugin-sdk to v0.35.0 2026-11-24 17:26:02 -05:00
go.sum chore(deps): update silo-plugin-sdk to v0.35.0 2026-11-24 17:26:02 -05:00
LICENSE chore: migrate plugin to Silo Community 2026-07-09 14:49:24 -04:00
main.go feat(limits): keep server-wide limits and Silo sync settings in the plugin-wide config 2026-11-24 20:05:28 -05:00
main_test.go fix(limits): leave Seerr limits alone by default and let Seerr decide series 2026-11-24 20:19:29 -05:00
manifest.json fix(limits): leave Seerr limits alone by default and let Seerr decide series 2026-11-24 20:19:29 -05:00
README.md docs(limits): describe keep, the movie-only pre-check and the sync limits 2026-11-24 20:20:52 -05:00
SECURITY.md chore: migrate plugin to Silo Community 2026-07-09 14:49:24 -04:00

Silo Requests: Seerr

A Silo request_router.v1 plugin that fulfills content requests by submitting them to a Seerr (Overseerr/Jellyseerr- compatible) instance. Seerr manages its own Sonarr/Radarr; this plugin is a thin adapter.

Origin

This is a modified version of Silo-Community/silo-plugins-requests-seerr, copyright its contributors, taken at upstream commit 3e08a5d. It adds upstream PR #14 (quality profile and root folder per request) and changes by Exikle from 2026-11-24 onward; the git history records each change. It is not the Community plugin and is not supported by its maintainers.

It stays under the GNU Affero General Public License v3.0, the same as upstream. See LICENSE.

Connection config

Each connection carries a Seerr base URL + API key (host chrome) and these plugin settings:

  • Attribute requests to (requester_mode): the API-key owner, or the Seerr user matching the Silo requester's email (created if missing).
  • This Seerr has a separate 4K server (supports_4k): whether a 4K copy is its own request to Seerr's 4K server. See How requests map.
  • Movies and Series: the Radarr or Sonarr server, quality profile and root folder requests get. See Choosing the server, quality profile and root folder.
  • Request limits: how many movies and series seasons a person may request. The server-wide limits and Silo admins (who is a Seerr admin) are plugin settings, not connection settings. See Request limits and Silo admins as Seerr admins.

Request limits

Limits are edited in Silo's own forms and written to Seerr. Seerr enforces them. Movie limits count requests; series limits count seasons, as Seerr does, so a request for three seasons uses three. A limit is a number per window of days, "Unlimited", or a default. A connection that sets no limit changes nothing in Seerr.

There are two places, because a Silo routing rule replaces connection values before the plugin sees them, and a rule must not be able to change Seerr's server-wide limits:

Where Fields What the plugin does
The plugin's own settings (Silo, Plugins, this plugin), shared by every connection default_movie_limit, default_movie_limit_days, default_series_limit, default_series_limit_days Writes them to Seerr's default request limits (Settings, General) on every connected Seerr when they differ. It checks when you test a connection, and from Fulfill and CheckStatus at most once every 15 minutes per connection (at once after the settings change), so a change reaches Seerr at the next of those after Silo restarts the plugin. Keep Seerr's setting leaves Seerr's own value alone. Silo's global settings form has no live option lists, so these selects do not show Seerr's current value and the plugin does not copy it back (see below).
A connection, or a routing rule that matches one account (requester_user_ids) movie_limit, movie_limit_days, series_limit, series_limit_days Writes them to the requester's Seerr user before the request, when they differ from what Seerr has. On the connection they apply to everyone on that Seerr; in a rule they are that person's limits. Leave this person's Seerr limit alone (keep, the default, and what a missing key means) touches nothing, so limits set by hand in Seerr stay. Use the server-wide limit (default) resets the person to the server-wide limits. The "server-wide" options show Seerr's current limit.
  • Rules are per media type, so a movie request writes only the movie pair and a series request only the series pair.
  • Seerr ignores the limits of a user who is an admin or can manage users, so the plugin leaves those users alone. In admin mode (requests made as the API key's owner) it does no per-person work.
  • Only a field that is not on "keep" is written, and the person's record is read again right before the write, with nothing written when it already matches. A change made to the same person in Seerr between that read and the write is overwritten with what was read; the next request of that type writes the wanted values again.
  • Seerr's current server-wide limits are not copied into the plugin's settings. Silo's SetGlobalConfigEntry would not restart the plugin, but it would turn "Keep Seerr's setting" into a fixed value that the plugin then pushes back over any later change made in Seerr.
  • A movie request from someone Seerr reports as over their movie limit (restricted) is not sent: the target fails at once with a message such as Movie limit reached: 5 movies per 7 days, 0 left. Series are not checked first, as Seerr drops specials and seasons already requested or available before it counts, so Seerr alone decides.
  • When the plugin refuses a movie, or Seerr answers a request with a limit refusal (HTTP 403 "Quota exceeded"), the plugin first looks for a request or series Seerr already has for the title, as it does for a duplicate, and tracks that. Only when it finds nothing is the target failed (never a retry), with the limit message when the person is restricted and Seerr's own words otherwise.

Silo admins as Seerr admins

Seerr's limits do not apply to its admins. With Silo admins are Seerr admins on (in the plugin's own settings, not a connection), the plugin gives every enabled Silo admin a matching Seerr user (by email) Seerr's admin permission, on every connected Seerr, and takes it back when the account stops being an admin. It reads Silo's accounts with GET /api/v2/admin/users, using a Silo admin API key and Silo address from the same settings. The plugin cannot reach Silo's accounts any other way.

  • It applies only to connections that attribute requests to Silo users (mapped mode). A connection in admin mode is never swept or synced.
  • It syncs the requester on each request, and every Silo admin at most once every 15 minutes from CheckStatus, and whenever you test a connection. Each call to Silo gives up after 5 seconds, and a slow or failing Silo never fails or holds back a request.
  • It records each user it promotes, with their earlier permissions, in the plugin's instance state (kept by Silo). Only a recorded user is ever demoted, so a Seerr admin you made by hand stays one. Demotion removes the admin permission and keeps the rest.
  • It never changes Seerr's first user (the API key's owner), and it does not create Seerr users for admins who have none.
  • If Silo cannot be read (including a page list that cannot be followed), nothing changes. A record of promoted users that cannot be decoded stops the sync for that connection with an error instead of being replaced.
  • A wrong plugin-wide setting is reported by Test connection, which names it, not by every connection's save.
  • The Silo API key is a plugin-wide secret setting: Silo stores it encrypted and does not return it. It is deliberately not a connection setting, as Silo returns a connection's settings in plain text.

API key requirement

The API key (Settings → General in Seerr) must belong to a Seerr admin / auto-approve user. Silo is the sole approval authority; requests created via the API auto-approve and hand off to Seerr's Sonarr/Radarr immediately. A non-admin key would leave requests pending in Seerr (visible as queued in Silo that never advances). TestConnection (GET /api/v1/auth/me) surfaces an invalid key.

How requests map

How a title's qualities become Seerr requests depends on This Seerr has a separate 4K server (supports_4k):

  • Off (the default): each title becomes one standard Seerr request (is4k: false), whatever qualities Silo asks for. A Radarr or Sonarr server holds one copy of a title and its quality profile decides the resolution, so one server can serve both HD and 4K: pick a quality profile that allows 4K. When Silo asks for an HD and a 4K copy, both of Silo's targets follow that one request and complete together.
  • On: each quality is its own Seerr request. The 2160p one is sent with is4k: true and goes to the Radarr or Sonarr that Seerr marks as 4K, so Seerr tracks both versions of a title. This is what earlier versions did, and a connection that had the switch on keeps working as before.

Turn the switch on only if Seerr has a 4K server: Seerr refuses an is4k: true request without one.

  • series → Seerr mediaType: "tv" with the requested season numbers, or seasons: "all" when Silo asks for the whole series; movies use mediaType: "movie". Media is identified by TMDB id.
  • Seerr requests only the listed seasons it does not already have or track. When none are left it answers "No seasons available to request", so repeating a request adds nothing.
  • A duplicate (HTTP 409, or no seasons left) is treated as already-queued; the plugin recovers the existing Seerr request id of that tier so Silo can track it. The existing request keeps the server, profile and folder it was made with. For a season request it picks a request for one of the listed seasons, never one known to be for other seasons only.
  • When Seerr has the listed seasons with no request behind them (the series was added in Sonarr or found by a library scan), the target follows the series' seasons instead of a request.
  • A season request is complete when every listed season Seerr knows is available. Other seasons of the series do not hold it back, and a request for other seasons does not complete or fail it.
  • Seerr drops season 0 (specials) unless its "Enable special episodes" setting is on. A request for only season 0 then fails with that reason; with other seasons listed, season 0 is left out.
  • Download progress covers the whole series tier, not only the listed seasons.

Choosing the server, quality profile and root folder

Seerr sends a request to its default Radarr or Sonarr server, with the quality profile and root folder set for that server in Seerr, unless the request names others. The connection's Movies and Series sections name them:

Field Applies to Sent to Seerr as
radarr_server_id movies serverId
radarr_profile_id movies profileId
radarr_root_folder movies rootFolder
sonarr_server_id series serverId
sonarr_profile_id series profileId
sonarr_root_folder series rootFolder
radarr_4k_server_id, radarr_4k_profile_id, radarr_4k_root_folder 4K movie requests, with a separate 4K server serverId, profileId, rootFolder
sonarr_4k_server_id, sonarr_4k_profile_id, sonarr_4k_root_folder 4K series requests, with a separate 4K server serverId, profileId, rootFolder
  • Each select lists what Seerr has. Seerr default (the value default) keeps Seerr's own choice and sends nothing; its label shows what that currently is. On a route, it forces Seerr's own choice for that rule.
  • Quality profiles and root folders belong to a server. The selects list those of the server picked in the same section, or of Seerr's default server. After picking another server, test the connection to load its profiles and folders.
  • Seerr's override rules still run, but only fill what a request leaves unset: a profile or folder chosen here wins over a rule.
  • A profile or folder chosen for Sonarr also applies to anime, in place of the anime profile and folder set in Seerr. Use a Silo routing rule on anime to send anime elsewhere.
  • Silo request routes can override these fields per rule. A rule that matches a genre, a requester or older titles can pick another profile or folder without a second Seerr. Silo's rule editor shows these fields on every rule: a Movies rule uses only the Radarr fields and a Series rule only the Sonarr ones, so leave the others on Server default. Silo asks the plugin once per quality tier. Without a separate 4K server, a rule whose HD and 4K destinations differ gets the one that is asked first; give both the same settings.
  • A server Seerr does not have, a server of the other tier (a 4K server for standard requests or the reverse), or a profile or folder the server does not have, fails the request's targets with a message saying which field is wrong. Seerr would otherwise use its own default without saying so. Saving the connection checks the picks when Seerr responds; an unreachable Seerr does not block saving. Optional lookups share a ten-second budget and return earlier when the caller's deadline is shorter.
  • The plugin's TestConnection RPC also checks the picks. Silo's current web Test button loads the choices instead, so its success message does not confirm that the selected values are valid or Seerr is reachable.
  • Checking a profile or folder asks Seerr for the server's details, and Seerr asks Radarr or Sonarr. A request therefore fails, and Silo retries it, while that server is down. A connection left on Seerr default makes no such call.
  • An existing request is reused only when its stored server id matches an explicit selection. A different or unknown destination fails with a message; changing a route does not move a request already submitted to Seerr.
  • Seerr can reuse an id after a server is deleted. Check the connection and route selections whenever you replace a Radarr or Sonarr server in Seerr.

Who chooses the profile and folder

By default every request gets the profile and folder set on the connection, or a routing rule's. Next to each of those four settings is a chosen by select (radarr_profile_chosen_by, radarr_folder_chosen_by, sonarr_profile_chosen_by, sonarr_folder_chosen_by):

  • Admin (the setting above): nobody picks; the setting applies. This is the default.
  • Requester: Silo's request dialog offers every quality profile (or root folder) of the Radarr or Sonarr server the request would go to. An admin can change the pick when approving.
  • Admin on approval: the admin picks when approving the request.

A pick replaces the connection's setting and a routing rule's for that request. The setting itself stays the preselected value, and it applies when nobody picks: requests from a result card or the watchlist, requests approved automatically, and several requests approved at once. A routing rule can override who chooses, like any other select.

  • This needs a Silo server that supports request options (its GET /api/v2/requests/status reports request_options_supported). An older server ignores these selects.
  • Silo checks a pick against the lists the plugin reports, so a requester can only send a profile or folder Seerr lists for that server. The plugin checks it again when it submits.
  • With Requester, everyone who may request sees the choices, including folder paths. Keep the folder on Admin or Admin on approval if paths should stay private.
  • Silo offers the choice when it can name the one server a title goes to: a single Seerr connection, or the server a routing rule sends the title's HD copy to. Requests made from a card, and from a client that does not know request options, use the connection's settings.
  • To let only some people choose, or to choose for them, use routing rules on the requesting account instead.

Download progress

While a request is queued or downloading, the plugin reports how far its downloads are: a phase, the bytes left, and the estimated completion time. Seerr supplies them on the request's media (downloadStatus, or downloadStatus4k for a 4K request). Its Download Sync job refreshes them from the Radarr and Sonarr queues, every minute by default.

  • Turn on Enable Scan for each Radarr and Sonarr server configured in Seerr. Download Sync polls only those servers, so Silo shows no progress for the others.
  • Seerr reads only the first 10 items of each queue (seerr-team/seerr#3360). On a busy queue a download can be missing, so progress is best effort.
  • A season pack counts once, although Sonarr lists it under every episode.
  • While any of a request's downloads has no known size yet, the size and bytes left are reported as 0, so Silo shows no percentage rather than an overstated one.
  • Seerr keeps each download's queue status but not Radarr and Sonarr's import state. A finished download shows as importing even when its import needs attention in Radarr or Sonarr.

Build / test

go build ./... && go test ./...

Community maintenance

This is an approved community plugin maintained in the Silo-Community organization. Use GitHub Issues for support and bug reports. Security reports should follow SECURITY.md.

The plugin consumes the published silo-plugin-sdk; CI rejects machine-local SDK replacement directives.

Releases

Releases are signed with GitHub artifact attestations. CONTRIBUTING.md describes how maintainers cut a release and how to verify a downloaded binary.

License

Licensed under AGPL-3.0. See LICENSE.