From 7ea098c390d687ef58055baadc86d109b1c691dc Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Tue, 11 Nov 2025 19:27:45 -0600 Subject: [PATCH] fix motion graphics loop when seeking --- CHANGELOG.md | 1 + .../Streaming/Graphics/Motion/MotionElement.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aafe31dd1..be7028907 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -71,6 +71,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - This fix applies to all libraries (local and media server) - Fix (3 year old) bug removing tags from local libraries when they are removed from NFO files (all content types) - New scans will properly remove old tags; NFO files may need to be touched to force updating during a scan +- Fix bug where looping motion graphics wouldn't be displayed when seeking into second half of content ### Changed - Use smaller batch size for search index updates (100, down from 1000) diff --git a/ErsatzTV.Infrastructure/Streaming/Graphics/Motion/MotionElement.cs b/ErsatzTV.Infrastructure/Streaming/Graphics/Motion/MotionElement.cs index a18fa98c0..29b738bc1 100644 --- a/ErsatzTV.Infrastructure/Streaming/Graphics/Motion/MotionElement.cs +++ b/ErsatzTV.Infrastructure/Streaming/Graphics/Motion/MotionElement.cs @@ -63,7 +63,7 @@ public class MotionElement( ProbeResult probeResult = await ProbeMotionElement(context.FrameSize); var overlayDuration = motionElement.EndBehavior switch { - MotionEndBehavior.Loop => context.Duration, + MotionEndBehavior.Loop => context.Seek + context.Duration, MotionEndBehavior.Hold => probeResult.Duration + holdDuration, _ => probeResult.Duration };