Browse Source

use other video plot as xmltv description (#1219)

pull/1221/head
Jason Dove 2 years ago committed by GitHub
parent
commit
83d4aa0cb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      CHANGELOG.md
  2. 2
      ErsatzTV.Core/Iptv/ChannelGuide.cs

3
CHANGELOG.md

@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. @@ -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

2
ErsatzTV.Core/Iptv/ChannelGuide.cs

@ -478,6 +478,8 @@ public class ChannelGuide @@ -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
};
}

Loading…
Cancel
Save