Ticket #5922: myth-eitfix-fi-netwid-fixed.patch
File myth-eitfix-fi-netwid-fixed.patch, 2.1 KB (added by , 15 years ago) |
---|
-
libs/libmythtv/eitfixup.cpp
79 79 m_RTLSubtitle5("^'(.+)'\\.\\s*"), 80 80 m_RTLEpisodeNo1("^(Folge\\s\\d{1,4})\\.*\\s*"), 81 81 m_RTLEpisodeNo2("^(\\d{1,2}\\/[IVX]+)\\.*\\s*"), 82 m_fiRerun("Uusinta.?"), 82 m_fiRerun("Uusinta[a-zA-Z\\ ]*\\.?"), 83 m_fiRerun2("\\([Uu]\\)"), 83 84 m_Stereo("(Stereo)"), 84 85 m_dePremiereInfos("([^.]+)?\\s?([0-9]{4})\\.\\s[0-9]+\\sMin\\.(?:\\sVon" 85 86 "\\s([^,]+)(?:,|\\su\\.\\sa\\.)\\smit\\s(.+)\\.)?"), … … 1119 1120 event.description = event.description.replace(m_fiRerun, ""); 1120 1121 } 1121 1122 1123 position = event.description.find(m_fiRerun2); 1124 if (position != -1) 1125 { 1126 event.previouslyshown = true; 1127 event.description = event.description.replace(m_fiRerun2, ""); 1128 } 1129 1122 1130 // Check for (Stereo) in the decription and set the <audio> tags 1123 1131 position = event.description.find(m_Stereo); 1124 1132 if (position != -1) -
libs/libmythtv/eithelper.cpp
847 847 fix[ 1094LL << 32 | 1 << 16 | 17028 ] = // NT1 848 848 fix[ 1100LL << 32 | 1 << 16 | 8710 ] = // NRJ 12 849 849 EITFixUp::kEFixForceISO8859_15; 850 851 // DVB-T Espoo, Finland 852 fix[ 8438U << 16] = EITFixUp::kFixFI; 853 854 // DVB-C Welho Finland 855 fix[ 42249U << 16] = EITFixUp::kFixFI; 856 fix[ 15U << 16] = EITFixUp::kFixFI; 850 857 } 851 858 852 859 static int calc_eit_utc_offset(void) -
libs/libmythtv/eitfixup.h
144 144 const QRegExp m_RTLEpisodeNo1; 145 145 const QRegExp m_RTLEpisodeNo2; 146 146 const QRegExp m_fiRerun; 147 const QRegExp m_fiRerun2; 147 148 const QRegExp m_Stereo; 148 149 const QRegExp m_dePremiereInfos; 149 150 const QRegExp m_dePremiereOTitle;