Skip to main content

## Module repository

Source

## Re-exports§

`pub use hybrid::HybridRepository;`
`pub use offline::OfflineRepository;`
`pub use online::JRayActor;`
`pub use online::OnlineRepository;`
`pub use stream_selection::StreamSelection;`
`pub use stream_selection::Transport;`
`pub use types::*;`

## Modules§

device_profile
  Device-profile policy: turning what a device reports about its audio output into the constraints we send Jellyfin.
exclusions
  User-chosen browsing exclusions (UR-076 / DR-209). Library folders the user has chosen to keep out of browsing.
hybrid
offline
online
  TRACES: UR-002, UR-007 | DR-013 | IR-010
series_progress
  Where a viewer is in a TV series.
stream_selection
  Backend-owned stream selection (UR-079 / DR-225). What stream to play, decided in Rust and handed to a player whole.
types

## Traits§

MediaRepository
  Repository trait for media access (online, offline, or hybrid)

## Functions§

resolve_video_download_url
  Resolve the download URL for a video, applying the audio-codec policy that keeps the saved file playable offline (DR-171).
served_audio_codec
  The audio codec the server would serve for `item_id` — the default track, or the first when none is marked, matching the track Jellyfin picks.