1 | *** eitfixup.cpp.original 2018-02-04 13:28:40.387224914 +0200 |
---|
2 | --- eitfixup.cpp 2018-02-04 13:56:59.778378868 +0200 |
---|
3 | *************** |
---|
4 | *** 144,149 **** |
---|
5 | --- 144,151 ---- |
---|
6 | m_RTLEpisodeNo2("^(\\d{1,2}\\/[IVX]+)\\.*\\s*"), |
---|
7 | m_fiRerun("\\ ?Uusinta[a-zA-Z\\ ]*\\.?"), |
---|
8 | m_fiRerun2("\\([Uu]\\)"), |
---|
9 | + m_fiAgeLimit("\\([1-9ST]*\\)$"), |
---|
10 | + m_fiFilm("^(Film|Elokuva): "), |
---|
11 | m_dePremiereLength("\\s?[0-9]+\\sMin\\."), |
---|
12 | m_dePremiereAirdate("\\s?([^\\s^\\.]+)\\s((?:1|2)[0-9]{3})\\."), |
---|
13 | m_dePremiereCredits("\\sVon\\s([^,]+)(?:,|\\su\\.\\sa\\.)\\smit\\s([^\\.]*)\\."), |
---|
14 | *************** |
---|
15 | *** 1924,1929 **** |
---|
16 | --- 1926,1950 ---- |
---|
17 | event.audioProps |= AUD_STEREO; |
---|
18 | event.description = event.description.replace(m_Stereo, ""); |
---|
19 | } |
---|
20 | + |
---|
21 | + // Remove age limit in parenthesis at end of title |
---|
22 | + // Added 4.2.2017 dag@newtech.fi |
---|
23 | + |
---|
24 | + position = event.title.indexOf(m_fiAgeLimit); |
---|
25 | + if (position != -1) |
---|
26 | + { |
---|
27 | + event.title = event.title.replace(m_fiAgeLimit, ""); |
---|
28 | + } |
---|
29 | + |
---|
30 | + // Remove Film or Elokuva at start of title |
---|
31 | + // Added 4.2.2017 dag@newtech.fi |
---|
32 | + |
---|
33 | + position = event.title.indexOf(m_fiFilm); |
---|
34 | + if (position != -1) |
---|
35 | + { |
---|
36 | + event.title = event.title.replace(m_fiFilm, ""); |
---|
37 | + } |
---|
38 | + |
---|
39 | } |
---|
40 | |
---|
41 | /** \fn EITFixUp::FixPremiere(DBEventEIT&) const |
---|