Automate Media Downloads for Your Plex Library

Published 2026-10-16 · PlexBeam

An automated media pipeline watches for new releases, downloads them, renames files to Plex naming conventions, organizes them into the correct folders, and triggers a Plex library scan — all without manual intervention. The core tools are Sonarr for TV shows, Radarr for movies, and a download client that handles the actual file transfers. This guide covers how to set up the complete automation stack.

The Automation Stack

A fully automated Plex media pipeline uses these components:

Installation

Docker (Recommended)

Running the automation stack in Docker provides clean isolation, easy updates, and consistent configuration. Each tool runs in its own container:

Native Installation

Sonarr, Radarr, and Prowlarr run natively on Windows, Linux, and macOS. Download installers from their official websites. The tools run as services and start automatically on boot.

Prowlarr Setup

Set up Prowlarr first — it feeds indexers to Sonarr and Radarr:

  1. Access Prowlarr's web interface (default port 9696).
  2. Add indexers that your download client supports. Each indexer represents a source of content listings.
  3. Connect Prowlarr to Sonarr and Radarr: in Prowlarr Settings, Apps, add each application with its URL and API key.
  4. Prowlarr automatically syncs your indexer list to both Sonarr and Radarr. When you add or remove an indexer in Prowlarr, the change propagates to all connected apps.

Sonarr Configuration

Connect to Download Client

  1. Go to Settings, Download Clients in Sonarr.
  2. Add your download client (qBittorrent, SABnzbd, etc.) with its URL, port, and credentials.
  3. Test the connection to verify Sonarr can communicate with the download client.

Root Folders

Tell Sonarr where your Plex TV library lives:

  1. Go to Settings, Media Management, Root Folders.
  2. Add the path to your TV show library (e.g., /media/tv/ or D:\Media\TV Shows\).
  3. This is where Sonarr places completed and renamed files.

Quality Profiles

Quality profiles control what Sonarr downloads. Configure profiles that match your Plex setup:

Set preferred words in quality profiles to favor specific attributes: prefer HEVC over H.264 for smaller files, prefer specific audio formats, or avoid specific release groups.

Adding TV Shows

  1. Search for a show by name in the Sonarr interface.
  2. Select the correct match from the results.
  3. Choose the quality profile, root folder, and whether to monitor future episodes, all episodes, or none.
  4. Sonarr begins monitoring the show. When a new episode airs, Sonarr searches for it and downloads it automatically.

Plex Integration

Connect Sonarr to Plex for automatic library updates:

  1. Go to Settings, Connect.
  2. Add Plex Media Server with your server URL and Plex authentication token.
  3. When Sonarr imports a new episode, it notifies Plex to scan the specific show directory. The new episode appears in Plex within seconds of import.

Radarr Configuration

Radarr follows the same pattern as Sonarr but for movies:

  1. Connect to your download client (same client Sonarr uses).
  2. Set the root folder to your Plex movie library path.
  3. Configure quality profiles — same concepts as Sonarr.
  4. Connect to Plex for automatic library scans.
  5. Add movies to your wishlist. Radarr searches for them and downloads when available.

Movie Discovery

Radarr includes lists that automatically add movies to your collection:

Lists run on a schedule — Radarr checks them periodically and adds new entries to your collection automatically.

Naming Conventions

Both Sonarr and Radarr rename downloaded files to match Plex naming conventions automatically. The default rename patterns produce Plex-compatible names, but verify the settings match your preferred style:

Sonarr Default

{Series Title} - S{season:00}E{episode:00} - {Episode Title}

Produces: Breaking Bad - S01E01 - Pilot.mkv

Radarr Default

{Movie Title} ({Release Year})

Produces: Inception (2010).mkv

Radarr also creates the movie folder automatically in the same format.

Hardlinking and Storage

When properly configured, Sonarr and Radarr use hardlinks instead of copying files. A hardlink creates a second filesystem reference to the same data — the file appears in both the download directory and the Plex library without using double the disk space.

Requirements for hardlinking:

Monitoring and Maintenance

Activity Monitoring

Both Sonarr and Radarr show real-time download activity, upcoming releases, and import history in their web interfaces. Check these dashboards periodically to verify the automation is working.

Failed Downloads

Downloads can fail for various reasons — incomplete files, corrupt archives, or removed sources. Sonarr and Radarr automatically retry failed downloads by searching for alternative sources. Configure the retry limit and delay in Settings.

Disk Space

Monitor disk space carefully. Automated downloads fill storage quickly, especially with high-quality profiles. Configure:

Security Considerations

Troubleshooting

Downloads Complete But Do Not Appear in Plex

Wrong Quality Downloaded

Duplicate Downloads

Need Expert Help?

Our team at PlexBeam is here for you.

Learn More

Related guides

More from LuxuriousComputers: LuxuriousComputers · Computer Repair · Remote Fix · Phone Repair · HVAC · Plex Support