diff --git a/mythtv/libs/libmythtv/tv_rec.cpp b/mythtv/libs/libmythtv/tv_rec.cpp
index 3d38c6d..a86b939 100644
a
|
b
|
void TVRec::SetLiveRecording(int recording) |
2753 | 2753 | RecStatusType recstat = rsCancelled; |
2754 | 2754 | bool was_rec = pseudoLiveTVRecording; |
2755 | 2755 | CheckForRecGroupChange(); |
2756 | | if (was_rec && !pseudoLiveTVRecording) |
| 2756 | if (!pseudoLiveTVRecording) |
2757 | 2757 | { |
2758 | 2758 | LOG(VB_GENERAL, LOG_INFO, LOC + "SetLiveRecording() -- cancel"); |
2759 | 2759 | // cancel -- 'recording' should be 0 or -1 |
… |
… |
void TVRec::SetLiveRecording(int recording) |
2761 | 2761 | curRecording->SetRecordingGroup("LiveTV"); |
2762 | 2762 | InitAutoRunJobs(curRecording, kAutoRunNone, NULL, __LINE__); |
2763 | 2763 | } |
2764 | | else if (!was_rec && pseudoLiveTVRecording) |
| 2764 | else if (pseudoLiveTVRecording) |
2765 | 2765 | { |
2766 | 2766 | LOG(VB_GENERAL, LOG_INFO, LOC + "SetLiveRecording() -- record"); |
2767 | 2767 | // record -- 'recording' should be 1 or -1 |