Skip to content

Commit

Permalink
Also test channel name when setting autotimer parents to timers
Browse files Browse the repository at this point in the history
  • Loading branch information
phunkyfish committed Nov 25, 2024
1 parent 3afa0a1 commit 61d7f75
Showing 1 changed file with 2 additions and 1 deletion.
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 61d7f75

Please sign in to comment.