Permalink
Browse files

fix more DVR service issues.

I could have sworn I'd tested this all better, but thinking back, I
think I mainly focused on recurring rules with UpdateRecordSchedule()
and assumed AddRecordSchedule() also worked since they are almost
identical.

Fixes #11753
  • Loading branch information...
gigem committed Aug 19, 2013
1 parent a3cdcf5 commit 763c7caff6d05e36064765de1133e51cf1a5ec0e
Showing with 4 additions and 2 deletions.
  1. +4 −2 mythtv/programs/mythbackend/services/dvr.cpp
@@ -583,6 +583,7 @@ uint Dvr::AddRecordSchedule (
rule.m_seriesid = sSeriesId;
rule.m_programid = sProgramId;
rule.m_channelid = nChanId;
rule.m_station = sStation;
rule.m_findday = nFindDay;
@@ -727,20 +728,21 @@ bool Dvr::UpdateRecordSchedule ( uint nRecordId,
pRule.m_description = sDescription;
if (!sCategory.isEmpty())
pRule.m_category = sCategory;
pRule.m_category = sCategory;
if (!sSeriesId.isEmpty())
pRule.m_seriesid = sSeriesId;
if (!sProgramId.isEmpty())
pRule.m_programid = sProgramId;
if (nChanId)
pRule.m_channelid = nChanId;
if (!sStation.isEmpty())
pRule.m_station = sStation;
pRule.m_startdate = recstartts.date();
pRule.m_starttime = recstartts.time();
pRule.m_enddate = recendts.date();
pRule.m_endtime = recendts.time();

0 comments on commit 763c7ca

Please sign in to comment.