From 0172fcbb578500725fd0f24c4d4e0288b088d5a5 Mon Sep 17 00:00:00 2001
From: phunkyfish <phunkyfish@gmail.com>
Date: Mon, 25 Nov 2024 08:27:28 +0000
Subject: [PATCH 1/2] Also test channel name when setting autotimer parents to
 timers

---
 src/enigma2/Timers.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/enigma2/Timers.cpp b/src/enigma2/Timers.cpp
index b15ae414..df203a2a 100644
--- a/src/enigma2/Timers.cpp
+++ b/src/enigma2/Timers.cpp
@@ -1294,7 +1294,8 @@ bool Timers::TimerUpdatesAuto()
     {
       const std::string autotimerTag = ConvertToAutoTimerTag(autoTimer.GetTitle());
 
-      if (timer.GetType() == Timer::EPG_AUTO_ONCE && timer.ContainsTag(TAG_FOR_AUTOTIMER) && timer.ContainsTag(autotimerTag))
+      if (timer.GetType() == Timer::EPG_AUTO_ONCE && timer.ContainsTag(TAG_FOR_AUTOTIMER) &&
+          timer.ContainsTag(autotimerTag) && autoTimer.GetChannelName() == timer.GetChannelName())
       {
         timer.SetParentClientIndex(autoTimer.GetClientIndex());
         continue;

From a7d620c6375e05bca467d1181d042b3ab3e97777 Mon Sep 17 00:00:00 2001
From: phunkyfish <phunkyfish@gmail.com>
Date: Mon, 25 Nov 2024 08:31:25 +0000
Subject: [PATCH 2/2] changelog and version 21.3.1

---
 pvr.vuplus/addon.xml.in  | 2 +-
 pvr.vuplus/changelog.txt | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/pvr.vuplus/addon.xml.in b/pvr.vuplus/addon.xml.in
index 13dbe110..ed81bf95 100644
--- a/pvr.vuplus/addon.xml.in
+++ b/pvr.vuplus/addon.xml.in
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <addon
   id="pvr.vuplus"
-  version="21.3.0"
+  version="21.3.1"
   name="Enigma2 Client"
   provider-name="Joerg Dembski and Ross Nicholson">
   <requires>@ADDON_DEPENDS@
diff --git a/pvr.vuplus/changelog.txt b/pvr.vuplus/changelog.txt
index ba705586..f4ca5c17 100644
--- a/pvr.vuplus/changelog.txt
+++ b/pvr.vuplus/changelog.txt
@@ -1,3 +1,6 @@
+v21.3.1
+- Also test channel name when setting autotimer parents to timers
+
 v21.3.0
 - Add expert setting to toggle using OpenWebIf internal MovieList on/off