From d3ef3096d06e9f4eb96f4e9a1a534dacd7c077cc Mon Sep 17 00:00:00 2001
From: tobias <thinkdifferent055@gmail.com>
Date: Tue, 23 Nov 2021 19:33:04 +0100
Subject: [PATCH] #173 - Fix play timeline for content player if played more
 than once in a row

---
 .../playpad/plugin/content/player/ContentPlayerBinding.scala     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PlayWallPlugins/PlayWallPluginContentPlayer/src/main/scala/de/tobias/playpad/plugin/content/player/ContentPlayerBinding.scala b/PlayWallPlugins/PlayWallPluginContentPlayer/src/main/scala/de/tobias/playpad/plugin/content/player/ContentPlayerBinding.scala
index af999b27..845548b0 100644
--- a/PlayWallPlugins/PlayWallPluginContentPlayer/src/main/scala/de/tobias/playpad/plugin/content/player/ContentPlayerBinding.scala
+++ b/PlayWallPlugins/PlayWallPluginContentPlayer/src/main/scala/de/tobias/playpad/plugin/content/player/ContentPlayerBinding.scala
@@ -67,6 +67,7 @@ class ContentPlayerBinding(val nativePlayer: ContentPlayer, val zone: Zone) {
 		// to the new media. Otherwise the media will be stopped normally.
 		if (!media.content.stopMediaByOtherPlayer) {
 			nativePlayer.Stop()
+			currentMedia.set(null)
 		}
 	}
 
-- 
GitLab