Skip to content

Commit

Permalink
Fix delete and allow-rerecord when AutoExpireInsteadOfDelete is enabled.
Browse files Browse the repository at this point in the history
When the forget history logic was moved to the backend to fix a race
condition, the AutoExpireInsteadOfDelete case was not handled.

Fixes #9360.
  • Loading branch information
gigem committed Dec 13, 2010
1 parent c5907af commit 0cab1df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/programs/mythbackend/mainserver.cpp
Expand Up @@ -2393,6 +2393,8 @@ void MainServer::DoHandleDeleteRecording(
recinfo.SaveAutoExpire(kDeletedAutoExpire, true); recinfo.SaveAutoExpire(kDeletedAutoExpire, true);
if (recinfo.GetRecordingStatus() == rsRecording) if (recinfo.GetRecordingStatus() == rsRecording)
DoHandleStopRecording(recinfo, NULL); DoHandleStopRecording(recinfo, NULL);
if (forgetHistory)
recinfo.ForgetHistory();
QStringList outputlist( QString::number(0) ); QStringList outputlist( QString::number(0) );
SendResponse(pbssock, outputlist); SendResponse(pbssock, outputlist);
return; return;
Expand Down

0 comments on commit 0cab1df

Please sign in to comment.