An unofficial desktop client for Jellyfin https://github.com/andrewrabert/jellium-desktop
  • Rust 94.6%
  • JavaScript 2.9%
  • PowerShell 0.9%
  • Shell 0.6%
  • Lua 0.5%
  • Other 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Noah Mattocks 09de0a6d8c fix(cef): correct the CEF scheme option bit constants
The `app://` registration declares SCHEME_OPTION_SECURE = 1<<4 and
SCHEME_OPTION_CORS_ENABLED = 1<<6. Per include/internal/cef_types.h
(identical in the pinned CEF 151.3.16 and in 151.3.24),
`cef_scheme_options_t` is:

    CEF_SCHEME_OPTION_STANDARD          = 1 << 0
    CEF_SCHEME_OPTION_LOCAL             = 1 << 1
    CEF_SCHEME_OPTION_DISPLAY_ISOLATED  = 1 << 2
    CEF_SCHEME_OPTION_SECURE            = 1 << 3
    CEF_SCHEME_OPTION_CORS_ENABLED      = 1 << 4
    CEF_SCHEME_OPTION_CSP_BYPASSING     = 1 << 5
    CEF_SCHEME_OPTION_FETCH_ENABLED     = 1 << 6

so 1<<4 is CORS_ENABLED and 1<<6 is FETCH_ENABLED. The mask that reads
STANDARD|SECURE|LOCAL|CORS_ENABLED has in fact been registering
STANDARD|LOCAL|CORS_ENABLED|FETCH_ENABLED: SECURE was never set, and
FETCH_ENABLED was set by accident.

This is a correctness fix, not a behaviour fix. Measured on Windows with
CEF 151.3.16, before and after: `app://resources/overlay.html` reports
`isSecureContext: true` and has `crypto.subtle` either way — LOCAL already
makes the scheme trustworthy under Chromium's file-URL rules — and
`fetch()` from one app:// path to another fails either way, which is
LOCAL's documented same-URL restriction and not something FETCH_ENABLED
overrides. The overlay, auto-connect and resource loading are unchanged.

So the change is: set the bit the mask always meant to say, and stop
setting a different one by accident. FETCH_ENABLED is kept rather than
dropped — it has been effectively set for the whole life of the `app://`
scheme, so removing it now would be a behaviour change with nothing to
gain; naming it makes the status quo explicit. The comment above the
constants now spells out the whole enum so the next reader does not have
to open the header.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UfcdYJSHcUULe8SU4uKYbG
2026-11-15 00:28:00 -05:00
.cargo Drop CMake; replace with cargo xtask 2026-05-24 00:49:34 -04:00
.github Build libplacebo v7.387.0 from source for AppImage and macOS Intel 2026-11-14 23:56:59 -05:00
dev Fix appimage build script when using docker instead of podman 2026-11-14 23:59:43 -05:00
resources Windows: full Dolby Vision presentation handling, with VO window rebind 2026-11-13 22:02:25 -05:00
src fix(cef): correct the CEF scheme option bit constants 2026-11-15 00:28:00 -05:00
third_party Update mpv fork to latest jellium-desktop 2026-11-14 23:56:59 -05:00
.dockerignore Bump to 3.0.0-dev and version build artifacts 2026-04-19 18:33:24 -04:00
.gitignore just: add .env file support; cleanup 2026-06-05 03:31:20 -04:00
.gitmodules Fix missing submodule branch for third_party/mpv 2026-09-19 16:51:18 -04:00
AGENTS.md Rename CLAUDE.md to AGENTS.md 2026-09-19 12:37:01 -04:00
justfile Add outdated recipe for listing outdated dependencies 2026-07-17 19:34:24 -04:00
LICENSE chore: add GPL-2.0 license 2026-01-15 23:40:16 -05:00
README.md Add outdated recipe for listing outdated dependencies 2026-07-17 19:34:24 -04:00

Jellium Desktop

An unofficial Jellyfin desktop client built on CEF and mpv.

Downloads

Linux

macOS

After installing, remove quarantine:

sudo xattr -cr /Applications/Jellium\ Desktop.app

Windows

Development

This project uses just as a command runner.

Available recipes:
    [package]
    appimage ...    # [linux] build AppImage
    flatpak ...     # [linux] build Flatpak bundle
    dmg             # [macos] build Apple Disk Image (.dmg)

    [maintenance]
    outdated      # List outdated dependencies
    clean         # Remove build artifacts

    [test]
    test          # Run tests

    [lint]
    fmt           # Format workspace
    fmt-check     # Check formatting
    clippy        # Run clippy
    lint          # Lint workspace
    strict-lint   # Strict lint workspace

    [build]
    build         # Build the app

    [run]
    run *args     # Run the app
    run-mpv *args # Run the mpv CLI