For Plex and Sonarr · Free & open source

Your files say S10E11.
Plex should too.

Episodarr makes Plex number your TV episodes exactly the way Sonarr names your files, with the right title and summary for each one. One small container, and Plex and Sonarr finally agree.

Harbor Lights

Season 2 · 6 files from Sonarr

    TMDB counts the two-parter as one episode, so 4 of 6 files show the wrong episode, and the last one has no details at all. Every file shows the episode Sonarr says it is. The example show and its titles are made up.

    Why it exists

    Two databases, two ways of counting episodes

    Sonarr names your files using TheTVDB's episode order. From 3 December 2026 Plex no longer uses TheTVDB, and its own TV agent follows TMDB's order instead. For most shows the two agree. For some, they don't.

    1. 1

      Episodes get shifted

      When TMDB merges a two-parter or orders a season differently, every later episode moves along by one, so Plex shows the wrong title for your files.

    2. 2

      Episodes go missing

      When TMDB doesn't list an episode at all, Plex has nothing to match the file to, so the file shows up as a bare "Episode 6" with no summary.

    3. 3

      Episodarr lines them up

      Episodarr hands Plex the same episode list Sonarr already uses, so every file gets its own title back. There's no TheTVDB key to set up.

    How it works

    A small container Plex asks for episode details

    Episodarr is a Plex "custom metadata provider": a service Plex asks, instead of its own servers, for a show's seasons, episode numbers, titles and summaries. Episodarr answers with what Sonarr already knows.

    Sonarr

    Already knows every episode in TheTVDB's order. It's the same order it used to name your files.

    Episodarr

    Turns Sonarr's episode list into the details Plex asks for, filling only the gaps it's sure about.

    Plex

    Shows S10E11 as S10E11. Plex Series, second in the agent, adds cast, genres and theme music.

    TMDB as a backup

    Fills in missing titles, summaries and pictures, with a free key.

    TVmaze as a second backup

    Fills in whatever TMDB couldn't find, with no key needed at all.

    Safety first

    Gaps are only filled when air dates line up. A wrong title is worse.

    Features

    Built to be trusted with your library

    Sonarr's numbering

    Numbers, titles, summaries and air dates come from Sonarr, including specials TMDB doesn't have.

    Careful gap-filling

    Missing details come from TMDB or TVmaze only when the air dates and the nearby episodes agree.

    Poster keeper

    Saves every poster, background and thumbnail before you switch a library, then puts them back.

    Health page

    A simple page with a green or red box saying if Sonarr, TMDB and TVmaze can all be reached.

    Episode data report

    Shows what came complete from TheTVDB, what was filled in, and why any gap was left alone.

    Read-only and tidy

    Never runs as root, keeps your keys out of its logs, and turns away anything but TV libraries.

    Getting going

    Three steps to episodes that match

    1. 1

      Run it next to Sonarr

      A small Docker container that reads your episode lists from Sonarr. Point it at Sonarr and it's ready.

    2. 2

      Add it to Plex

      Add Episodarr as a metadata provider, then put it first in a TV agent with Plex Series behind it.

    3. 3

      Watch it line up

      Refresh the library and every file shows the episode Sonarr says it is, with its own title and summary.

    Run it on your own server

    Episodarr is a single container that sits on your home network between Sonarr and Plex. No accounts, no cloud, and it only ever reads. Full setup steps, every setting and the guide to switching an existing library live on GitHub.

    • Runs in Docker with a single compose file
    • Needs Plex Media Server 1.43 or newer
    • Works with Sonarr v4, no TheTVDB key
    • Stays on your home network, never root

    FAQ

    Questions, answered

    Does Episodarr change my files or my Sonarr?

    No. It only reads from Sonarr and answers Plex's questions about your shows. Your files, folders and Sonarr settings are never touched.

    Do I need a TheTVDB account?

    No. Sonarr already gets TheTVDB's episode lists, and Episodarr reads them from Sonarr. A free TMDB key is optional and only used to fill gaps.

    What happens to the posters I picked by hand?

    Switching an existing library to a new agent can reset them. Episodarr's poster keeper saves every poster, background and episode thumbnail before the switch and puts them back after it.

    Can I use it for movies or music?

    No, it's for TV libraries only. If another kind of library ever asks, Episodarr turns the request away, so it never gives movies or music any details.

    What about shows Sonarr doesn't manage?

    Episodarr has nothing to give them, so they keep the details they already have in Plex but won't get updates. Adding them to Sonarr fixes that.

    Can I reach it from outside my home?

    Please don't. Plex can't send a login to a metadata provider, so Episodarr has none. Keep it on your home network, and don't forward its port or put it behind a public reverse proxy.

    Can I switch back?

    Yes. Set the library's agent back to the one it had, refresh it, and use the poster keeper's saved copy to put your posters back.

    Support Development

    Episodarr is free and always will be. If it saved you from a season of mislabelled episodes, you can throw a few dollars at ongoing development, or at another hard drive for the server that is definitely not running out of room.

    Buy me a coffee