Ticket #12252: recording_details.patch

File recording_details.patch, 2.1 KB (added by lomion@…, 6 years ago)
  • mythtv/programs/mythfrontend/schedulecommon.cpp

    diff --git a/mythtv/programs/mythfrontend/schedulecommon.cpp b/mythtv/programs/mythfrontend/schedulecommon.cpp
    index 66aa92c..085b3b2 100644
    a b void ScheduleCommon::customEvent(QEvent *event) 
    435435                    if (recInfo.GetRecordingStartTime() < MythDate::current())
    436436                        recInfo.ReactivateRecording();
    437437                }
     438                EditScheduled(&recInfo);
    438439            }
    439440            else if (resulttext == tr("Record all showings"))
     441            {
    440442                recInfo.ApplyRecordStateChange(kAllRecord);
     443                EditScheduled(&recInfo);
     444            }
    441445            else if (resulttext == tr("Record one showing (this episode)") ||
    442446                     resulttext == tr("Record one showing"))
    443447            {
    444448                recInfo.ApplyRecordStateChange(kOneRecord, false);
    445449                recInfo.GetRecordingRule()->m_filter |= 64; // This episode
    446450                recInfo.GetRecordingRule()->Save();
     451                EditScheduled(&recInfo);
    447452            }
    448453            else if (resulttext == tr("Record all showings (this channel)"))
    449454            {
    450455                recInfo.ApplyRecordStateChange(kAllRecord, false);
    451456                recInfo.GetRecordingRule()->m_filter |= 1024; // This channel
    452457                recInfo.GetRecordingRule()->Save();
     458                EditScheduled(&recInfo);
    453459            }
    454460            else if (resulttext == tr("Stop this recording"))
    455461            {
  • mythtv/programs/mythfrontend/scheduleeditor.cpp

    diff --git a/mythtv/programs/mythfrontend/scheduleeditor.cpp b/mythtv/programs/mythfrontend/scheduleeditor.cpp
    index bc70f7e..a86ff44 100644
    a b ScheduleEditor::ScheduleEditor(MythScreenStack *parent, 
    9696            m_player(player), m_loaded(false), m_view(kMainView), m_child(NULL)
    9797{
    9898    m_recordingRule = new RecordingRule();
     99    m_recInfo->SetRecordingRuleID(recInfo->getRecordID());
    99100    m_recordingRule->m_recordID = m_recInfo->GetRecordingRuleID();
    100101    SchedOptMixin::SetRule(m_recordingRule);
    101102    FilterOptMixin::SetRule(m_recordingRule);