matinee

module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: AGPL-3.0

README

Matinee

Matinee is a fast, free and open source, self-hosted media server for your movies, TV, music, audiobooks and podcasts. Point it at your folders and it does the rest: tidy libraries, artwork and details, and smooth playback on any screen. No ads, and no account on someone else's server.

Coming from Plex? Matinee brings your watch history over: watched marks, places to resume from, ratings, collections and the posters you uploaded, matched to the same files.

matinee.yeix.io has the user guide, with screenshots of every feature.

Latest release Donate to Matinee

Home in the web player

A movie's page, with its details, badges and cast The next episode coming up as the credits start Filtering a library by genre, decade, rating, quality and more Profiles for everyone in the house

Home in the phone app A movie in the phone app Home in the TV app

Status: early. The server and web player work end to end, and the phone and TV apps are on the way to the App Store and Google Play.

Try it in one line

docker run -d --name matinee -p 7171:7171 -v ./data:/data -v /path/to/media:/media:ro ghcr.io/yeixio/matinee:latest

Open http://localhost:7171, create the admin account and add your folders. There's also a Mac app, a Windows installer, apt and dnf packages, Homebrew, a Helm chart, and steps for Unraid, TrueNAS SCALE and ZimaOS.

Works with

What it does

  • Libraries for movies, TV and music. Point it at folders; it names things from the file and folder names (Movie (2021), Show/Season 1/Show - S01E02.mkv, Artist/Album/01 Track.flac), reads music tags, and picks up poster.jpg, fanart.jpg and cover.jpg next to your files.
  • New files show up in seconds. Matinee watches library folders and adds what you copy in, rename or delete a few seconds after the copy finishes, scanning just that file or folder. Folders on this machine's own disks announce changes as they happen; network shares (SMB, NFS) don't, so Matinee checks those every 30 seconds by looking at each folder's modification time, which is cheap even on a big library. A full rescan every 15 minutes catches the rest. Settings → New files shows how each library is watched.
  • Plays anywhere. Files the browser can play stream as-is, with instant seeking. Anything else is converted on the fly with FFmpeg to HLS. H.264 video is repackaged, not re-encoded, so it costs almost no CPU.
  • Subtitles from the file itself or from files next to it (Movie.en.srt, Movie.en.forced.srt, .vtt, .ass). Text subtitles are drawn by the player; Blu-ray and DVD picture subtitles are burned into the video while converting. The player remembers your language from one episode to the next.
  • Skips intros and credits, and offers the next episode as the credits start. Guides: intros, credits.
  • Watch together: friends and family on other devices follow one shared session, so everyone sees the same moment. Guide.
  • Picks up where you left off. Resume points, watched marks, Continue Watching and Recently Added, per person.
  • Collections. Smart collections fill themselves from rules, using the same filters as the library pages ("unwatched 80s action", "kids movies under 90 minutes"), and follow each person's own watched state. Keep collections by hand too, find box sets like a trilogy filled in from TMDB, and pin any collection to Home or a library page as a row, sorted by any field or shuffled daily. New servers start with Recently added, Unwatched and Short enough for tonight.
  • Music with a player that keeps going while you browse.
  • Podcasts straight from each show's own feed, with no account anywhere. Find shows with a free Podcast Index key or by feed address, bring them over from another app with OPML, follow the ones you like and get their new episodes on Home. Episodes play in the audiobook player, with speed, skips, a sleep timer and your place saved. Guide.
  • Knows what's in every file. In the background, Matinee slowly reads each file for its resolution, HDR (HDR10, HDR10+, HLG, Dolby Vision), codecs and bitrates, audio channels, Atmos and languages, and subtitles. The essentials show as badges on each title and as library filters (4K, HDR, Dolby Atmos…); everything else is under File details. It reads one file at a time at the lowest priority, waits while someone's watching something being converted, and looks at a file again only when it changes, so network shares stay responsive. Admins can see its progress, or slow it down or pause it, under Settings.
  • Posters and descriptions from TMDB with a free API key (how to get one). Your own artwork files always win, and everything else works without a key.
  • Search as you type.
  • People: an admin plus as many accounts as you like, each with their own history.
  • Profiles and kids mode: one sign-in, or the Home account on your network, can have profiles that each keep their own progress, watch list and theme, with "Who's watching?" when the app opens and an optional 4-digit PIN. Kids profiles see only titles rated for them (Little kids, Kids or Teens, from TMDB's age ratings for your country) in the libraries you pick, and can't open settings or make requests. Admins set them up under Settings → Profiles.
  • Downloads for watching offline in the Matinee apps. A download is a job on the server, not a stream: it's prepared in the background (the original file, or a single MP4 at 1080p, 720p or 480p), checksummed, then fetched by the phone at its own pace, resuming where it broke off. Jobs survive restarts and retry on their own, and watch progress made offline is merged back when the phone reconnects, with the latest change winning.
  • Radarr and Sonarr (optional): people ask for movies and shows and an admin approves them, everyone sees what's coming soon, and anyone can report a problem with what they're watching. Admins can change a title's quality or have a bad file replaced. Setting it up.
  • Discover with Overseerr (optional): a Discover tab with what's trending, recommendations based on what each person watched, and a way to ask for any movie or show. Setting it up.
  • Themes: seven built in (Matinee, Dark, Light, Clean, Sci-fi, Drive-in, High contrast), picked by each person under Settings → Appearance and followed by the web player and the phone and TV apps. Add your own with a small JSON file; see docs/themes.md.
  • In your language: the web player and the apps come in 32 languages, right to left included, and titles, descriptions and trailers come from TMDB in each person's language where TMDB has them. Each profile picks its language under Settings → Language, or follows the device. The translations are by machine for now; help improve them.
  • Devices: sign in a phone or TV by typing the code it shows at /link, and see or sign out every device you're signed in on under Settings.

Run it

Docker
docker run -d --name matinee -p 7171:7171 \
  -v ./data:/data \
  -v /path/to/movies:/media/movies:ro \
  -v /path/to/tv:/media/tv:ro \
  -v /path/to/music:/media/music:ro \
  ghcr.io/yeixio/matinee:latest

Open http://localhost:7171, create the admin account, and add your folders under Settings. A docker-compose.yml is included too.

Kubernetes
helm install matinee deploy/helm/matinee -f my-values.yaml

The chart runs Matinee with a bundled PostgreSQL, so nothing depends on file locking over network storage. Its credentials are generated into a Secret on first install, so there's nothing to set up, and this works the same under Argo CD or Flux. Mount your media read-only through media: in the values (NFS, a PVC, anything); transcodes and the image cache use a local emptyDir. To use your own PostgreSQL, set postgresql.enabled=false and database.url (or database.existingSecret). See values.yaml.

Run one replica for now: an active transcode lives in the pod that started it. More replicas work with service.sessionAffinity: ClientIP.

Following the latest build

To try each change as it lands, point Argo CD at the edge branch. CI moves edge to a commit on main only once its checks pass and its image is published, so the cluster never waits on an image that isn't there yet. The chart from that commit runs the image built from it (sha-<commit>), and Settings shows the same commit as main-<commit>.

source:
  repoURL: https://github.com/yeixio/matinee.git
  targetRevision: edge
  path: deploy/helm/matinee
  helm:
    parameters:
      - name: image.tag
        value: sha-$ARGOCD_APP_REVISION_SHORT

Argo CD checks the branch every few minutes, so a new build rolls out shortly after CI finishes. For releases instead, install the chart from oci://ghcr.io/yeixio/charts/matinee with a version.

Finding it from the apps

The Matinee apps list servers on your home network by themselves, so nobody has to know an IP address. The server announces itself over multicast DNS (Bonjour), and the apps show it on their first screen.

  • apt, dnf, Homebrew and source installs are found as they are.
  • Docker: a container on the default bridge network can't announce itself. Run it with --network host instead of -p 7171:7171, or keep typing the address.
  • Kubernetes: the chart runs a small announcer on a node's host network that points the apps at your ingress address. If your ingress is managed outside the chart, set discovery.url to the address you open Matinee at.

To keep a server unlisted, set MATINEE_DISCOVERY=false (discovery.enabled=false in the chart). The apps can always connect by address.

Watching at home without signing in

Phones, TVs and browsers on your home network can browse and play without an account. They share one Home account, so they share its watch progress, and they can't change anything: no settings, no downloads, no approving other devices. Away from home, everyone signs in. To make everyone sign in at home too, turn on Settings → Home network → Ask for sign-in at home.

Matinee decides a device is at home by the address its connection comes from, and only when nothing sits in between:

  • apt, dnf, Homebrew, source and Docker with --network host: a device with a private address (such as 192.168.x.x) connecting straight to the server counts as home.
  • Behind a reverse proxy or ingress, every request arrives from the proxy, the internet's included, so requests through it never count. Give the home network its own way in with MATINEE_HOME_ADDR (for example :7172). Then only that address counts, and the apps on your network use it. Don't forward that port from your router.
  • Kubernetes: the chart does this for you. It opens port 7172 on the server's node (discovery.homePort) and runs the announcer on the same node, so the apps at home connect there and use your ingress address away from home. Set discovery.homePort=0 to turn it off.

If something in front of Matinee rewrites addresses without saying so, for example a port forward that makes internet traffic look like it comes from your router, turn on Ask for sign-in at home.

Reaching it away from home

Turn on Settings → Remote access and Matinee sets itself up to be reached from outside your home, with nothing to configure on the router:

  1. It asks your router to forward a port to it (port 7443, or another the router picks), over UPnP or NAT-PMP. Most home routers allow this; if yours doesn't, turn on UPnP in its settings.
  2. It gets an HTTPS certificate for your public IP address from Let's Encrypt, so phones and browsers trust the connection. For the check, Let's Encrypt connects once through port 443 or 80, which Matinee forwards for a minute and closes again. Getting the certificate also proves the internet can reach the server. It lasts six days and renews by itself, and a new one is fetched when your address changes.
  3. The apps pick up the address while they're at home and use it when they're away. Everyone signs in from outside; nothing that arrives through this port counts as home.

Settings shows the address and what stands in the way when it doesn't work. Two setups can't be reached directly: an internet provider that shares one public address among its customers (carrier-grade NAT), and a second router in front of yours. Settings says when that's the case. If your public address changes while you're away, the apps learn the new one next time they're home.

Remote access needs Matinee on the host's network, so it isn't offered in the Helm chart (the ingress is the way in) and needs network_mode: host in Docker. If you already reach Matinee at your own domain, set MATINEE_PUBLIC_URL instead and the apps use that. To not offer remote access at all, set MATINEE_REMOTE_ADDR=off.

Debian and Ubuntu
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://raw.githubusercontent.com/yeixio/matinee/packages/matinee.asc | sudo tee /etc/apt/keyrings/matinee.asc > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/matinee.asc] https://raw.githubusercontent.com/yeixio/matinee/packages/apt stable main" | sudo tee /etc/apt/sources.list.d/matinee.list
sudo apt-get update && sudo apt-get install matinee
Fedora, RHEL and friends
sudo curl -fsSL https://raw.githubusercontent.com/yeixio/matinee/packages/matinee.repo -o /etc/yum.repos.d/matinee.repo
sudo dnf install matinee

Fedora's own ffmpeg-free satisfies the FFmpeg dependency. On RHEL, Rocky and Alma, enable EPEL and RPM Fusion first for FFmpeg.

Both packages (amd64 and arm64, plus armhf for apt) install matinee.service, which starts right away and on boot as the matinee user, with its data in /var/lib/matinee. Settings go in /etc/matinee/matinee.env; run sudo systemctl restart matinee after a change. Open http://your-server:7171 to finish setup. The user is also added to the render and video groups for hardware transcoding. To read a share the matinee user can't, mount it with that user's permissions or add the user to the share's group.

The apt and dnf repositories and the rpm packages are signed with the key "Matinee packages hello@yeix.io", RSA 4096, fingerprint 4EE3 3F8C EE07 6BB0 C9A7 C559 21F5 BE9F 726A 2895, valid until 2031-10-25.

Mac app

Download Matinee Server for Mac (macOS 13 or later), drag it to Applications and open it. It runs the server from the menu bar with FFmpeg built in, and updates itself. See the guide.

Windows

Download the installer for x64 PCs or Arm PCs (Windows 10 and 11) and run it. It installs the server with FFmpeg, opens Windows Firewall on private networks, and runs Matinee from an icon in the notification area that starts and stops it, starts it at sign-in, shows its log and installs updates. Data and settings live in %LOCALAPPDATA%\Matinee. See Windows in the guide.

Homebrew (macOS and Linux)
brew tap yeixio/matinee https://github.com/yeixio/matinee
brew install yeixio/matinee/matinee
brew services start matinee

Then open http://localhost:7171. Settings go in $(brew --prefix)/etc/matinee/matinee.env (then brew services restart matinee), and data lives in $(brew --prefix)/var/matinee.

Posters and descriptions (TMDB key)

Matinee looks up posters, backdrops and descriptions on TMDB. For now, each server uses its own free TMDB key. It takes about two minutes:

  1. Sign up at themoviedb.org and confirm your email.
  2. Open Settings → API, click Create, and answer Yes to "personal use". Your own server is personal use.
  3. Fill in the short form. For example, use "Matinee" as the name and "Self-hosted media server for my household" as the summary.
  4. Copy the API Key (or the API Read Access Token; either works).
  5. Give it to Matinee. The easiest way: sign in as an admin, open Settings → Posters and details, paste the key and click Save key. Matinee checks it with TMDB and fills in artwork right away, with no restart. Or set it on the server:
    • Docker: add -e MATINEE_TMDB_KEY=your-key to docker run.
    • Kubernetes: run kubectl create secret generic matinee-tmdb --from-literal=tmdb-api-key=your-key, then set tmdb.existingSecret: matinee-tmdb in your values.
    • apt or dnf: add MATINEE_TMDB_KEY=your-key to /etc/matinee/matinee.env.
    • Homebrew: add MATINEE_TMDB_KEY=your-key to $(brew --prefix)/etc/matinee/matinee.env.

If you set it on the server, restart Matinee; the next library scan fills in the artwork. A key saved in Settings wins over one set on the server.

The guide has the same steps with a table for every kind of install.

Why isn't a key built in? TMDB's free keys are for personal use, and a key shipped inside Matinee would be shared by every server. Once donations and app sales reach $150 a month, Matinee will license a commercial TMDB key and build it into the official images and packages, so new servers get artwork with no setup. Until then, you use your own key.

Radarr and Sonarr

If you use Radarr for movies or Sonarr for TV, connect them under Settings → Radarr and Sonarr:

  1. Click Connect, enter the app's address (such as http://radarr:7878) and its API key (in the app under Settings → General), then Test.
  2. Pick the quality and folder that new titles get, and Save.
  3. Choose who can add titles: anyone can ask and an admin approves (the default), anyone's requests are added right away, or only admins add.

The address and key stay on the server. Then:

  • Requests (the inbox icon) is where people find a movie or show and ask for it, and where admins approve requests and see reported problems. A problem with a movie or episode can be fixed with Replace file, which deletes the file in Radarr or Sonarr and has it download another copy.
  • Coming soon (the calendar icon, and a row on Home) lists the next two months of new episodes and movie releases that aren't in yet.
  • On a movie or show, admins can change its quality, and anyone signed in can Report a problem.

Devices at home that haven't signed in can see what's coming soon, but can't ask for titles or report problems.

Overseerr

If you run Overseerr (or Jellyseerr, which works the same way), connect it under Settings → Overseerr with its address (such as http://overseerr:5055) and API key (in Overseerr under Settings → General). A Discover tab then shows up on the web and in the apps:

  • Rows of titles like the ones each person watched lately ("Because you watched …"), then what's trending, popular and coming up.
  • A search for any movie or show, not only what's in your libraries.
  • Request on any title asks for it in Overseerr, which approves it and hands it to Radarr or Sonarr by its own rules.

Requests are made as the Overseerr user with the same name as the person asking. For people without one, pick which Overseerr user their requests are made as. Who may ask at all follows the same setting as Radarr and Sonarr. Kids profiles don't see Discover. Disconnecting Overseerr takes the tab away.

From source

Needs Go 1.26+, Node 22 with pnpm, and FFmpeg.

make run          # builds the web player and server, then serves on :7171
make demo         # optional: a small fake library in ./demo-media to try it with

Configuration

Every setting is a flag or an environment variable.

Variable Default What it does
MATINEE_ADDR :7171 Listen address
MATINEE_DATA_DIR ./data SQLite database (when used), image cache, transcode scratch space
MATINEE_DATABASE_URL empty postgres://… to use PostgreSQL instead of SQLite
MATINEE_TMDB_KEY empty TMDB API key or read access token, for posters and descriptions (get one)
MATINEE_RATING_COUNTRY US Whose age ratings to use for kids profiles, such as GB, CA, AU or DE. Titles pick up a new country's ratings when their details are next refreshed
MATINEE_MEDIA_ROOT / Folder the library picker opens in
MATINEE_MUSICBRAINZ true Look up artists and albums on MusicBrainz, with covers from the Cover Art Archive and artist photos from Wikidata. No key needed. Set false to use only local artwork
MATINEE_OPENLIBRARY true Look up audiobook covers and author photos on Open Library. No key needed. Set false to use only local artwork
MATINEE_PODCASTS_HOME_NETWORK false Let podcast feeds and episodes come from addresses on the home network too, for shows you host yourself. Off, Matinee only fetches them from the internet
MATINEE_WIKIDATA true Look up the awards movies and shows won or were nominated for on Wikidata. No key needed. Set false to skip awards
MATINEE_SCAN_INTERVAL 15m How often libraries are rescanned in full; 0 turns it off
MATINEE_WATCH_POLL_INTERVAL 30s How often folders on network shares are checked for new files. A big library on a slow share is checked less often by itself, so the share stays responsive
MATINEE_DISCOVERY true Announce the server on the local network so the apps find it (more)
MATINEE_SERVER_NAME Matinee The name the apps show for this server
MATINEE_PUBLIC_URL empty The address the apps should connect to, such as https://matinee.example.com, at home and away; empty uses this machine's IP and port at home, and remote access's address away
MATINEE_HOME_ADDR empty A second listen address just for the home network, such as :7172, when the main one is behind a proxy. Only devices that connect here can watch without signing in (see above)
MATINEE_REMOTE_ADDR :7443 HTTPS listen address for remote access, which an admin turns on in Settings (more); off to not offer it
MATINEE_PLUGINS true Let admins install plugins in Settings (guide); false turns them off
MATINEE_PLUGIN_CATALOG https://matinee.yeix.io/plugins.json The list of official plugins Settings offers; off for none
MATINEE_FFMPEG, MATINEE_FFPROBE ffmpeg, ffprobe Paths to FFmpeg
MATINEE_VAAPI_DEVICE empty The GPU to use for VAAPI, such as /dev/dri/renderD129, on a machine with several; empty tries each
Hardware transcoding

When a device can't play a file as it is, Matinee converts it while you watch. A GPU makes that much faster and lighter on the server: a 4K HEVC film becomes 1080p H.264 without keeping the CPU busy. At startup Matinee tests what the machine's FFmpeg can use, with a one-second test encode, and picks the best that works:

Hardware Backend
NVIDIA NVENC to encode, NVDEC to decode
AMD or Intel on Linux VAAPI
Intel Quick Sync
Mac VideoToolbox
AMD on Windows AMF
Raspberry Pi and other ARM boards V4L2

Settings → Transcoding shows which one is in use, and lets an admin pick another or turn it off. If the GPU can't handle a file (an old codec, a profile it doesn't decode), that playback starts again on the CPU, and the file keeps using the CPU from then on, so nobody sees an error.

To give Matinee a GPU:

  • Docker: pass /dev/dri in for AMD and Intel, and add the group that owns it on the host (see docker-compose.yml). For NVIDIA, install the NVIDIA Container Toolkit and request a GPU. The image includes FFmpeg with every Linux backend and the AMD and Intel drivers.
  • Kubernetes: set gpu.type to vaapi or nvidia, and nodeSelector to keep Matinee on the node with the GPU. See gpu: in values.yaml.
  • Packages: Matinee uses the system's FFmpeg and drivers, and its user is already in the render and video groups.

Only VAAPI on an AMD card has been tried on real hardware so far. If you have one of the others, a compatibility report helps a lot.

SQLite or PostgreSQL? SQLite is the default and needs nothing else: right for a single machine or a NAS, as long as MATINEE_DATA_DIR is on a local disk. Use PostgreSQL on Kubernetes, with several servers, or whenever the data would otherwise live on network storage, where SQLite's locking isn't reliable.

How it's built

One Go binary with the web player embedded. It talks to SQLite or PostgreSQL and runs FFmpeg for probing and transcoding.

cmd/matinee          entry point
internal/api         HTTP API, auth, serves the web player
internal/scan        library scanning; library kinds (movies, tv, music, audiobooks, podcasts) register here
internal/analyze     background media analysis (HDR, codecs, audio, languages)
internal/metadata    online metadata providers (TMDB)
internal/artwork     poster and backdrop serving and caching
internal/stream      direct play and HLS transcoding
internal/hwaccel     finds the GPU and builds FFmpeg's arguments for it
internal/store       SQLite / PostgreSQL storage
internal/plugin      runs plugins: WebAssembly in a sandbox (wazero)
pluginsdk/           the SDK for writing plugins (MIT licensed)
plugins/arcade/      the Arcade plugin: MAME in the web player
web/                 React + Vite web player
deploy/helm/matinee  Helm chart

Plugins add library kinds, details, players and reactions to events without changing Matinee; the developer guide explains how to write one, with a tutorial, the matinee-plugin tool and a Go SDK. The Arcade plugin is the first: it plays arcade games in the web player with MAME.

The API is plain JSON over HTTP under /api/v1, open to any client, and documented in openapi.yaml (also served at /api/v1/openapi.yaml). Within v1 it only grows; breaking changes would go in a v2 served alongside it. Kubernetes probes are at /healthz (process up) and /readyz (database reachable).

Development

make test                      # Go tests (SQLite) and web type checks
MATINEE_TEST_DATABASE_URL=postgres://user:pass@localhost:5432/postgres?sslmode=disable make test-postgres
make dev                       # web player with hot reload, against a server from `make run`

The Go tests build real media files with FFmpeg and run a full scan, browse, play and transcode cycle, so FFmpeg needs to be installed.

Releasing

  1. Merge the release notes as docs/release-notes/<tag>.md, such as docs/release-notes/v0.2.0.md. They open the GitHub release.
  2. Under Actions → Release, press Run workflow on main and pick patch, minor or major (or type an exact version, such as v0.3.0-beta.1).

The workflow picks the next version after the last release, and stops without tagging if that version's notes are missing, if CI hasn't passed on main (it waits while CI is still running), or if main hasn't changed since the last release. Pushing a tag by hand (git tag v0.2.0 && git push origin v0.2.0) still releases too. Notes that change after a release is out are copied to its GitHub release when they reach main.

The release workflow tests, then publishes ghcr.io/yeixio/matinee:0.2.0 (and 0.2, latest) for amd64, arm64 and armv7, pushes the Helm chart to oci://ghcr.io/yeixio/charts/matinee with that version, and attaches single-binary archives for Linux, macOS and Windows, Windows installers, and .deb and .rpm packages, and the signed Mac app (docs/mac-app.md), to a GitHub release. It then installs the packages from freshly built apt and dnf repositories in Debian, Ubuntu and Fedora containers, publishes those repositories on the packages branch, and opens a pull request updating Formula/matinee.rb for Homebrew. A tag with a suffix (v0.2.0-beta.1) is a pre-release: it leaves latest, Homebrew, apt and dnf alone. Packaging details and the signing key setup are in docs/packaging.md.

Support Matinee

Matinee's server is free and always will be. Donations (once or monthly, by card) and the paid phone and TV apps fund its development. The first goal: once they reach $150 a month, Matinee will license a commercial TMDB key so new servers get posters and descriptions with no setup. Until then, each server needs its own free key.

Donate to Matinee

Contributing

Matinee is young, and it's a good time to get involved: a small fix lands quickly, and the big pieces (hardware transcoding, plugins, downloads, music) are still open to shape.

  • Start small. Issues labeled good first issue have acceptance criteria and say which file to open first. help wanted has bigger ones, sorted by area/* and difficulty/*.
  • No code needed. Try Matinee on your NAS, GPU, TV browser or oddly named files and send a compatibility report.
  • Join the core team. We're looking for people to own areas like streaming, the web player, music, packaging and docs. Say hello in #51.

CONTRIBUTING.md gets you from clone to a running server with a demo library. Contributions are covered by a short CLA, and everyone follows the Code of Conduct.

License

The Matinee server and web player are licensed under the GNU AGPL-3.0-or-later.

Directories

Path Synopsis
cmd
matinee command
Command matinee runs the Matinee media server.
Command matinee runs the Matinee media server.
matinee-connect command
Command matinee-connect runs the rendezvous service that lets the apps find a home server whose address changed (internal/connect).
Command matinee-connect runs the rendezvous service that lets the apps find a home server whose address changed (internal/connect).
matinee-plugin command
Command matinee-plugin helps write Matinee plugins: it starts one from a template, checks and packages it, runs its server part on a folder of files the way a server would, and previews its player in a browser without a Matinee server.
Command matinee-plugin helps write Matinee plugins: it starts one from a template, checks and packages it, runs its server part on a folder of files the way a server would, and previews its player in a browser without a Matinee server.
matinee-tray command
Command matinee-tray is the Windows app that runs the Matinee server from the notification area.
Command matinee-tray is the Windows app that runs the Matinee server from the notification area.
Package i18n holds Matinee's text in every language (locales/, read by the web player and copied into the apps) and the list of languages people can pick (languages.json).
Package i18n holds Matinee's text in every language (locales/, read by the web player and copied into the apps) and the list of languages people can pick (languages.json).
internal
alerts
Package alerts tells admins when something needs them: a disk that's nearly full, a library folder that can't be read, a run of errors, transcodes that keep failing, or the server starting again.
Package alerts tells admins when something needs them: a disk that's nearly full, a library folder that can't be read, a run of errors, transcodes that keep failing, or the server starting again.
analyze
Package analyze slowly works through the libraries in the background, recording each file's full media info: resolution and HDR, codecs and bitrates, audio channels and languages, subtitles.
Package analyze slowly works through the libraries in the background, recording each file's full media info: resolution and HDR, codecs and bitrates, audio channels and languages, subtitles.
api
Package api is Matinee's HTTP API and the host for the web player.
Package api is Matinee's HTTP API and the host for the web player.
arr
Package arr talks to Radarr (movies) and Sonarr (TV), the apps many people run next to their media server to find and download what they watch.
Package arr talks to Radarr (movies) and Sonarr (TV), the apps many people run next to their media server to find and download what they watch.
arr/arrtest
Package arrtest is a pretend Radarr or Sonarr for tests: just enough of their v3 API for what Matinee calls.
Package arrtest is a pretend Radarr or Sonarr for tests: just enough of their v3 API for what Matinee calls.
artwork
Package artwork serves posters and backdrops from local files, a cache of remote images, or pictures embedded in audio files.
Package artwork serves posters and backdrops from local files, a cache of remote images, or pictures embedded in audio files.
auth
Package auth handles passwords and turns request credentials into a user.
Package auth handles passwords and turns request credentials into a user.
backup
Package backup keeps copies of the server's SQLite database: before the schema changes in an upgrade, every day (by default), and whenever an admin asks.
Package backup keeps copies of the server's SQLite database: before the schema changes in an upgrade, every day (by default), and whenever an admin asks.
config
Package config loads server settings from flags and environment variables.
Package config loads server settings from flags and environment variables.
connect
Package connect is the rendezvous service that lets the apps find a home server whose internet address changed, and the server's side of it.
Package connect is the rendezvous service that lets the apps find a home server whose internet address changed, and the server's side of it.
credits
Package credits finds where the closing credits of episodes and movies start, so players can offer the next episode, or to skip the credits, from there instead of from the very end.
Package credits finds where the closing credits of episodes and movies start, so players can offer the next episode, or to skip the credits, from there instead of from the very end.
diagnose
Package diagnose works out why playback stalled, from what the player saw (how fast pieces arrived, how much it had buffered) and what the server knows (how fast it converts, how fast the file reads), so it can be said in plain words instead of guessed at.
Package diagnose works out why playback stalled, from what the player saw (how fast pieces arrived, how much it had buffered) and what the server knows (how fast it converts, how fast the file reads), so it can be said in plain words instead of guessed at.
discovery
Package discovery announces a Matinee server on the local network with DNS-SD over multicast DNS, so the apps can list it without anyone typing an address.
Package discovery announces a Matinee server on the local network with DNS-SD over multicast DNS, so the apps can list it without anyone typing an address.
download
Package download prepares files for offline playback.
Package download prepares files for offline playback.
gapless
Package gapless finds albums whose songs run straight into each other, such as DJ mixes and live albums, so players leave no gap between them.
Package gapless finds albums whose songs run straight into each other, such as DJ mixes and live albums, so players leave no gap between them.
health
Package health keeps what the admin dashboard shows about the server itself: the latest log lines, the problems among them, how busy the machine is, and how much the server sends.
Package health keeps what the admin dashboard shows about the server itself: the latest log lines, the problems among them, how busy the machine is, and how much the server sends.
hwaccel
Package hwaccel finds the video hardware FFmpeg can use on this machine and builds the FFmpeg arguments that put a transcode on it.
Package hwaccel finds the video hardware FFmpeg can use on this machine and builds the FFmpeg arguments that put a transcode on it.
importer
Package importer brings watch history, collections and custom posters over from another media server's data folder, so switching to Matinee doesn't mean starting again.
Package importer brings watch history, collections and custom posters over from another media server's data folder, so switching to Matinee doesn't mean starting again.
importer/importertest
Package importertest builds a small data folder in the other media server's format, for tests.
Package importertest builds a small data folder in the other media server's format, for tests.
intro
Package intro finds where a TV show's intro (its theme song or title sequence) plays in each episode, so players can offer to skip it.
Package intro finds where a TV show's intro (its theme song or title sequence) plays in each episode, so players can offer to skip it.
kube
Package kube creates the bundled database's credentials from inside the cluster, so a fresh Helm install (or Argo CD sync) needs no hand-made Secret.
Package kube creates the bundled database's credentials from inside the cluster, so a fresh Helm install (or Argo CD sync) needs no hand-made Secret.
live
Package live keeps track of what's happening on the server right now: which players are open, what each one is playing, and a feed of events for home automation (see the Home Assistant guide).
Package live keeps track of what's happening on the server right now: which players are open, what each one is playing, and a feed of events for home automation (see the Home Assistant guide).
livetv
Package livetv plays live TV channels from playlists people add: an M3U playlist lists channels and where each one streams, and an XMLTV guide says what's on them.
Package livetv plays live TV channels from playlists people add: an M3U playlist lists channels and where each one streams, and an XMLTV guide says what's on them.
lyrics
Package lyrics finds a song's words, and when they're sung: from a .lrc file next to the song, from the song's own tags, or (only when an admin turns it on) from LRCLIB, a free and open lyrics database.
Package lyrics finds a song's words, and when they're sung: from a .lrc file next to the song, from the song's own tags, or (only when an admin turns it on) from LRCLIB, a free and open lyrics database.
metadata
Package metadata looks up descriptions and artwork from online providers.
Package metadata looks up descriptions and artwork from online providers.
netstate
Package netstate keeps Matinee quick when the internet is down.
Package netstate keeps Matinee quick when the internet is down.
overseerr
Package overseerr talks to Overseerr, the app people run next to their media server to discover titles and ask for them.
Package overseerr talks to Overseerr, the app people run next to their media server to discover titles and ask for them.
overseerr/overseerrtest
Package overseerrtest is a pretend Overseerr for tests: just enough of its v1 API for what Matinee calls.
Package overseerrtest is a pretend Overseerr for tests: just enough of its v1 API for what Matinee calls.
plugin
Package plugin installs and runs plugins: library kinds, details and event handlers in a sandboxed WebAssembly module (wazero), and players that the web player loads in a sandboxed frame.
Package plugin installs and runs plugins: library kinds, details and event handlers in a sandboxed WebAssembly module (wazero), and players that the web player loads in a sandboxed frame.
podcast
Package podcast follows podcasts: it reads shows' RSS feeds, keeps their episodes in a podcast library, and finds shows to follow in Podcast Index, the open podcast directory (see index.go).
Package podcast follows podcasts: it reads shows' RSS feeds, keeps their episodes in a podcast library, and finds shows to follow in Podcast Index, the open podcast directory (see index.go).
probe
Package probe reads media facts (duration, codecs, tags) with ffprobe.
Package probe reads media facts (duration, codecs, tags) with ffprobe.
radio
Package radio plays internet radio stations: streams that go on for as long as anyone listens, from Icecast, SHOUTcast and the like.
Package radio plays internet radio stations: streams that go on for as long as anyone listens, from Icecast, SHOUTcast and the like.
rating
Package rating turns a country's age ratings, such as PG-13 or TV-MA, into the few levels kids profiles choose from.
Package rating turns a country's age ratings, such as PG-13 or TV-MA, into the few levels kids profiles choose from.
remote
Package remote makes a home server reachable from the internet without router setup: it asks the router to forward a port (UPnP or NAT-PMP), gets a Let's Encrypt certificate for the router's public IP address, and serves the API over HTTPS there.
Package remote makes a home server reachable from the internet without router setup: it asks the router to forward a port (UPnP or NAT-PMP), gets a Let's Encrypt certificate for the router's public IP address, and serves the API over HTTPS there.
scan
Package scan walks library folders and keeps the items table in sync with disk.
Package scan walks library folders and keeps the items table in sync with disk.
spectrum
Package spectrum works out how loud each part of a song's sound is, moment by moment, for the apps' music visualizer.
Package spectrum works out how loud each part of a song's sound is, moment by moment, for the apps' music visualizer.
store
Package store keeps all server state in a single SQLite database.
Package store keeps all server state in a single SQLite database.
store/storetest
Package storetest opens a throwaway database for tests: in-memory SQLite by default, or a fresh PostgreSQL database when MATINEE_TEST_DATABASE_URL is set.
Package storetest opens a throwaway database for tests: in-memory SQLite by default, or a fresh PostgreSQL database when MATINEE_TEST_DATABASE_URL is set.
stream
Package stream serves media files directly or through on-the-fly HLS transcodes.
Package stream serves media files directly or through on-the-fly HLS transcodes.
subsync
Package subsync lines a subtitle file up with its video.
Package subsync lines a subtitle file up with its video.
subtitle
Package subtitle finds a video's subtitle tracks, embedded or in files next to it, and serves the text ones as WebVTT for the web player.
Package subtitle finds a video's subtitle tracks, embedded or in files next to it, and serves the text ones as WebVTT for the web player.
theme
Package theme holds Matinee's colour themes: the ones built in, and ones an admin adds by putting a theme file in the data directory's themes folder.
Package theme holds Matinee's colour themes: the ones built in, and ones an admin adds by putting a theme file in the data directory's themes folder.
thumbs
Package thumbs makes the pictures the players show above the seek bar while someone scrubs: a small frame every few seconds of each video, packed into JPEG sheets of Across by Down frames so a player loads a handful of images rather than hundreds.
Package thumbs makes the pictures the players show above the seek bar while someone scrubs: a small frame every few seconds of each video, packed into JPEG sheets of Across by Down frames so a player loads a handful of images rather than hundreds.
together
Package together keeps Watch together sessions: people on different devices, at home or away, watching the same thing at the same moment.
Package together keeps Watch together sessions: people on different devices, at home or away, watching the same thing at the same moment.
version
Package version reports the build version, set at link time.
Package version reports the build version, set at link time.
Package web embeds the built web player (web/dist) into the server binary.
Package web embeds the built web player (web/dist) into the server binary.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL