Skip to content

Commit

Permalink
Reschedule when a recording is undeleted.
Browse files Browse the repository at this point in the history
Note: an unwitting user could unintentionally bypass this change by
changing the recording group directly from "Deleted" to something
else.  Possibly fix this in the future by moving all releated fixups
into RecordingInfo::ApplyRecordRecGroupChange() instead of having
every caller do them.

Refs #11224
  • Loading branch information
gigem committed Nov 13, 2012
1 parent 729e3d5 commit 5e1c14e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/programs/mythbackend/mainserver.cpp
Expand Up @@ -2682,6 +2682,8 @@ void MainServer::DoHandleUndeleteRecording(
recinfo.ApplyRecordRecGroupChange("Default");
recinfo.UpdateLastDelete(false);
recinfo.SaveAutoExpire(kDisableAutoExpire);
if (m_sched)
m_sched->RescheduleCheck(recinfo, "DoHandleUndelete");
ret = 0;
#if 0
}
Expand Down

0 comments on commit 5e1c14e

Please sign in to comment.