Skip to main content

Crate jellytau_lib

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 πŸ”’
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 πŸ”’