Browse files

[pvr] fixed - don't needlessly refresh timers

  • Loading branch information...
1 parent 57fb7e5 commit 050150cf3544e711baef2b24306d33baa81bba4e @opdenkamp opdenkamp committed Sep 28, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 xbmc/pvr/timers/PVRTimers.cpp
View
3 xbmc/pvr/timers/PVRTimers.cpp
@@ -646,7 +646,8 @@ CFileItemPtr CPVRTimers::GetTimerForEpgTag(const CFileItem *item) const
void CPVRTimers::Notify(const Observable &obs, const ObservableMessage msg)
{
- g_PVRManager.TriggerTimersUpdate();
+ if (msg == ObservableMessageEpgContainer)
+ g_PVRManager.TriggerTimersUpdate();
}
CDateTime CPVRTimers::GetNextEventTime(void) const

0 comments on commit 050150c

Please sign in to comment.