github zupancicmarko/JellyHA v1.8.0

one hour ago

Added

  • One-Tap Skip Intro / Skip Outro:
    • Added jellyha.skip_segment service supporting both native Jellyfin client sessions (via session_seek, or NextTrack / Stop when Outro/Credits run to end-of-file) and generic Home Assistant media_player entities such as Google Cast (media_player.media_seek).
    • Enriched jellyha/get_item WebSocket responses with Jellyfin MediaSegments so Cast devices also display Skip Intro / Skip Outro pills without requiring a native Jellyfin session.
    • Added a responsive frosted-glass Skip Intro / Skip Outro pill in the Now Playing card (Standard and Full-Art modes) anchored on the right of the playback row so playback controls stay centered, with automatic two-row wrapping on narrow cards and a Show Skip Intro Button (show_skip_segment) toggle in the card editor.
  • Follow-Me Playback Handoff:
    • Added jellyha.transfer_playback service for failure-safe live handoff between any Jellyfin session player and Google Cast / Chromecast devices, automatically resuming at the live playback timestamp (minus configurable rewind_seconds, skipped for Live TV) before stopping or pausing the source player.
    • Added start_position_seconds support to jellyha.play_on_chromecast (current_time in Cast extra payload).
    • Added a Follow-Me Transfer button in the Now Playing card header with a frosted-glass target picker popover, automatic target discovery (filtering out Music Assistant audio wrappers for video playback and disambiguating duplicate friendly names with entity-ID subtitles), inline error feedback, and Show Transfer Playback (show_transfer_button) / transfer_targets editor & YAML options.
  • Poster-Matched Playing Highlight on Library Card:
    • Extracted the poster dominant-color algorithm into a shared cached helper (color-utils.ts) and applied it to currently-playing items across all Library Card layouts (Grid, Carousel, List, Featured Hero, Featured Queue) with a softened translucent glow border matching the Now Playing card.

Fixed

  • Now Playing Progress Bar & Play/Pause Responsiveness:
    • Fixed media_position_updated_at in JellyHABasePlaybackMediaPlayer so it only advances when (item_id, position_ticks, is_paused) actually changes, preventing stale WebSocket heartbeats from resetting the clock and jumping seconds backwards.
    • Added immediate optimistic Play/Pause state updates in both media_player.py (async_media_play / async_media_pause) and the Now Playing card so toggling Play/Pause updates icons and freezes/resumes the timer instantaneously.
    • Improved optimistic seek handling on the Now Playing card (extended grace window with smart release once server position catches up, disabled 1s transition during seek) to prevent progress-bar snap-back on slower HLS clients like Moonfin.
    • Removed the 10px edge-snap deadzone in _getDragPercent() for smooth 1:1 scrubbing all the way to 0% and 100%.

Don't miss a new JellyHA release

NewReleases is sending notifications on new releases.