Skip to main contentModule playback_mode
Source - PlatformRemoteVolumeControl 🔒
- Production hook: forwards to the Android JNI bridge; no-op elsewhere.
- PlaybackModeManager
- Manages playback mode transfers between local and remote sessions
- PlaybackMode
- Playback mode - local device, remote session, or idle
- DEFAULT_REMOTE_VOLUME 🔒
- Volume level (0-100) the remote volume slider starts at. The real level is
corrected by the session poller once the remote session reports its volume.
- RESUME_THRESHOLD_SECONDS 🔒
- Below this many seconds we treat the position as “at the start” and don’t
send a resume position, so a fresh track casts from 0 rather than ~0.
- TICKS_PER_SECOND 🔒
- Number of Jellyfin ticks per second (100ns units).
- RemoteVolumeControl
- Platform hook for attaching/detaching the OS remote-volume control.
- start_position_ticks_from_seconds 🔒
- Convert a live playback position (seconds) into the
StartPositionTicks to
hand to a remote session, or None if we’re effectively at the start.