Permalink
Browse files

Services: Amend DVR::GetUpcomingList to include in-progress recordings

This mirrors the behaviour of MythFrontend and the old MythWeb.
  • Loading branch information...
1 parent 525113b commit 3084ebcb220424c83569a280bcde9fb269ac1614 @stuartm stuartm committed Nov 7, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/programs/mythbackend/services/dvr.cpp
View
4 mythtv/programs/mythbackend/services/dvr.cpp
@@ -434,12 +434,12 @@ DTC::ProgramList* Dvr::GetUpcomingList( int nStartIndex,
for(; it < tmpList.end(); ++it)
{
if (!bShowAll && ((*it)->GetRecordingStatus() <= rsWillRecord) &&
- ((*it)->GetRecordingStartTime() >= MythDate::current()))
+ ((*it)->GetRecordingEndTime() > MythDate::current()))
{
recordingList.push_back(new RecordingInfo(**it));
}
else if (bShowAll &&
- ((*it)->GetRecordingStartTime() >= MythDate::current()))
+ ((*it)->GetRecordingEndTime() > MythDate::current()))
{
recordingList.push_back(new RecordingInfo(**it));
}

0 comments on commit 3084ebc

Please sign in to comment.