Ticket #12087: alsoinhd.patch

File alsoinhd.patch, 1.0 KB (added by Alan Nimmo <alanjnimmo@…>, 6 years ago)

Patch to remove 'Also in HD' from BBC programme descriptions

  • mythtv/libs/libmythtv/eitfixup.cpp

    diff --git a/mythtv/libs/libmythtv/eitfixup.cpp b/mythtv/libs/libmythtv/eitfixup.cpp
    index 2b83017..f86393e 100644
    a b EITFixUp::EITFixUp() 
    5959      m_ukCompleteDots("^\\.\\.+$"),
    6060      m_ukQuotedSubtitle("(?:^')([\\w\\s\\-,]+)(?:\\.' )"),
    6161      m_ukAllNew("All New To 4Music!\\s?"),
     62      m_ukAlsoInHD("Also in HD\\."),
    6263      m_comHemCountry("^(\\(.+\\))?\\s?([^ ]+)\\s([^\\.0-9]+)"
    6364                      "(?:\\sfrån\\s([0-9]{4}))(?:\\smed\\s([^\\.]+))?\\.?"),
    6465      m_comHemDirector("[Rr]egi"),
  • mythtv/libs/libmythtv/eitfixup.h

    diff --git a/mythtv/libs/libmythtv/eitfixup.h b/mythtv/libs/libmythtv/eitfixup.h
    index 743fc94..b9f4cb4 100644
    a b class EITFixUp 
    151151    const QRegExp m_ukCompleteDots;
    152152    const QRegExp m_ukQuotedSubtitle;
    153153    const QRegExp m_ukAllNew;
     154    const QRegExp m_ukAlsoInHD;
    154155    const QRegExp m_comHemCountry;
    155156    const QRegExp m_comHemDirector;
    156157    const QRegExp m_comHemActor;