Jellyfin at home: what it took to run, and why I switched it off
Jellyfin is a free, open-source media server. You point it at a folder of films and shows, and it gives you posters, plot summaries, resume points and apps for phones and TVs. I ran it for a few months on the old laptop that hosts the rest of my homelab. This is what the setup looked like, what tripped me up, and why it is now switched off.
The setup
Jellyfin runs in Docker, managed with Docker Compose. The library lives on an external USB drive, formatted NTFS. The laptop has an Intel chip with Quick Sync, so I passed the graphics device into the container and let Jellyfin use it for transcoding. That matters on a low-power machine: without hardware transcoding, one phone asking for a smaller stream can pin the CPU.
Jellyfin only scans the folders you give it. I used one folder each for films, TV, anime films, anime series and home videos. Films follow the usual naming, Title (Year)/Title (Year).mkv, with subtitles beside them.
Trap 1: the drive has to be there before Docker
At first the drive was mounted by the desktop when I logged in. That works until the machine reboots with nobody logged in. Then Docker starts, Jellyfin starts, and it finds an empty folder where the library should be. Nothing errors. The library just looks empty.
The fix was an /etc/fstab entry for the drive with two options: nofail, so a missing drive doesn’t stop the boot, and x-systemd.before=docker.service, so the drive mounts before Docker starts. I tested it by unmounting, mounting again from fstab and checking the container could still see the files.
Trap 2: movies is not Movies
The NTFS driver on Linux treats folder names as case-sensitive. At one point there was a movies folder sitting next to Movies. Files dropped into the lowercase one never appeared in Jellyfin, again with no error. It caught me twice before I spotted it. If a library item is missing, check the case of every folder in its path.
Trap 3: Compose that silently did nothing
The container had first been created with a plain docker run. Later I wrote a Compose file for it. docker compose stop then reported success and did nothing, because Compose only manages containers it created. Recreating the container from the Compose file fixed it.
Free live TV
The part I enjoyed most was live TV. The iptv-org project keeps public lists of free, legal TV streams from around the world. Many of them are dead at any given moment, so I wrote a small Python script that:
- probes every stream and drops the ones that don’t answer,
- matches the rest to XMLTV guide data so they get a schedule,
- writes a playlist and a guide file that Jellyfin reads as a tuner.
One run left 289 working channels, 107 of them with a programme guide. It ran every night.
Two more things I learned there. Jellyfin reads its live TV settings only at startup, so after editing them you have to restart it. And Jellyfin gives live channels new IDs whenever the container is recreated, which silently empties any collection you built from them. I ended up with a script that rebuilt the channel collections every hour.
Browsing over a thousand channels in the stock interface was painful, so I added a country, category and search picker with the JavaScript Injector plugin. The source lives in a file on disk and a small script pushes it into the plugin.
Why I switched it off
In October I looked at the logs and saw nobody had watched anything in over two months. The server, the drive and the nightly jobs were all running for nothing. So I stopped the container, paused its scheduled jobs and powered the drive off. Nothing was deleted, and turning it back on takes a few commands.
The films did not disappear from the house, though. I later built my own small TV app for the living room, and it reads the metadata Jellyfin had already saved (posters, plots, episode numbers) straight from its database, read-only. Jellyfin did the hard part once, and its work is still in use while the server itself stays off.
If you’re setting one up
- Mount the media drive from fstab, before Docker, with
nofail. - Check folder name case before blaming Jellyfin.
- Create the container with Compose from day one.
- Pass the GPU through if you have one.
- Look at your watch history after a month. If nobody uses it, it’s fine to switch it off.