Skip to content

Commit

Permalink
Merge pull request xbmc#8414 from metaron-uk/activeRecord
Browse files Browse the repository at this point in the history
[PVR] Fix for blank Currently In Prog Recordings
  • Loading branch information
ksooo committed Nov 21, 2015
2 parents 49a2f4e + db06e59 commit 98e0275
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 98e0275

Please sign in to comment.