Real AI agent use cases, with sources and setup prompts
How to set up a Jellyfin media server with AI help (free Plex alternative): Docker, hardware transcoding, remote access
Short answer: Install Jellyfin (free, open source, current version 12.4) with Docker on a Linux mini PC or NAS, or with the native installer on Windows or macOS. Point it at folders named the way Jellyfin expects (Movies/Name (Year)/Name (Year).mkv and Shows/Show (Year)/Season 01/Show S01E01.mkv), turn on Intel Quick Sync for hardware transcoding, and install the free Jellyfin app on your TV (Android TV, Fire TV, Roku, LG, Samsung, Apple TV via Swiftfin). For watching away from home, use Tailscale instead of opening ports. Unlike Plex, remote streaming costs nothing: Plex now charges $2.99/mo (Remote Watch Pass) or $6.99/mo (Plex Pass) for it. An AI chat or coding agent can write the compose file, rename a messy library with a script you review first, and read error logs for you.
Related real builds: a Raspberry Pi that turns an old CRT TV into a home cable network with movies from a NAS, a vibe-coded watch-together extension, an Android TV box turned into an always-on agent host, and smart TVs that Claude cleaned up so they're fast enough to stream again. 21 matching use cases below, each with a public source.
Free, open-source media server for your own movies, shows, music and photos, with no account, ads or paid tier. Version 12.0 shipped Sept 2026 with a database overhaul; 12.4 (Oct 26, 2026) is the current stable release.
Official free apps for Android, Android TV and Fire TV, iOS, Roku, LG webOS, Samsung Tizen, Xbox, Kodi and desktop. Swiftfin is the official native app for iPhone, iPad and Apple TV.
Hardware that transcodes video so phones and slow connections can play anything. Jellyfin's docs recommend Intel graphics (avoid CPUs ending in F, which have none); HEVC 10-bit needs 7th gen or newer, AV1 decode 11th gen or newer.
Varies; N100-class mini PCs are a common low-power pick
Prices are from each official page, checked Oct 28, 2026; they exclude tax and can change. Swipe the table sideways on a phone.
Install Jellyfin with Docker on a Linux mini PC or NAS
About 30 minutes. Needs a Linux box (Ubuntu or Debian) that stays on, and your media on its disk or a mounted NAS share. This uses the compose file from Jellyfin's own container docs.
Install Docker and make folders. Run these on the box (or ask Claude Code to run them over SSH and explain each one):
shell
# Ubuntu or Debian: install Docker Engine with Docker's official script
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER # log out and back in after this
mkdir -p ~/jellyfin/config ~/jellyfin/cache
cd ~/jellyfin
id -u; id -g # note these numbers for 'user:' below
Write docker-compose.yml. Save this as ~/jellyfin/docker-compose.yml. Change the user numbers, the media folder and the LAN address. The media folder is read-only, so nothing in Jellyfin can delete your files.
yaml
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
user: 1000:1000 # your id -u : id -g
ports:
- 8096:8096/tcp # web UI and apps
- 7359:7359/udp # lets apps find the server on your Wi-Fi
volumes:
- ./config:/config
- ./cache:/cache
- type: bind
source: /srv/media # where your Movies and Shows folders live
target: /media
read_only: true
restart: 'unless-stopped'
environment:
- JELLYFIN_PublishedServerUrl=http://192.168.1.50:8096 # this box's LAN address
extra_hosts:
- 'host.docker.internal:host-gateway'
Start it and run the setup wizard.
shell
docker compose up -d
docker compose logs -f jellyfin # Ctrl+C to stop watching
# then open http://<this-box-ip>:8096 and follow the setup wizard
In the wizard, create an admin user with a strong password, then add a Movies library pointing to /media/Movies and a Shows library pointing to /media/Shows.
Or install without Docker. On Windows, macOS or a plain Ubuntu/Debian install, the native installer is simpler:
shell
# Ubuntu / Debian without Docker: Jellyfin's official install script
curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash
sudo systemctl status jellyfin
# Windows or macOS: download the installer from
# https://jellyfin.org/downloads/server
# (Jellyfin's docs say Docker on Windows and macOS is not supported)
Name your files so Jellyfin finds the right posters (AI rename script)
About 20-60 minutes depending on library size. This is where most new setups go wrong: wrong movie matched, episodes missing, seasons merged. Fix names before the first full scan.
Use Jellyfin's folder layout. Each movie gets its own folder named Name (Year), with the file named the same. Shows go in Show (Year)/Season 01. Adding [imdbid-...] or [tmdbid-...] forces an exact match.
Have an AI write a dry-run rename script. Paste this into Claude, ChatGPT or Claude Code with your real file list:
text
I have a media folder that Jellyfin needs renamed. Here is the output of `find /srv/media -type f | head -300`:
[paste]
Write a Python 3 script (standard library only) that renames into Jellyfin's naming scheme:
- Movies/Movie Name (Year)/Movie Name (Year).ext
- Shows/Show Name (Year)/Season 01/Show Name S01E01.ext (zero-padded seasons, never "S01" folders)
- keep subtitle files next to their video with the same base name plus language, e.g. .en.srt
- remove release-group junk like 1080p, x265, WEB-DL, [group] from names
- never use these characters: < > : " / \ | ? *
It must be a DRY RUN by default that only prints "old -> new" lines, write a CSV of every planned rename, need --apply to actually move files, never delete or overwrite anything, and list files it couldn't parse instead of guessing.
Check the CSV, then apply. Read the planned renames, fix any wrong guesses by hand, run it with --apply on a copy or a backed-up folder, then in Jellyfin go to Dashboard > Libraries and scan all libraries. For a single wrong match, use Identify on that item instead of renaming.
Turn on hardware transcoding and watch from anywhere
About 30 minutes. Needed when phones, browsers or slow connections can't play a file as-is and Jellyfin has to convert it live. Without it, a 4K HEVC file can max out the CPU.
Find the GPU's render group. On the Linux host:
shell
getent group render | cut -d: -f3 # e.g. 122
ls -l /dev/dri # should show renderD128
Pass the GPU into the container. This is the Intel setup from Jellyfin's docs. Host networking also makes DLNA and app discovery work.
yaml
services:
jellyfin:
image: jellyfin/jellyfin
user: 1000:1000
group_add:
- '122' # the render group number from above
network_mode: 'host' # replaces the ports: section
volumes:
- ./config:/config
- ./cache:/cache
- /srv/media:/media:ro
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
restart: 'unless-stopped'
Check it works.
shell
docker compose up -d
docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/vainfo # lists the codecs your GPU can do
# while a video is transcoding, watch the GPU work:
sudo apt install intel-gpu-tools
sudo intel_gpu_top
In Dashboard > Playback > Transcoding, set Hardware acceleration to Intel QuickSync (QSV), tick only the codecs vainfo listed, and save. Play a file at a lower quality in the web app and confirm intel_gpu_top shows Video activity.
Watch away from home with Tailscale. No port forwarding, no domain, nothing public:
shell
# on the Jellyfin box
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up # opens a login link
tailscale ip -4 # e.g. 100.101.102.103
# on your phone/laptop: install Tailscale, sign in to the same account,
# then use http://100.101.102.103:8096 as the server address in the Jellyfin app
Give each family member their own Jellyfin user. Under Users > Edit user you can turn remote connections on or off per person.
Copy-paste prompts
Written for this setup. Replace anything in [brackets] before you send it.
1. Plan my server before I buy anything
Before you start.
I want a Jellyfin media server. Here's my situation: library size [e.g. 4 TB, 300 movies, 40 shows], typical files [e.g. 1080p H.264, some 4K HEVC HDR], who watches [e.g. 4 people, 2 at once, sometimes away from home], devices [e.g. LG TV, Fire Stick, iPhones], what I already own [old laptop / NAS model / nothing], budget [$]. Recommend hardware (with Quick Sync generation needed for my codecs), storage layout, whether to use Docker or the native installer, and a step-by-step plan. Flag anything that would force CPU transcoding.
2. Write my compose file
You're on the Docker path.
Write a docker-compose.yml for the official jellyfin/jellyfin image. My user id/group id: [id -u / id -g]. Media is at [path, or NAS share and how it's mounted]. GPU: [Intel model, or none]; render group id: [number]. I want: media mounted read-only, config and cache in ~/jellyfin, restart unless-stopped, and [host networking for DLNA / normal port mapping]. Explain every line in one sentence each, and tell me the exact commands to start it and check the logs.
3. Fix my messy library names
Posters are wrong or episodes are missing.
Jellyfin matched these items wrong or missed them: [paste item names or a file listing]. Using Jellyfin's naming rules (Movies/Name (Year)/Name (Year).ext, Shows/Show (Year)/Season 01/Show S01E01.ext, optional [imdbid-tt...] or [tmdbid-...]), give me the exact new name for each one, and tell me which ones I should fix with Identify in Jellyfin instead of renaming.
4. Why is this video buffering?
Playback stutters or a file won't play.
A video buffers or fails in Jellyfin. Client: [app and device]. File info from Jellyfin's Media Info or `ffprobe`: [paste]. Playback info / transcode reason from Dashboard > Activity or the ffmpeg log in Dashboard > Logs: [paste]. My server: [CPU/GPU, hardware acceleration setting, Docker or native]. Tell me whether it's direct playing or transcoding, the exact reason, and the smallest fix (client setting, enabling a codec, a subtitle burn-in issue, or remuxing the file).
5. Review my remote access for safety
Before family members use it outside the house.
Review my Jellyfin remote access plan: [describe, e.g. Tailscale only / reverse proxy with Caddy on a domain / port forward]. List what is exposed to the internet, the risks for each, and the safest setup that still works on [TVs / phones / a relative's house]. Include per-user settings I should change in Jellyfin (remote access, admin rights, deleting media, max bitrate).
6. Migrate from Plex without losing watch history
You're moving from Plex.
I'm moving from Plex to Jellyfin. Plex runs on [OS], library paths [paths], [N] users. Give me a step-by-step migration: set up Jellyfin side by side on the same media (read-only), match libraries, how to carry over watched status (name the tool or plugin and say if it's official or community-made), which Plex features have no Jellyfin equivalent, and a checklist to confirm everything works before I turn Plex off.
7. Set up a weekly health check
Once it's running.
Write a bash script for my Jellyfin Docker host that checks: the container is running, disk space on [media and config paths] is under 85%, the last backup of ~/jellyfin/config is less than 7 days old, and the newest jellyfin/jellyfin image version vs what's running. It should only print a short report, never update or restart anything itself, and tell me how to run it weekly with cron.
Safety checklist
Back up ~/jellyfin/config before every major upgrade. Jellyfin 12.0's notes warn that its database changes can't be rolled back without a full restore, and that third-party plugins should be removed before migrating.
Mount media read-only and never give an AI agent write access to your only copy of the library. Run AI-written rename scripts as a dry run first.
Don't port-forward 8096 to the internet. Use Tailscale, or a reverse proxy with HTTPS if you know how to secure one.
Give family members non-admin users, and turn off 'allow media deletion' for everyone but you.
Only serve media you have the right to copy and share. Sharing a library outside your household can break copyright law.
A retro fan plugged a Raspberry Pi into an old TV and pointed Claude at it. It now runs his own cable network with internet streaming, live weather and movies from his NAS, plus a phone remote he built.
A builder had Claude Code inspect the Android TV box from his TV provider from a prompt and one photo, install a Linux shell built for its chip, add a wake lock and battery whitelist so Android cannot kill the agent, and wire the agent to his own Telegram bot with no open ports.
A user's parents had an old Android TV that was slow and full of ads. Claude cleaned it up and built them a new home screen from scratch; he shared the exact steps and the prompt to do it on your own TV.
His TV had become unbearably slow, so he spent an afternoon with Claude Code connected to it. It disabled 25 preinstalled bloat apps, replaced the 192 MB stock launcher with a custom 83 MB one and added rotating wallpapers.
He found TizenTube Cobalt, an open-source app that looks like official YouTube TV but has no ads and skips sponsor segments with SponsorBlock, and says you can just tell Claude to set it up.
FourVork posted steps for stopping a TV from spying without getting an account banned: use a less restricted model such as GLM 5.3 or an abliterated Qwen through OpenRouter or Venice, make sure the TV and computer are on the same network, then install a coding agent to do the work.
After an unwanted webOS update, a dad spent a couple of weekends having four different models write new TV software, using WebRTC to cut latency; all the code was written by the models.
After the Android TV guides, his team published an interactive guide for using Claude Code to remove unwanted apps from an Android phone, check background activity, block ads with Private DNS and undo any change.
TechCrunch rounded up the trend: people point Claude Code or another agent at open-source repos like dumbtv and cleanyourtv to remove sponsored rows, ACR viewing trackers and bloat from Android TV, Google TV and Fire TV sets, often swapping in a cleaner launcher.
He built a SuperDisplay alternative for macOS that makes his Samsung tablet work as a secondary display, plus a specialized video streaming host and client and an Android TV app to cast it.
His TV showed an ad before he could even open Netflix, so he let Claude Code talk to it from his Mac. One evening later the ads and sponsored rows were gone, and every change can be reversed. He published a step-by-step guide plus the mistakes that cost him an hour.
After seeing Claude Code strip a 2 GB Android TV over Wi-Fi (11 apps gone, about 90% more free RAM, a 12 MB home screen), she tried the same on her Samsung TV and wrote up what differs on Tizen.
The follow-up to the viral parents'-TV post shares the exact prompt, the launcher source and the gotchas the builder hit, so anyone can point their own coding agent at an Android TV or Google TV and get the same clean home screen.
A developer's parents' Xiaomi TV showed a sponsored ad before you could even reach Netflix. He gave Claude Code the TV's model number; it found the set on the home Wi-Fi, disabled 25 Xiaomi packages and wrote a new Apple TV-style launcher. He later published the prompt and launcher as the open-source cleanyourtv project.
He sent Claude Code the store listing for his TV and asked 'can you hack this?'. The agent walked him through removing ads, bloatware and tracking, sped up the menus and built a custom screensaver showing his revenue, calendar, weather and new Stripe payments.
Most TV cleanup guides only cover Android TV, but with Claude's help and some trial and error he customized his Samsung TV running Tizen. He also used AI to blur device details in his photos before sharing.
How do you set up a Jellyfin media server with AI help (free Plex alternative): Docker, hardware transcoding, remote access?
Install Jellyfin (free, open source, current version 12.4) with Docker on a Linux mini PC or NAS, or with the native installer on Windows or macOS. Point it at folders named the way Jellyfin expects (Movies/Name (Year)/Name (Year).mkv and Shows/Show (Year)/Season 01/Show S01E01.mkv), turn on Intel Quick Sync for hardware transcoding, and install the free Jellyfin app on your TV (Android TV, Fire TV, Roku, LG, Samsung, Apple TV via Swiftfin). For watching away from home, use Tailscale instead of opening ports. Unlike Plex, remote streaming costs nothing: Plex now charges $2.99/mo (Remote Watch Pass) or $6.99/mo (Plex Pass) for it. An AI chat or coding agent can write the compose file, rename a messy library with a script you review first, and read error logs for you.
Is Jellyfin really free?
Yes. Jellyfin is free and open source with no premium tier, account or ads. Hardware transcoding, remote access, apps and multiple users are all free, which is the main difference from Plex.
Jellyfin vs Plex: which should I use?
Plex is more polished and easier for non-technical relatives, but remote streaming now needs a Remote Watch Pass ($2.99/mo) or Plex Pass ($6.99/mo, $749.99 lifetime since July 2026). Jellyfin costs nothing and keeps everything on your hardware, but you do more setup yourself, which is where an AI assistant helps.
What hardware do I need for Jellyfin?
Any always-on computer works for direct play. If devices need transcoding, use an Intel CPU with Quick Sync (not an F model): 7th gen or newer for HEVC 10-bit, 11th gen or newer for AV1 decode. N100-class mini PCs are a popular low-power choice.
Can I run Jellyfin on Windows or a Mac?
Yes, with the native installer from jellyfin.org. Jellyfin's docs say running it in Docker on Windows or macOS is not supported, so use Docker only on Linux.
How do I watch Jellyfin away from home safely?
Install Tailscale on the server and your devices and connect to the server's Tailscale address on port 8096. Nothing is exposed to the internet. Roku and some TVs can't run Tailscale; for those, a reverse proxy with HTTPS is the usual option.
Which Jellyfin version should I install in Oct 2026?
12.4 is the current stable release (Oct 26, 2026). If you're on 10.10.7 or 10.11.x you can upgrade directly to 12; back up your config first and run a full library scan afterwards, as the 12.0 notes require.
Can AI organize my movie files for Jellyfin?
Yes. Give an AI chat your file list and ask for a dry-run rename script using Jellyfin's naming rules (prompt above). Review the planned renames, then apply them on a backed-up copy.
Which AI tools do people use to set up a Jellyfin media server with AI help (free Plex alternative): Docker, hardware transcoding, remote access?
Across the 21 sourced use cases in this guide, the most used tools are Claude Code, Android TV, ADB, Claude, AI coding agent.
How much does it cost to get started?
0 of the 21 use cases can start on a free plan. The most common paid starting price is $17/mo (10 use cases). Prices come from each tool's official pricing page.
How long does setup take?
6 of the 21 use cases list a setup time of an hour or less. Each card shows the setup time the builder reported.
Are these real examples?
Yes. Every use case links to its public source (an X post, a Hacker News thread or a GitHub repo) with the author and date, so you can check it yourself.
The Daily 5
Liked this guide? Get five new use cases tomorrow morning
Five new real AI use cases every morning. Free. Unsubscribe any time.