From 83d4aa0cb19865a276f41cecd1a3892d7f75b77d Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Mon, 27 Mar 2023 19:22:44 -0500 Subject: [PATCH] use other video plot as xmltv description (#1219) --- CHANGELOG.md | 3 +++ ErsatzTV.Core/Iptv/ChannelGuide.cs | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bdc5cffd..7ecaa77c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Added +- Use `plot` field from Other Video NFO metadata as XMLTV description + ### Fixed - Fix updating (re-adding) Trakt lists to properly use new metadata ids that were not present when originally added diff --git a/ErsatzTV.Core/Iptv/ChannelGuide.cs b/ErsatzTV.Core/Iptv/ChannelGuide.cs index be3cd989b..6b6251802 100644 --- a/ErsatzTV.Core/Iptv/ChannelGuide.cs +++ b/ErsatzTV.Core/Iptv/ChannelGuide.cs @@ -478,6 +478,8 @@ public class ChannelGuide .IfNone(string.Empty), MusicVideo mv => mv.MusicVideoMetadata.HeadOrNone().Map(mvm => mvm.Plot ?? string.Empty) .IfNone(string.Empty), + OtherVideo ov => ov.OtherVideoMetadata.HeadOrNone().Map(ovm => ovm.Plot ?? string.Empty) + .IfNone(string.Empty), _ => string.Empty }; }