Skip to content

Integrations

An integration connects Ryot to another app so your library stays up to date without you lifting a finger: what you watch in Plex, read in Komga or play on Spotify shows up in Ryot on its own. Integrations run on your Ryot server, either when the other app sends something or on a schedule.

To bring over your past history in one go, use an import instead. Many people do both: import their history once, then add an integration for everything after that.

Every integration works in one of three ways. Ryot shows the kind as a badge next to each integration.

Webhook (sink)

The other app sends each play to Ryot as it happens. Ryot gives you a private address (a webhook URL) to paste into the other app.

Scheduled (yank)

Ryot checks the other app regularly, every five minutes by default, and brings across what is new.

Push

Ryot sends changes out to the other app, such as adding a movie to Radarr when you add it to a collection.

  1. Open Settings → Integrations and select Connect a service.
  2. Under Choose a service, pick the app. Services that need something set up on your server first say so in the list.
  3. Under Provide the details, fill in what the app needs, such as its address and an API key. Below that, How Ryot syncs it holds the common settings.
  4. Select Continue, check the summary under Review and connect, then select Connect.
  5. For a webhook integration, open it from the list under Connected and copy its Webhook URL into the other app. The page for each service explains where.

Each service’s page below has the exact steps and what it needs.

Every integration has these settings under How Ryot syncs it:

Setting What it does
Disabled Pauses this integration. It keeps its settings but stops processing.
Name An optional name, handy when you have two of the same kind.
Disable on continuous errors Turns the integration off by itself after it keeps failing. See When things go wrong.
Minimum progress Progress below this percentage is ignored. Default 2.
Maximum progress Progress above this percentage counts as finished. Default 95.

The progress settings let you ignore an accidental few seconds of playback, and treat a movie as watched when you skip the end credits. Push integrations and the Data webhook do not have them.

  • Sync now: select Sync all above your integrations to run every active scheduled integration right away. Webhook and push integrations already react as things happen.
  • Pause one integration: open it, turn on Disabled and select Save changes.
  • Pause everything: turn on Pause integrations at the top of the page. This stops all integration processing for your account until you turn it off again.
  • See what it did: open an integration to see its Recent runs. Each run opens a report like an import report, with what was added and anything that failed.
  • Delete: open the integration, select Integration actions and then Delete integration. It stops syncing and its settings are removed. Anything it already added stays in your library.

A run fails when Ryot cannot finish it, for example because the other app is unreachable or a token has expired. Single records that could not be matched do not fail the run; they show up as issues in its report.

With Disable on continuous errors turned on (it is off by default), Ryot turns the integration off by itself after its last five runs have all failed, and sends you a notification that it was disabled. Set up a notification channel to receive it. Fix the cause, then turn off Disabled to start again. Cancelled runs do not count as failures.

While an integration, or all integrations, are paused, webhooks that arrive are recorded as failed runs (“Integration paused”) and their data is not added.

Sink integrations are shown with a Webhook badge. The other app sends data to Ryot at a private address that looks like this:

https://<your-ryot-address>/_i/<secret-token>
  • Ryot accepts webhook bodies sent as application/json or multipart/form-data, and rejects other content types.
  • If an integration still needs setup on the server when a webhook arrives, Ryot holds the delivery for up to seven days and processes it once setup is complete. Its report shows Waiting for setup and what is missing. After seven days the delivery expires; fix the setup and send it again. Held deliveries do not count as failures.

Yank integrations are shown with a Scheduled badge. Ryot checks each active one every five minutes by default. Your administrator can change this with SCHEDULER_FREQUENT_CRON_JOBS_SCHEDULE (see Configuration). A scheduled check skips an integration until its setup is complete.

Push integrations are shown with a Push badge. They act when something changes in your Ryot library. Push integrations have no run history; if the other app cannot be reached, the change is not sent again.

These integrations need Ryot Pro:

A service says “Set … on your server.” The integration needs a key or token that only the server administrator can set. The page for that service names it; see Configuration for how to set it. Then select Check setup again.

Nothing arrives from a webhook integration. Open the integration and check Recent runs. If there are no runs at all, the other app is not reaching Ryot: check the webhook URL and that the other app can reach your Ryot address. If runs show issues, open them to see why.

A scheduled integration shows “Never synced”. Select Sync all, then open the integration and check its latest run.