2128 words
11 minutes
How to Build a Personal Media Library

Background#

Everything started in March 2023 after the Chia mining crash, when used enterprise hard drives flooded the market at bargain prices. I picked up a 14 TB Toshiba MG08 and a 16 TB Western Digital HC550. Originally I only planned to put them in my desktop PC, but the urge to tinker took over—I bought an HP EliteDesk 800 G3 (i3-7100T) to use as a NAS, installed Xpenology (DSM), and discovered Jellyfin for the first time.

Around the same time, a colleague built a beefy DIY server running Proxmox VE (PVE). Seeing an open-source, free hypervisor capable of running both VMs and containers, I bought a dual-bay Intel N100 mini PC as an All-in-One (AIO) box (honestly, the “ultra-low power” marketing was a bit misleading—under real load it draws about the same power and performs roughly on par with the i3-7100T) and installed PVE on it. Since FnOS wasn’t out yet, I settled on OpenWrt as the main router + an Xpenology VM + several LXC containers.

That same colleague later introduced me to the *Arr suite—a completely free, open-source ecosystem that automates almost every aspect of media management. Inspired by his setup, I put together the stack documented below.

Preface#

  • All services in my setup run inside Debian 12 LXC containers (using the default root user). Compared to full VMs, LXC containers use fewer resources and offer better performance. Even better, instead of dedicating an entire GPU via PCIe passthrough to a single VM, multiple LXC containers can share the host GPU simultaneously (for example, LXC01 running Jellyfin hardware transcoding while LXC02 runs Immich GPU-accelerated smart search at the same time).
  • Every service is deployed via Docker to keep the LXC containers clean and make data backups/migrations effortless. Most images come from LinuxServer.io, which are actively maintained and well-supported by the community.
  • Prefer Docker Compose over docker run so configurations are documented and easy to start, stop, and maintain.
  • This guide focuses on practical setup, configuration tips, and real-world behavior rather than deep theoretical internals.
  • Whenever you run into an unexpected config issue, don’t hesitate to ask AI—it often knows even more edge cases than I do.

Architecture#

  • qBittorrent: BitTorrent download client
  • Prowlarr: Centralized indexer manager
  • Sonarr: TV series & anime manager
  • Radarr: Movie manager
  • Lidarr: Music manager
  • Jellyfin: Media server & player
  • Bazarr: Subtitle manager
  • Seerr: Media request frontend

framework

Architecture Diagram
Mermaid Diagram Source (Click to expand)
graph LR
User((User)) -->|Request| Seerr[Seerr]
Seerr -->|Send Task| Arr{Sonarr / Radarr}
subgraph Acquisition
Arr <-->|Indexer Search| Pro[Prowlarr]
Arr -->|Send Torrent| QB[qBittorrent]
end
QB -->|Download Complete| Folder[(Media Library)]
Folder <-->|Sync Status| Arr
subgraph Post-Processing
Folder -->|Mount / Stream| JF[Jellyfin]
Folder -->|Manage Subtitles| Baz[Bazarr]
end
JF -->|Stream| User

qBittorrent#

qBittorrent is a free, open-source BitTorrent client with a full-featured WebUI that easily handles all downloading needs for a personal media library.

qbit_webui

qBittorrent WebUI

Installation#

Follow the LinuxServer qBittorrent documentation. After starting the container, run docker logs qbittorrent to find the temporary initial password, and change it immediately after logging in.

qBittorrent Docker Compose Example (Click to expand)
---
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- WEBUI_PORT=8080
- TORRENTING_PORT=6881 # Change if needed; some private trackers block port 6881
volumes:
- /path/to/qbittorrent/appdata:/config
- /path/to/downloads:/downloads
network_mode: host
restart: unless-stopped

Configuration Tips#

  • Use host networking: Eliminates an extra NAT layer for better performance and automatically exposes the LXC container’s IPv6 address (avoiding Docker bridge IPv6 headaches).

qbit_get_ipv6

qBittorrent acquiring an IPv6 address
  • Open your listening port: Consider picking a high port instead of the default 6881. Set up port forwarding for IPv4 and allow the port through the firewall for IPv6 (IPv6 doesn’t need NAT port forwarding—just firewall ingress). Test reachability with Port Forwarding Tester and check the connection icon in the WebUI status bar. Avoid UPnP for security reasons and configure rules manually.
  • Auto-append tracker lists (qBittorrent 5.1+): Enable automatic tracker list fetching from URLs to discover more peers and improve download speeds.

qbit_auto_add_trackers

Automatically appending trackers to new downloads
  • Speed & seeding limits: To avoid saturating your home upload bandwidth or triggering ISP throttling, set sensible upload speed caps and auto-stop torrents once a target share ratio is reached.

qbit_limit_speed

qBittorrent speed limit settings

Beyond these tweaks, qBittorrent’s defaults work great out of the box.

Sonarr#

Sonarr manages TV shows and anime—automatically searching indexers via Prowlarr, sending downloads to qBittorrent, and organizing/renaming completed episodes for Jellyfin.

sonarr_webui

Sonarr WebUI

Installation#

Refer to the LinuxServer Sonarr documentation.

Sonarr Docker Compose Example (Click to expand)
---
services:
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
volumes:
- /path/to/sonarr/data:/config
- /path/to/tvseries:/tv # Jellyfin TV library folder
- /path/to/downloadclient-downloads:/downloads # qBittorrent downloads folder
network_mode: bridge
ports:
- 8989:8989
restart: unless-stopped

You can switch the UI language under Settings → UI if desired.

sonarr_set_chinese

Changing the UI language in Sonarr

Configuring the Download Client#

  • Go to Settings → Download Clients, click +, select qBittorrent, and enter its host, port, and credentials.
  • If qBittorrent and Sonarr run in separate LXC containers (recommended for isolation), add a Remote Path Mapping under Settings → Download Clients: set Host to the qBittorrent host, Remote Path to qBittorrent’s download path, and Local Path to the matching path inside Sonarr.
  • Once a download finishes and Sonarr imports it into your library, Sonarr will automatically remove the torrent and source file after qBittorrent finishes seeding.

sonarr_remote_path_mapping

Remote Path Mapping in Sonarr

Tips for Anime#

  • Set the Series Type to Anime when adding anime shows for much better episode matching.

sonarr_select_anime_type

Setting Series Type to Anime in Sonarr
  • Use Release Profiles & Tags to filter for specific subtitles (e.g., Simplified Chinese) or preferred fansub groups.

sonarr_select_chs_resources

Filtering for Simplified Chinese subtitle releases

sonarr_select_sub_resources

Filtering for specific fansub groups

Manual Import#

Sometimes Sonarr cannot automatically match a release due to non-standard naming or missing metadata. For example, if I want to watch a newly aired episode right away, I can grab it manually from Mikan, download it in qBittorrent, and assign Sonarr’s category to the torrent. It will then appear under Activity → Queue in Sonarr for one-click manual import and renaming.

sonarr_manual_tag

Assigning the Sonarr category manually in qBittorrent

sonarr_manual_import

Manual import in Sonarr

Notifications#

Under Settings → Connect, you can set up notifications (such as a Telegram bot) to alert you whenever new episodes finish downloading.

Radarr#

Radarr is the movie counterpart to Sonarr—handling automated movie searching, downloading via qBittorrent, and library organization for Jellyfin.

radarr_webui

Radarr WebUI

Installation#

Follow the LinuxServer Radarr documentation. The UI and workflow closely mirror Sonarr.

Radarr Docker Compose Example (Click to expand)
---
services:
radarr:
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
volumes:
- /path/to/radarr/data:/config
- /path/to/movies:/movies # Jellyfin movie library folder
- /path/to/download-client-downloads:/downloads # qBittorrent downloads folder
network_mode: bridge
ports:
- 7878:7878
restart: unless-stopped

Configuring the Download Client#

Same steps as Sonarr.

Configuration Tips#

  • Radarr supports customizable movie naming formats, including localized/Chinese titles (unlike Sonarr, which does not support renaming episodes with Chinese titles).

radarr_rename_movie

Radarr movie naming settings

Lidarr#

Lidarr handles music library management in the *Arr stack. Note that Lidarr is album-centric rather than single-track-centric, so whether it fits your workflow depends on how you organize music.

lidarr_webui

Lidarr WebUI

Installation#

Follow the LinuxServer Lidarr documentation.

Lidarr Docker Compose Example (Click to expand)
---
services:
lidarr:
image: lscr.io/linuxserver/lidarr:latest
container_name: lidarr
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
volumes:
- /path/to/lidarr/config:/config
- /path/to/music:/music # Jellyfin music library folder
- /path/to/downloads:/downloads # qBittorrent downloads folder
network_mode: bridge
ports:
- 8686:8686
restart: unless-stopped

Configuring the Download Client#

Same steps as Sonarr.

Importing Music Tips#

  • Lidarr pulls metadata from MusicBrainz. Because many artists share identical album titles, it’s best to look up the album’s release-group ID on MusicBrainz first and search by that ID inside Lidarr.

lidarr_musicbrainz_search

Searching on MusicBrainz

lidarr_search_music

Searching by release-group ID in Lidarr
  • Because music releases vary widely in quality and indexers generally have weaker music coverage, I prefer manually importing music files into Lidarr so I can verify quality and completeness.

lidarr_copy_music

Copying music files to the import directory

lidarr_import_music

Manual import in Lidarr

lidarr_rename_music

Renaming imported music in Lidarr

Music Sources#

  • Nyaa: Primarily anime torrents, including anime soundtracks and OSTs.
  • Apple Music: Mainstream streaming catalog; can be downloaded with tools like gamdl (requires an active subscription).
  • KHInsider: Video game soundtracks; supports batch downloading via tools like KhinsiderDownloader.
  • Hi-Res Tieba: Community-shared lossless music links (quality varies).
  • Feishin: Sleek web/desktop music player with Jellyfin support.

feishin_webui

Feishin WebUI
  • Music Assistant: Aggregates Jellyfin, Apple Music, Spotify, QQ Music, NetEase Cloud Music, and more into one interface.

music-assistant

Music Assistant WebUI
  • Symfonium: Feature-rich Android music player with Jellyfin support.
  • Manet: Native Apple music player for Jellyfin with Liquid Glass UI support.

Prowlarr#

Prowlarr centralizes indexer management across the entire *Arr stack. Compared to Jackett, Prowlarr automatically syncs your indexers to Sonarr, Radarr, and Lidarr without having to copy-paste URLs and API keys into each app individually.

prowlarr

Prowlarr WebUI

Installation#

Follow the LinuxServer Prowlarr documentation.

Prowlarr Docker Compose Example (Click to expand)
---
services:
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
container_name: prowlarr
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
volumes:
- /path/to/prowlarr/data:/config
network_mode: bridge
ports:
- 9696:9696
restart: unless-stopped

Adding Applications#

Go to Settings → Apps, click +, and add Sonarr, Radarr, and Lidarr with their URLs and API keys so Prowlarr automatically pushes indexer updates to them.

prowlarr_add_program

Connecting Sonarr, Radarr, and Lidarr in Prowlarr

Configuration Tips#

  • Prowlarr supports most Private Tracker (PT) indexers out of the box.
  • Public indexers work well for international movies and TV shows; for domestic Chinese media, private trackers are usually much more reliable.
  • For anime, Nyaa, dmhy, and Mikan cover the vast majority of releases.

prowlarr_add_index

Adding indexers in Prowlarr

sonarr_index

Indexers automatically synced to Sonarr

Jellyfin#

Jellyfin is a free, open-source media server supporting web, mobile, and smart TV clients, complete with user management, hardware transcoding, and plugins.

jellyfin

Jellyfin WebUI

Installation#

Follow the LinuxServer Jellyfin documentation.

Jellyfin Docker Compose Example (Click to expand)
---
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel|linuxserver/mods:universal-package-install # Intel OpenCL mod for GPU tone-mapping + universal-package-install for CJK fonts (see https://github.com/linuxserver/docker-jellyfin/issues/161)
- INSTALL_PACKAGES=fonts-noto-cjk-extra
volumes:
- /path/to/jellyfin/library:/config
- /path/to/tvseries:/data/tvshows
- /path/to/movies:/data/movies
devices:
- /dev/dri:/dev/dri # Mount GPU device for hardware transcoding
network_mode: host
restart: unless-stopped

Hardware GPU Transcoding#

With /dev/dri mounted, enable hardware acceleration in Jellyfin’s Dashboard → Playback → Transcoding settings, checking only the codecs your GPU actually supports (e.g., older GPUs do not support AV1 hardware decoding). Also point Transcode path to a partition with plenty of free space (such as your media volume) so temporary transcode files never fill up your root filesystem.

jellyfin_transcode_setting

Jellyfin hardware transcoding settings

jellyfin_play

Playback info: transcoding on the left (368 fps) vs. direct play on the right—any transcode rate above the source framerate plays smoothly

Configuration Tips#

  • Match each Jellyfin library’s content type (TV Shows, Movies) to the folders organized by Sonarr/Radarr for clean metadata scraping.
  • Check Jellyfin’s logs whenever troubleshooting transcoding issues.
  • If you want danmaku (scrolling comments) during playback, check out jellyfin-danmaku.

jellyfin_danmu

Danmaku overlay in Jellyfin

Bazarr#

Bazarr integrates with Sonarr and Radarr to automatically search for, download, and manage subtitles across multiple providers and languages.

bazarr

Bazarr WebUI

Installation#

Follow the LinuxServer Bazarr documentation.

Bazarr Docker Compose Example (Click to expand)
---
services:
bazarr:
image: lscr.io/linuxserver/bazarr:latest
container_name: bazarr
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
volumes:
- /path/to/bazarr/config:/config
- /path/to/movies:/movies
- /path/to/tv:/tv
network_mode: bridge
ports:
- 6767:6767
restart: unless-stopped

Automated Chinese subtitle matching in Bazarr works reasonably well for movies (especially via OpenSubtitles), though it is hit-or-miss for anime despite supporting Zimuku and Assrt. Since ChineseSubFinder has been discontinued (announcement), I continue using Bazarr.

For multi-episode anime, I batch-rename downloaded subtitle files to SxEPx format (using Windows PowerToys’ PowerRename) and bulk-upload them into Bazarr—Bazarr automatically matches each subtitle to its episode and renames it cleanly for Jellyfin.

power_rename

Batch-renaming subtitles with PowerToys PowerRename

bazarr_import_sub

Bazarr auto-matching episodes during bulk subtitle import

bazarr_rename_sub

Bazarr automatically renames imported subtitles for Jellyfin

Bazarr also supports AI-based subtitle generation (Whisper), though I haven’t tried it yet on an N100.

Subtitle Sources#

Seerr#

Seerr provides a clean WebUI for browsing and requesting movies and TV shows, integrating directly with Jellyfin, Sonarr, and Radarr.

seerr_webui

Seerr WebUI

Installation#

Follow the official Seerr documentation.

Seerr Docker Compose Example (Click to expand)
---
services:
seerr:
image: ghcr.io/seerr-team/seerr:latest
init: true
container_name: seerr
environment:
- LOG_LEVEL=debug
- TZ=Asia/Tashkent
- PORT=5055
ports:
- 5055:5055
volumes:
- /path/to/appdata/config:/app/config
network_mode: bridge
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1
start_period: 20s
timeout: 3s
interval: 15s
retries: 3
restart: unless-stopped

Configuration Tips#

  • Generate an API key in Jellyfin and configure Jellyfin’s URL and API key inside Seerr.
  • Configure default anime tags in Seerr’s Sonarr integration so requested anime automatically inherits your Chinese-subtitle release profile.

seerr_sonarr_config

Auto-applying tags for anime requests in Seerr

End-to-End Demo#

seerr_request_movie

Requesting a movie in Seerr

radarr_fetch_movie

Radarr locates a matching release via Prowlarr and sends it to qBittorrent

jellyfin_play_movie

After download, Radarr imports and renames the file, and Jellyfin scrapes metadata ready for playback

Similar Tools & Projects#

  • MoviePilot: An all-in-one personal media library automation suite (requires private tracker authentication).
  • ani-rss: Focused RSS-based anime auto-downloader that pairs with qBittorrent.
  • awesome-arr: A curated list of tools and companions in the *Arr ecosystem.

Final Thoughts#

Everyone has different viewing habits—some prefer lightweight streaming setups like LunaTV with imported sources, while others enjoy curating a full self-hosted library. Whatever approach you choose, the goal is the same: being able to watch and listen to what you love anytime. I hope this guide helps—happy watching! Feel free to reach out via email if you have questions or better tips to share.

How to Build a Personal Media Library
https://blog.chauyin.com/en/posts/how-to-setup-personal-media-library/
Author
Chauyin
Published at
2026-01-21