Skip to content

Path Mapping

When Sonarr says /data/series/Frieren/Season 01/E01.mkv and Sublarr’s container only has /media/series/Frieren/Season 01/E01.mkv mounted, Sublarr needs to translate the prefix. Path Mapping is that translation table — one or more prefix-replacement rules applied to every path Sonarr or Radarr hands over.

SetupNeed a mapping?
Sonarr, Radarr, and Sublarr in the same docker-compose mounting the same volume at the same pathNo — paths already match.
Sonarr in one container at /data/series, Sublarr at /media/seriesYes — replace /data/series → /media/series.
Sonarr on a different host (NFS-mounted into Sublarr)Yes — replace the remote path with the local mount point.
Standalone mode (no Sonarr/Radarr)No — Sublarr reads paths directly from disk.

Each row is one prefix-replacement rule. Of the rules whose remote path contains the file, the one with the longest remote path is applied, whatever order the rows are in.

FieldEffect
Remote PathThe folder Sonarr/Radarr uses. A rule matches that folder and everything inside it.
Local PathWhat to replace it with. Must exist inside Sublarr’s container.

Add Mapping adds a row, the bin icon removes one. The rules apply to every connected *arr instance.

SideHow to find it
Source prefixOpen Sonarr/Radarr → Series → any episode → “File path”. Take the path up to but not including the series folder.
Target prefixInside Sublarr’s container, run ls on the same series and copy the path up to the same point.

The two prefixes typically share a common suffix — that’s the part you keep. The differing leading parts are what the rule rewrites.

Sonarr pathMappingSublarr path
/data/series/Frieren/.../data/series → /media/series/media/series/Frieren/...
Z:\Anime\Frieren\E01.mkvZ:\Anime → /media/anime/media/anime/Frieren/E01.mkv
\\NAS\series\Frieren\...\\NAS\series → /mnt/nas/series/mnt/nas/series/Frieren/...

Test Path Mapping at the bottom of the section takes a real Sonarr/Radarr path and shows what Sublarr translates it to, plus whether that file exists:

ResultMeaning
✓ File existsSublarr can read the file.
✗ File not foundEither no rule matched (the path is shown unchanged), or the mapping is correct in shape but the local path isn’t actually mounted. Check the rule and your Docker volumes.
SymptomLikely causeFix
Sublarr “can’t find” Sonarr episodesMapping prefix doesn’t match Sonarr’s actual pathsUse Test with a real Sonarr path to confirm.
Some series work, others don’tSonarr has multiple root folders; only one is mappedAdd a rule per root folder.
Mapping works for movies but not seriesSonarr and Radarr use different roots; only one is mappedAdd a rule for each root.
A path is rewritten by the wrong ruleOverlapping rules; the first match in the list winsMove the more specific rule above the general one, or remove the redundant one.

This page maps Sonarr/Radarr’s paths to Sublarr’s. When Plex, Jellyfin, Emby, Kodi or Shoko see the files under yet another path, that is set per server in its Path Mapping field under Settings → Connections → Media servers — from:to pairs from Sublarr’s path to the server’s, separated by ;, where the longest match wins and only whole folders match.

Path Mapping lives at Settings → Connections → Path mapping. The same editor appears in step 4 of the onboarding wizard so you can set up the most common mapping while connecting your *arr instances.