brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Colon Replacement Format decides how Sonarr writes a colon in a file name

Arr-suite
~/tips/tip-sonarr-colon-replacement-format

cat ~/tips/tip-sonarr-colon-replacement-format.md

Chooses what Sonarr puts in a file name where the title has a colon.

Windows and some network shares do not allow a colon in a file name, so a title like a show with a subtitle needs something else. Sonarr has a setting for what that something is.

You find it under Settings, Media Management, in the episode naming section. The Servarr wiki describes Colon Replacement Format as the choice of how colons are handled in episode names. The options are:

  • Delete: removes the colon, giving Series Title Part 1
  • Dash: Series Title-Part 1
  • Space Dash: Series Title -Part 1
  • Space Dash Space: Series Title - Part 1
  • Smart: replaces a colon followed by a space with a space, dash and space, and any other colon with a dash. This is the default.
  • Custom: your own replacement string

I like Space Dash Space or the default Smart for a library that Jellyfin or Plex reads, because the file names stay easy to read. The wiki also notes that Replace Illegal Characters does the work for the full list of characters that are not allowed (: \ / > < ? * | "). If you uncheck it, Sonarr removes them instead of replacing them, so the colon setting only matters while it is on.

The caveat is that a change only affects the names Sonarr creates from now on, as far as I can tell from the settings page. Files that are already on disk keep their old names until you rename them, and a rename moves real files, so try it on one series first. Pick the format before you build a large library, because anything else that points at the file names by path, such as a script or a backup job, has to follow a rename.

Further reading: Sonarr settings, Servarr wiki

Going deeper: Guide: link Prowlarr to Sonarr and Radarr once, and stop typing indexers into every app

More Arr-suite tips Scene S01E01-E02-E03 Minimum Seeders Add {edition-{Edition Tags}} to the Radarr movie format for director's cuts Sonarr: None, Local Release, UTC Release Date Prowlarr does not sync download clients, so add one only for searches inside Prowlarr All Arr-suite tips (56) All topics

Link