diff --git a/mythtv/libs/libmythtv/eitfixup.cpp b/mythtv/libs/libmythtv/eitfixup.cpp
index 8148018..7f8ecdb 100644
a
|
b
|
EITFixUp::EITFixUp() |
115 | 115 | m_nlCat("^(Amusement|Muziek|Informatief|Nieuws/actualiteiten|Jeugd|Animatie|Sport|Serie/soap|Kunst/Cultuur|Documentaire|Film|Natuur|Erotiek|Comedy|Misdaad|Religieus)\\.\\s"), |
116 | 116 | m_nlOmroep ("\\s\\(([A-Z]+/?)+\\)$"), |
117 | 117 | m_noRerun("\\(R\\)"), |
| 118 | m_noHD("[\\(\\[]HD[\\)\\]]"), |
118 | 119 | m_noColonSubtitle("^([^:]+): (.+)"), |
119 | 120 | m_noNRKCategories("^(Superstrek[ea]r|Supersomm[ea]r|Superjul|Barne-tv|Fantorangen|Kuraffen|Supermorg[eo]n|Julemorg[eo]n|Sommermorg[eo]n|" |
120 | 121 | "Kuraffen-TV|Sport i dag|NRKs sportsl.rdag|NRKs sportss.ndag|Dagens dokumentar|" |
… |
… |
void EITFixUp::FixCategory(DBEventEIT &event) const |
1699 | 1700 | */ |
1700 | 1701 | void EITFixUp::FixNO(DBEventEIT &event) const |
1701 | 1702 | { |
1702 | | // Check for "title (R)" in the title |
1703 | | int position = event.title.indexOf(m_noRerun); |
| 1703 | int position; |
| 1704 | // Check for "title (R)" in the title |
| 1705 | position = event.title.indexOf(m_noRerun); |
1704 | 1706 | if (position != -1) |
1705 | 1707 | { |
1706 | 1708 | event.previouslyshown = true; |
1707 | 1709 | event.title = event.title.replace(m_noRerun, ""); |
1708 | 1710 | } |
| 1711 | // Check for "subtitle (HD)" in the subtitle |
| 1712 | position = event.subtitle.indexOf(m_noHD); |
| 1713 | if (position != -1) |
| 1714 | { |
| 1715 | event.videoProps |= VID_HDTV; |
| 1716 | event.subtitle = event.subtitle.replace(m_noHD, ""); |
| 1717 | } |
| 1718 | // Check for "description (HD)" in the description |
| 1719 | position = event.description.indexOf(m_noHD); |
| 1720 | if (position != -1) |
| 1721 | { |
| 1722 | event.videoProps |= VID_HDTV; |
| 1723 | event.description = event.description.replace(m_noHD, ""); |
| 1724 | } |
1709 | 1725 | } |
1710 | 1726 | |
1711 | 1727 | /** \fn EITFixUp::FixNRK_DVBT(DBEventEIT&) const |
diff --git a/mythtv/libs/libmythtv/eitfixup.h b/mythtv/libs/libmythtv/eitfixup.h
index a724506..aab9df7 100644
a
|
b
|
class EITFixUp |
190 | 190 | const QRegExp m_nlCat; |
191 | 191 | const QRegExp m_nlOmroep; |
192 | 192 | const QRegExp m_noRerun; |
| 193 | const QRegExp m_noHD; |
193 | 194 | const QRegExp m_noColonSubtitle; |
194 | 195 | const QRegExp m_noNRKCategories; |
195 | 196 | const QRegExp m_noPremiere; |