Jellyfin Sink
Jellyfin Sink records what you watch on Jellyfin while you watch it. A webhook plugin in Jellyfin tells Ryot when playback starts, moves on or stops, and Ryot updates your progress. When Jellyfin says you played something to the end, or you mark it as played, Ryot records it as finished.
This only covers what you watch from now on. To bring over your past watches, use the Jellyfin import. To mirror which titles you own, use Jellyfin inventory.
Before you start
Section titled “Before you start”- Your Ryot server needs a TMDB access token and a TVDB API key. Ryot checks for both before it lets you create this integration. See Movies and shows.
- You need a webhook plugin in Jellyfin. Either of these works with the same Ryot address; Ryot
detects which one sent each message:
- the official Webhook plugin, from the Jellyfin plugin catalog;
- the unofficial webhooks plugin.
Set it up
Section titled “Set it up”- In Ryot, open Settings → Integrations, select Connect a service and choose Jellyfin sink.
- Optional: under Username, enter your Jellyfin username to record only your own plays. Leave it empty to record everyone on the server.
- Under Metadata provider, keep
tmdbunless your Jellyfin library is matched with TVDB, in which case choosetvdb. - Select Continue, then Connect.
- Open the new integration from the list and copy its Webhook URL.
- Add the URL to your Jellyfin webhook plugin as shown below.
- Install Webhook from the Jellyfin plugin catalog and restart Jellyfin.
- In the plugin’s settings, add a Generic destination with the copied URL. Set the request
content type to
application/json, and add aContent-Type: application/jsonheader if the destination does not set one. - Under notification types, select Playback Start and Playback Stop. Add Playback Progress for more frequent progress updates.
- Under item types, select Movies and Episodes. Optionally limit it to your user.
- Turn on Send All Properties and save.
- In the webhooks plugin’s settings, add the copied URL.
- Choose the Default payload format and select your user.
- Select the events Play, Pause, Resume, Stop and Progress, and save.
What gets synced
Section titled “What gets synced”- Progress through movies and episodes. Other item types are ignored.
- A movie or episode is finished when Jellyfin reports it as played to completion, or when you mark it as played. Marking something as unplayed in Jellyfin does nothing in Ryot.
- With Username filled in, plays by other users are ignored.
- Episodes are recorded against their show. If Jellyfin does not send the show’s ID, Ryot looks the show up from the episode, so the show does not need to be in your library first.
Troubleshooting
Section titled “Troubleshooting”The service says “Set tvdbApiKey on your server.” Ryot needs a TVDB API key for this integration
even if you use tmdb as the metadata provider. Ask your administrator to set
RYOT_PLUGIN__RYOT__MEDIA__TVDB_API_KEY.
Runs fail with “missing a TMDB identifier”. Jellyfin has not matched that item to TMDB (or TVDB, if you chose it). Items that only have an IMDb ID cannot be recorded. Use Identify in Jellyfin to fix the match.