Files
CinemaTrailers4Jellyfins/build.yaml
Martin 83966f40ea
All checks were successful
Publish Release / release (push) Successful in 23s
feat: add genre, rating, and avoid-repeats trailer filters
Trailer selection now supports three optional filters:
- Genre match: prefer trailers whose fake-movie genre overlaps with the
  feature being played (requires TMDB genres in NFO)
- Age rating ceiling: exclude trailers rated higher than the feature
  (requires TMDB certification in NFO)
- Avoid repeats: cycle through all trailers before replaying any;
  resets per-user once the pool is exhausted

Genre and certification are fetched from TMDB at download time via a
single /movie/{id}?append_to_response=release_dates call and written
into the fake-movie NFO as <genre> and <mpaa> tags. All filters fall
back to the full unfiltered pool when no match is found.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-09 17:15:38 -04:00

23 lines
917 B
YAML

---
version: 1.0.0.3
name: CinemaTrailers4Jellyfins
guid: b581493e-1046-40ed-b6dc-cb8027624984
description: >
Automatically downloads trailers for upcoming and recently released movies
not in your library from TMDB/YouTube, and packages each one as a fake-movie
folder (placeholder video + NFO + trailer) ready for a Cinema Mode / trailer
pre-roll plugin.
overview: Builds a self-contained trailer library for Cinema Mode pre-roll plugins
category: General
owner: 514mart
targetAbi: 10.11.0.0
changelog:
- Add trailer selection filters — genre match, age rating ceiling, and avoid-repeats
cycle; genre and rating are written to each fake-movie NFO at download time from
TMDB so Jellyfin can use them for filtering; filters fall back to random when no
match is found
dotnetProjects:
- name: Jellyfin.Plugin.CinemaTrailers4Jellyfins
artifact: Jellyfin.Plugin.CinemaTrailers4Jellyfins.dll