feat: only play animated trailers before animated content (v1.0.0.11)
All checks were successful
Publish Release / release (push) Successful in 10s

An anime trailer could play before live-action content: the genre filter
accepts any single shared genre (anime is tagged Animation + Drama/Action/...),
and when nothing matched it fell back to the whole pool. Trailers tagged
Animation or Anime are now dropped for non-animated features before the
filters and the fallback run, so a live-action feature gets no trailer
rather than an animated one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Martin
2026-10-05 17:52:33 -04:00
parent c208a81b75
commit 322d6cc65d
3 changed files with 24 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
---
version: 1.0.0.10
version: 1.0.0.11
name: CinemaTrailers4Jellyfins
guid: b581493e-1046-40ed-b6dc-cb8027624984
description: >
@@ -12,13 +12,11 @@ category: General
owner: 514mart
targetAbi: 10.11.0.0
changelog:
- Fix trailer downloads, broken by a YouTube change. YouTube no longer
serves combined video+audio files, so the built-in downloader now fetches
the video and audio separately, merges them with ffmpeg (no re-encode)
and deletes the separate files afterwards
- A failed download no longer leaves an empty trailer folder behind.
Empty folders counted toward "Max trailers to keep" (pushing out real
trailers) and were never retried
- Animated trailers (anime included) now only play before animated
content. Before, an anime trailer could play before a live-action
movie or show when they shared a genre like Drama or Action, or when
no trailer matched the genre filter. A live-action feature now gets no
trailer rather than an animated one
dotnetProjects:
- name: Jellyfin.Plugin.CinemaTrailers4Jellyfins