Skip to content

Commit

Permalink
Merge pull request #476 from phunkyfish/fix-autotimer-parent-assign
Browse files Browse the repository at this point in the history
Also test channel name when setting autotimer parents to timers
  • Loading branch information
phunkyfish authored Nov 25, 2024
2 parents 3afa0a1 + 49cb67b commit 47e0d52
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pvr.vuplus/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.vuplus"
version="22.3.0"
version="22.3.1"
name="Enigma2 Client"
provider-name="Joerg Dembski and Ross Nicholson">
<requires>@ADDON_DEPENDS@
Expand Down
3 changes: 3 additions & 0 deletions pvr.vuplus/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v22.3.1
- Also test channel name when setting autotimer parents to timers

v22.3.0
- Add expert setting to toggle using OpenWebIf internal MovieList on/off

Expand Down
3 changes: 2 additions & 1 deletion src/enigma2/Timers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 47e0d52

Please sign in to comment.