fix: language filter also checks the title's original language (v1.0.0.15)
All checks were successful
Publish Release / release (push) Successful in 9s

AllowedLanguages only filtered on each video's iso_639_1 tag, and TMDB
often tags subtitled foreign trailers as "en". With en,fr selected, 6 of
27 downloaded trailers were Korean, Chinese or Zulu titles. Candidates
now also need an allowed original_language (from the list results, so
no extra API calls).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Martin
2026-10-05 18:27:50 -04:00
parent 2664ab4d5a
commit fb75fa5a07
5 changed files with 29 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
---
version: 1.0.0.14
version: 1.0.0.15
name: CinemaTrailers4Jellyfins
guid: b581493e-1046-40ed-b6dc-cb8027624984
description: >
@@ -12,9 +12,10 @@ category: General
owner: 514mart
targetAbi: 10.11.0.0
changelog:
- When yt-dlp fails part-way, its partial download files (.part, .ytdl,
separate video/audio) are now deleted instead of being left in the
trailer folder
- Trailer Languages now also checks the original language of the movie or
show. Before, only the trailer's own language tag was checked, and
TMDB often tags subtitled foreign trailers as English, so Korean,
Chinese or Japanese trailers got through
dotnetProjects:
- name: Jellyfin.Plugin.CinemaTrailers4Jellyfins