All checks were successful
Publish Release / release (push) Successful in 23s
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>
25 lines
820 B
XML
25 lines
820 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<RootNamespace>Jellyfin.Plugin.CinemaTrailers4Jellyfins</RootNamespace>
|
|
<AssemblyVersion>1.0.0.3</AssemblyVersion>
|
|
<FileVersion>1.0.0.3</FileVersion>
|
|
<Nullable>enable</Nullable>
|
|
<GenerateDocumentationFile>false</GenerateDocumentationFile>
|
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Jellyfin.Controller" Version="10.11.0" />
|
|
<PackageReference Include="Jellyfin.Model" Version="10.11.0" />
|
|
<PackageReference Include="YoutubeExplode" Version="6.*" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="Configuration\config.html" />
|
|
<EmbeddedResource Include="Configuration\config.html" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|