Skip to content

Commit

Permalink
[pvr] fixed - don't needlessly refresh timers
Browse files Browse the repository at this point in the history
  • Loading branch information
opdenkamp committed Sep 28, 2012
1 parent 57fb7e5 commit 050150c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/pvr/timers/PVRTimers.cpp
Expand Up @@ -646,7 +646,8 @@ CFileItemPtr CPVRTimers::GetTimerForEpgTag(const CFileItem *item) const


void CPVRTimers::Notify(const Observable &obs, const ObservableMessage msg) void CPVRTimers::Notify(const Observable &obs, const ObservableMessage msg)
{ {
g_PVRManager.TriggerTimersUpdate(); if (msg == ObservableMessageEpgContainer)
g_PVRManager.TriggerTimersUpdate();
} }


CDateTime CPVRTimers::GetNextEventTime(void) const CDateTime CPVRTimers::GetNextEventTime(void) const
Expand Down

0 comments on commit 050150c

Please sign in to comment.