Formerly MeowFlixEmby. The executable (meowflix.exe), config file
(meowflix.yaml), release assets, the Windows service name and the install folder keep the
old names, so existing installs and auto-updates need no migration.
An Emby / Jellyfin casting bridge with a local media library companion.
Cast Emby / Jellyfin web playback to a local player,
and browse the same folders in a built-in library: scan local or mounted cloud storage,
scrape TMDB metadata, write NFO/artwork, play locally.
Smart routing · no userscript · no server changes · mpv / VLC / MPC-HC / PotPlayer
🇨🇳 简体中文 · 📖 Getting Started (Windows) · ⚙️ Configuration Guide
- How It Works
- Features
- Screenshots
- Installation
- Quick Start
- Media Library & Scraping
- Where Configuration Lives
- Building from Source
- Running Modes
- Advanced
- Design Docs
- License
MeowFlix is a local daemon with two cooperating paths:
① Web casting
┌─────────────────┐ WebSocket ┌──────────────┐ IPC / CLI ┌───────────┐
│ Emby / Jellyfin │ ◄────────────────► │ MeowFlix │ ─────────────────► │ mpv / │
│ (web client) │ PlayOn + remote │ (this PC) │ launch + control │ VLC … │
└─────────────────┘ └──────┬───────┘ └───────────┘
│ ② built-in media library (SQLite)
▼
scan folders → TMDB match → index/NFO/artwork
browse locally → play here → keep progress
- Web casting: registers itself as a castable session over WebSocket. Click Play On in the web client and the server pushes playback here; the local player launches, and pause/seek/next plus progress reports stay in sync.
- Local media library: scans mounted folders (local disks, NAS, cloud-drive mounts) directly, matches metadata with TMDB, stores an SQLite index plus NFO/artwork, and lets you browse, search, resume and play on this PC without streaming through the server.
| Priority | Source | Playback |
|---|---|---|
| 1 | Cloud-drive mount (strm / direct HTTP source) | Direct cloud URL — bypasses the server |
| 2 | NAS disk mounted locally | Local disk path — direct file access |
| 3 | Everything else | HTTP Direct Stream — server stream |
Casting & playback
- Remote cast — "Play On" in the web client launches the local player; remote control and progress sync
- Smart routing — local disk → cloud direct → DirectURL → server stream
- Players — mpv (full control), VLC, MPC-HC, PotPlayer, any executable
- Auto-next — next episode at ≥90% completion
Built-in media library
- Library UI — home, movies, TV, detail, search; continue watching, optional genre shelves, poster wall
- TMDB scraping — recognises movies, shows, seasons and episodes (including Chinese naming); title+year matching; manual re-match when unsure
- NFO / artwork — Emby / Jellyfin / Kodi compatible
.nfo, posters, fanart and episode stills - Local playback & progress — click an item to play here; progress is stored in SQLite and powers "Continue watching"
- Library management — add/edit/delete folders, folder picker, per-library scan, live progress
Experience
- Settings page — double-click
meowflix.exeor use the tray menu; changes apply without a restart - Light / dark theme and Chinese / English UI
- Tray icon (optional, Windows): settings / check updates / reload / quit, four icon styles
- Auto-update — GitHub Releases → SHA256 verification → replace and restart; configurable download mirror
- Cross-platform start-up — Windows service / login autostart (no admin), Linux systemd, macOS launchd
- FFI embedding — C shared library with the cast lifecycle and the full scraper API
From the Releases page. Every platform has an installer and a plain archive:
| Platform | Installer | Archive |
|---|---|---|
| Windows x64 / ARM64 | meowflix_<version>_windows_<arch>_setup.exe |
meowflix_<version>_windows_<arch>.zip |
| Linux x64 / ARM64 | meowflix_<version>_linux_<arch>.deb / .rpm |
meowflix_<version>_linux_<arch>.tar.gz |
| macOS (Intel + Apple silicon) | meowflix_<version>_darwin_universal.pkg |
meowflix_<version>_darwin_<arch>.tar.gz |
- Windows installer: per-user install under
%LOCALAPPDATA%\Programs\MeowFlixEmby, no admin, optional desktop shortcut; uninstalling keeps the config. - Linux / macOS installers are system-wide (
/usr/bin,/usr/local/bin); the in-app updater cannot replace them, so upgrade by installing the new package. - Installers are unsigned: Windows shows SmartScreen ("More info → Run anyway"); on macOS right-click → Open.
- Archives can be extracted anywhere.
Windows users: see the Getting Started Guide.
Requires Go 1.25+.
git clone https://github.com/EasyTidy/MeowFlix.git
cd MeowFlix
go build ./cmd/meowflix- Prepare the config (at minimum: server address, username, password):
cp configs/meowflix.example.yaml meowflix.yamlserver:
type: emby # emby | jellyfin
address: http://192.168.1.10:8096
username: your-user
password: "your-password"
players:
default: mpv
exe:
mpv: C:\Green\mpv\mpv.exe-
Start it: double-click
meowflix.exe(or runmeowflix -config meowflix.yaml). A second double-click only opens the settings page of the running instance. -
Open the settings page (double-click or tray → Open settings):
- Settings: server, players, path mapping, openlist, theme/language, tray, updates, log
- Libraries: folders, TMDB key/mirror/language, NFO and artwork toggles
- Scraping: scan progress, match list, manual re-match
- YAML editor (advanced): raw config file
-
Create a library: Libraries → Add library → pick folder and kind → enter a TMDB key → Save → Scan.
-
Use it:
- Web client: play → Play On → this PC
- Or browse the built-in library and click play
For Emby to pick up the generated NFO/artwork, enable "prefer NFO / local images" in the library settings and refresh metadata.
All library data lives in an SQLite database next to the config (default meowflix.db):
| Table / setting | Contents |
|---|---|
libraries |
folder name, path, kind (auto/movies/tv), enabled |
settings |
TMDB key/API/image base/language, NFO and artwork toggles |
items |
movies/shows/episodes: title, year, overview, rating, genres, TMDB id, images, match state |
scrape_runs |
scan history |
play_history |
local playback position (feeds "Continue watching", separate from Emby progress) |
On first start, scrape.roots, TMDB settings and NFO/artwork toggles from the config file are
imported as initial values; afterwards SQLite is authoritative. The database path and the scraper
master switch stay in the config (scrape.db, scrape.enabled).
- Scan folders: movies, show/season folders and episode files (Chinese names, years,
S01E02,第01集,1x02, multi-episode, multi-version merging). - Match with TMDB (title variants, retry without year, localized and original names); low confidence is never written silently.
- Write the SQLite index and, if enabled, NFO files and artwork.
- Re-match failures by hand from the Scraping tab.
Sidecar naming:
| Kind | Files |
|---|---|
| Movie | <movie>.nfo (or movie.nfo for generic names) + -poster.jpg / -fanart.jpg |
| Show | tvshow.nfo + poster.jpg / fanart.jpg |
| Episode | <episode>.nfo + -thumb.jpg |
# every enabled library in SQLite
meowflix scrape -config meowflix.yaml
# folders as arguments (registered as libraries automatically)
meowflix scrape -config meowflix.yaml "Z:\Movies" "Z:\TV"
# one library by id (see the Libraries tab)
meowflix scrape -config meowflix.yaml -library 2
# index only
meowflix scrape -config meowflix.yaml -no-match
# override TMDB for this run only (not stored; handy for integrations)
meowflix scrape -config meowflix.yaml "Z:\Movies" \
-tmdb-key KEY -tmdb-api https://api.themoviedb.org/3 \
-tmdb-image https://image.tmdb.org/t/p -tmdb-lang en-US-list N prints indexed items, -json prints a machine-readable summary, -db selects another
database.
| What | Where |
|---|---|
| Server, players, path maps, openlist, subtitle/version preference, log, UI/language, tray, updates | meowflix.yaml (Settings tab) |
| Library folders, TMDB key/mirror/language, NFO/artwork toggles | SQLite (Libraries tab) |
| Index, matches, scan history, local playback progress | SQLite (meowflix.db) |
Full reference: Configuration Guide.
Note: username + password are required to be a cast target; an API key alone cannot cast or browse the library.
go build ./...
go test -race ./...
scripts/build.sh # host → dist/
scripts/build.sh all # windows/linux/darwin × amd64/arm64
scripts/package.sh # installers this host can build → dist/installers/
scripts/build-shared.sh # C shared library + headerVersion info is injected with -ldflags; meowflix -version prints it.
Pushing a v* tag runs release.yml:
| Artifact | Notes |
|---|---|
| Binaries | windows/linux/darwin × amd64/arm64 (.zip on Windows, .tar.gz elsewhere) |
| Installers | Windows NSIS _setup.exe, Linux .deb/.rpm, universal macOS .pkg (packaging/) |
| FFI library | .dll / .so / .dylib + header |
| Checksums | SHA256SUMS.txt, verified by the in-app updater |
Use a login autostart or the Windows service, not both. Foreground always works.
meowflix -config meowflix.yaml # Ctrl+C to stopOn Windows, double-click 2-启动.bat.
deploy\windows\setup-autostart.ps1 -Action install -Exe C:\meowflix\meowflix.exe -Config C:\meowflix\meowflix.yamlOr use the "Start methods" card on the settings page.
meowflix.exe -service install,start -config C:\meowflix\meowflix.yaml
meowflix.exe -service stop
meowflix.exe -service uninstallThe settings page can install/start/stop/uninstall it with one UAC prompt.
| File | Purpose |
|---|---|
1-首次设置.bat |
create the config and open it in Notepad |
2-启动.bat |
run in the foreground, keep errors visible |
3-开机自启-安装.bat / -卸载.bat |
login autostart on/off |
double-click meowflix.exe |
open the settings page (starts the daemon first if needed) |
See deploy/systemd/meowflix.service and deploy/launchd/com.easytidy.meowflix.plist.
The settings page is a loopback HTTP service (default 127.0.0.1:18096, ui.listen) that only
accepts local sessions. Main endpoints: /api/status, /api/local/* (browse/play the local
library), /api/scrape/* (scan/match), /api/libraries (library management).
scripts/build-shared.sh # dist/{meowflix.dll,libmeowflix.so,libmeowflix.dylib} + meowflix.h- Lifecycle:
MeowflixStart/Stop/IsRunning/Version/LastError/SetEventCallback; event schema in api/ffi/EVENTS.md - Scraper:
MeowflixScrapeStart/Cancel/Status/List/Search/Match, plusMeowflixScrapeStartEx(per-run TMDB overrides) andMeowflixScrapeSetTMDB(persist to SQLite) - Scan progress arrives as
type: "scrape"events





