Ticket #10726: 10726.patch

File 10726.patch, 995 bytes (added by lomion@…, 8 years ago)

This patch helps with recording a LiveTV show but the pop-up is still not working as intended

  • mythtv/libs/libmythtv/tv_rec.cpp

    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) 
    27532753    RecStatusType recstat = rsCancelled;
    27542754    bool was_rec = pseudoLiveTVRecording;
    27552755    CheckForRecGroupChange();
    2756     if (was_rec && !pseudoLiveTVRecording)
     2756    if (!pseudoLiveTVRecording)
    27572757    {
    27582758        LOG(VB_GENERAL, LOG_INFO, LOC + "SetLiveRecording() -- cancel");
    27592759        // cancel -- 'recording' should be 0 or -1
    void TVRec::SetLiveRecording(int recording) 
    27612761        curRecording->SetRecordingGroup("LiveTV");
    27622762        InitAutoRunJobs(curRecording, kAutoRunNone, NULL, __LINE__);
    27632763    }
    2764     else if (!was_rec && pseudoLiveTVRecording)
     2764    else if (pseudoLiveTVRecording)
    27652765    {
    27662766        LOG(VB_GENERAL, LOG_INFO, LOC + "SetLiveRecording() -- record");
    27672767        // record -- 'recording' should be 1 or -1