Skip to content

fix: Add Series hover trailer support#13

Merged
Fovty merged 1 commit intomasterfrom
fix/series-hover-trailers
Jan 19, 2026
Merged

fix: Add Series hover trailer support#13
Fovty merged 1 commit intomasterfrom
fix/series-hover-trailers

Conversation

@Fovty
Copy link
Owner

@Fovty Fovty commented Jan 19, 2026

Summary

Fixes #12 - Series now display trailer previews on hover, just like Movies.

Problem

Users reported that hovering over Series cards did not trigger trailer previews, even though trailers existed and worked when clicking the trailer button directly in Jellyfin.

Changes

  • API Endpoint (GetTrailerInfo): Updated to use BaseItem and IHasTrailers interface instead of Movie type, enabling trailer detection for any item that supports trailers
  • Client Script: Extended CSS selectors to include both Movie and Series cards
  • MutationObserver: Now detects Series cards added to the DOM
  • Consistency: Renamed movieId to itemId throughout for clarity

Testing

  • Build passes
  • Trailers load on series

- Update GetTrailerInfo API endpoint to use BaseItem instead of Movie
- Use IHasTrailers interface for trailer detection (works with Movies and Series)
- Update client script selectors to include Series cards
- Update MutationObserver to detect Series card additions
- Rename movieId parameter to itemId for consistency
@Fovty Fovty self-assigned this Jan 19, 2026
@Fovty Fovty merged commit 72cdf7d into master Jan 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No series hover

1 participant