Ticket #12578: power_search_meta.patch

File power_search_meta.patch, 856 bytes (added by Mike Rice <mikerice1969@…>, 4 years ago)

patch

  • mythtv/programs/mythfrontend/scheduleeditor.cpp

    diff --git a/mythtv/programs/mythfrontend/scheduleeditor.cpp b/mythtv/programs/mythfrontend/scheduleeditor.cpp
    index 5068d4b..171a7b7 100644
    a b MetadataLookup *MetadataOptions::CreateLookup(MetadataType mtype) 
    16191619    lookup->SetAllowGeneric(true);
    16201620    lookup->SetHandleImages(false);
    16211621    lookup->SetHost(gCoreContext->GetMasterHostName());
    1622     lookup->SetTitle(m_recordingRule->m_title);
     1622    QString title = m_recordingRule->m_title;
     1623    if (m_recordingRule->m_searchType != kNoSearch)
     1624        title.remove(QRegExp(" \\(.*\\)$"));
     1625    lookup->SetTitle(title);
    16231626    lookup->SetSubtitle(m_recordingRule->m_subtitle);
    16241627    lookup->SetInetref(m_inetrefEdit->GetText());
    16251628    lookup->SetCollectionref(m_inetrefEdit->GetText());