Skip to main content

## Crate jellytau_lib

Source

## Modules§

auth 🔒
commands 🔒
connectivity 🔒
credentials 🔒
  Secure credential storage module
domain 🔒
  Canonical, provider-neutral domain model — the single source of truth for the app’s core data shapes, shared with the frontend via generated bindings.
download 🔒
  Download manager for offline media support
jellyfin 🔒
media_server 🔒
  A loopback HTTP server for locally downloaded media.
playback_mode 🔒
playback_reporting 🔒
player 🔒
profiles 🔒
  Multi-user profiles on one device.
repository 🔒
session_poller 🔒
  Session polling manager for remote playback control.
settings
  TRACES: UR-023, UR-027, UR-031, UR-032, UR-033 | DR-030, DR-034, DR-035, DR-036, DR-048, IR-020
storage 🔒
  Offline storage module using SQLite
thumbnail 🔒
  Thumbnail caching with LRU eviction
utils

## Structs§

BackendInitError 🔒
  Payload emitted to the frontend when a native player backend fails to initialize and the app falls back to a no-op backend.

## Functions§

build_log_plugin 🔒
  Cached thumbnails are handed to the webview as asset-protocol URLs by `convertFileSrc` (`asset://localhost/…` on Linux/macOS, `http://asset.localhost/…` on Windows/Android). Tauri only answers that origin when the `protocol-asset` cargo feature is compiled in and `app.security.assetProtocol.enable` is set in `tauri.conf.json`. Both are required together: with either missing the URL resolves to nothing and the webview reports `NETWORK_NO_SOURCE`, which is how offline video came to fail silently.
create_player_backend 🔒
  Create the appropriate player backend for the current platform.
emit_backend_init_failed 🔒
  Log a backend-initialization failure and notify the frontend, so the UI can surface “playback unavailable” instead of the app hard-crashing.
enable_linux_hardware_video_decoding 🔒
  Configure GStreamer (the media backend behind WebKitGTK’s HTML5 `<video>` element on Linux) to prefer hardware-accelerated VAAPI decoding when the host provides it, falling back to software decoding otherwise.
engine_capabilities 🔒
  Construct the tauri-specta command builder. Shared by `run()` and the bindings-export test so the TypeScript bindings always match the handler. What the engine built for this platform can do.
log_available_vaapi_decoders 🔒
  Probe (via `gst-inspect-1.0`, which ships with GStreamer) which VAAPI hardware video decoders GStreamer can actually load on this host, and log the result so it is clear at startup whether hardware decoding is genuinely available or whether playback will fall back to software.
run
set_env_if_unset 🔒
specta_builder 🔒