---
title: Deploy Jellyfin with AI on Blossom
url: "/deploy/jellyfin/"
canonical_url: https://blossom88.com/deploy/jellyfin/
markdown_url: https://blossom88.com/deploy/jellyfin.md
summary: Index a video you own, stream it privately, and resume watching after a Container
  replacement.
categories:
- deployment
- media
stack:
- C#
- ".NET"
- SQLite
- FFmpeg
---

# Deploy Jellyfin with AI on Blossom

[Jellyfin](https://jellyfin.org/) organizes and streams your media from a
private library. Try it with one video you own, or generate a clip to
check playback before bringing in your library.

## Ask Your Agent

> **Ask your AI agent:** Deploy Jellyfin on Blossom. Help me add my first video and resume it where I left off.
>
> Follow this guide: https://blossom88.com/deploy/jellyfin/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and choose a Blossom Cloud Location when you log in. You can also use [Blossom BYOC (bring your own cloud)](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#blossom-byoc).

## Have Ready

Nothing is required beyond your Blossom account.

- **A video you can stream** (Later): Use your own video or generate a sample clip during setup.

## How It Runs

| Part | Role | Where |
|---|---|---|
| Jellyfin | Index and stream your media | Blossom Persistent Service |
| Volume | Keep media, configuration and playback progress | Blossom Persistent Capacity |

## Deploy Jellyfin and Create the First Account

Run one [Persistent Service](/docs/apps/persistent-services/) with Blossom
Account access. Open Jellyfin and finish its setup wizard with a strong
administrator password.

<details class="optional-reading" markdown="1">
<summary>Image and storage settings</summary>

Build the Environment image from the
[Jellyfin Dockerfile](/deploy/recipes/jellyfin/Dockerfile) and mount the
Volume at `/data`. The image puts Jellyfin’s database and configuration
in `/data/app` and its cache in `/data/cache`. Place the media library in
`/data/media`. Jellyfin listens on port 8096.

This recipe streams an H.264 MP4 in the browser. Larger libraries,
transcoding and other video formats may need different resources.

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data jellyfin-plan.yml
    blossom service:create --data jellyfin-web.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Index a Video and Save Your Place

Add a Movies library at `/data/media`. Start with a video at least five
minutes long so Jellyfin can save a resume position under its default
settings. If you need a test file, run the
[sample clip script](/deploy/recipes/jellyfin/make-demo-clip.sh) inside
the Service. Scan the library, play the clip and stop partway through.

![Open the original Workshop Camera title.](/deploy/assets/images/jellyfin/jellyfin-saved-title.webp)

> **Ask your AI agent:** Add a video to my Jellyfin library and save a playback position I can resume.

> Follow this guide: https://blossom88.com/deploy/jellyfin/



## Resume the Same Video After Replacement

Replace the Container with the same Volume. Sign in again, open the
original title, and select **Resume**.

![Resume playing the clip from the saved position.](/deploy/assets/images/jellyfin/jellyfin-resumed-playback.webp)


> **Ask your AI agent:** Replace the Jellyfin Container and resume the same video at the saved position.

> Follow this guide: https://blossom88.com/deploy/jellyfin/



## What You Get

- A Jellyfin library behind Blossom Account access
- A video you can play over HTTPS
- The same library and playback position after replacement

Tested on Blossom: The same title and saved playhead returned after replacement. The browser resumed playing the original clip at 90 seconds.
