Skip to content

[Request] Improve Movie Trailer Filtering and Add Vimeo Support #5309

@GamerGirlN6467

Description

@GamerGirlN6467

The current movie metadata service assumes the first video result from TMDB is always a YouTube trailer. This leads to two issues:

  1. Inaccurate Content: TMDB often returns teasers, clips, or "behind-the-scenes" footage at the top of the results. The system should specifically filter for videos where the type is "Trailer" to ensure the "View Trailer" button provides the expected content.
  2. Hardcoded Provider: The frontend is currently hardcoded to a YouTube embed URL. If TMDB returns a video hosted on Vimeo, the trailer will fail to load.

Suggested Changes:

  • Update the metadata fetcher to prioritize results with a type of "Trailer"
  • Implement logic to detect the video provider and render the appropriate embed (YouTube vs. Vimeo)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions