Skip to content

Commit

Permalink
[PVR] Fix for blank Currently In Prog Recordings
Browse files Browse the repository at this point in the history
(part of PR#8400 which got missed)
  • Loading branch information
metaron-uk committed Nov 21, 2015
1 parent 275fc3f commit db06e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/pvr/timers/PVRTimers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ int CPVRTimers::AmountActiveRecordings(void) const

for (MapTags::const_iterator it = m_tags.begin(); it != m_tags.end(); ++it)
for (VecTimerInfoTag::const_iterator timerIt = it->second->begin(); timerIt != it->second->end(); ++timerIt)
if ((*timerIt)->IsRecording())
if ((*timerIt)->IsRecording() && !(*timerIt)->IsRepeating())
++iReturn;

return iReturn;
Expand Down

0 comments on commit db06e59

Please sign in to comment.