[mythtv-commits] [MythTV/mythtv] 3f6f43: EITfixup: SuperRTL (Germany) episode number in sub...

David Hampton noreply at github.com
Wed Feb 17 05:02:41 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 3f6f43053d0521fc35c92de11395a2890a6cc081
      https://github.com/MythTV/mythtv/commit/3f6f43053d0521fc35c92de11395a2890a6cc081
  Author: Lomion0815 <lomion at aon.at>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.h

  Log Message:
  -----------
  EITfixup: SuperRTL (Germany) episode number in subtitle

Signed-off-by: David Hampton <mythtv at love2code.net>


  Commit: 15223cea0d0dc7ee6a977f0bbd8a4fbf272bc16a
      https://github.com/MythTV/mythtv/commit/15223cea0d0dc7ee6a977f0bbd8a4fbf272bc16a
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Replace \xYY with actual unicode characters.


  Commit: 98ca816f6d8e677270ae61e0877ac2131e007772
      https://github.com/MythTV/mythtv/commit/98ca816f6d8e677270ae61e0877ac2131e007772
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Use a map when parsing Dutch categories.


  Commit: 8656d4e0899b43558c1d2f39fbee1e7d19bdb746
      https://github.com/MythTV/mythtv/commit/8656d4e0899b43558c1d2f39fbee1e7d19bdb746
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: A couple of tweaks to the Dutch fixups.

1) Use the "person separator" regex for actors. This allows the use of
the word "en" (and) between names as well as a simple comma.

2) Fix the code to extract the director's name.

3) Remove positive look ahead from two regular expressions. As written
these two expressions can never match as they require a space and a
non-space character to occupy the same position in the string. Without
positive look ahead they can match the words "uit"/"van" and the
following text.


  Commit: 17e405655b99c0f3e93f4ac83be58cfbe137ea51
      https://github.com/MythTV/mythtv/commit/17e405655b99c0f3e93f4ac83be58cfbe137ea51
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: A couple of tweaks to the Dutch year parsing.

1) The both year regexes should allow any second digit [0-9].

2) Simplify the year2 regex by replacing '[x]{1}' with 'x'.


  Commit: c7a160b339e958881a282f8751e943818b06be2c
      https://github.com/MythTV/mythtv/commit/c7a160b339e958881a282f8751e943818b06be2c
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: When parsing Greek ratings, drop the [] characters.

The event ratings stored into the system should be saved in the form
system:"GR" and rating:"18", not rating:"[18]". The brackets are to
delineate the rating from the title, they are not part of the rating.


  Commit: 704222874c79fc8fcf78498d226dd7a93c54e465
      https://github.com/MythTV/mythtv/commit/704222874c79fc8fcf78498d226dd7a93c54e465
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Fix the Greek check for a full stop before the director.

The regular expression has one too many opening parentheses and is
therefore invalid. Remove the extra parentheses.


  Commit: 6077293d80e39daedef4e97182e9e260a4112745
      https://github.com/MythTV/mythtv/commit/6077293d80e39daedef4e97182e9e260a4112745
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h

  Log Message:
  -----------
  eitfixup: Add a function to parse roman numerals in Greek fixups.


  Commit: 8cfe2786902cfcb72e19bf25849d3b065ef63a86
      https://github.com/MythTV/mythtv/commit/8cfe2786902cfcb72e19bf25849d3b065ef63a86
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/channelutil.cpp
    M mythtv/libs/libmythtv/channelutil.h

  Log Message:
  -----------
  Move a couple of local static variables to be class static variables.

These variables will be referenced in a future commit to add more EIT
test cases.


  Commit: 74633bf315b8a5de796291a520aa68eb12b0454e
      https://github.com/MythTV/mythtv/commit/74633bf315b8a5de796291a520aa68eb12b0454e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Correctly remove "(HD)" from a BellExpressVu title.


  Commit: 98cd28a83fdbe62717664703d7b266965021cac6
      https://github.com/MythTV/mythtv/commit/98cd28a83fdbe62717664703d7b266965021cac6
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-13 (Sat, 13 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Correctly remove the year from an AUSeven title.


  Commit: 51e74a9bd57084ad9940e2cf88bcfd1e4d25d93a
      https://github.com/MythTV/mythtv/commit/51e74a9bd57084ad9940e2cf88bcfd1e4d25d93a
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmyth/programinfo.h
    M mythtv/libs/libmythtv/channelutil.h
    M mythtv/libs/libmythtv/programdata.h
    M mythtv/libs/libmythtv/test/test_eitfixups/.gitignore
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.h
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.pro

  Log Message:
  -----------
  Add a slew of test cases to cover EIT fixups.

Use gcov to check that all code paths are covered.


  Commit: 0f06606f4c925d038d7845955b6c17fc5875070d
      https://github.com/MythTV/mythtv/commit/0f06606f4c925d038d7845955b6c17fc5875070d
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Move UK fixup QRegularExpressions to where they are used.


  Commit: effd32f9319e949d85ace4507d67d6bf647e496f
      https://github.com/MythTV/mythtv/commit/effd32f9319e949d85ace4507d67d6bf647e496f
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h

  Log Message:
  -----------
  eitfixup: Convert Canadian BellExpressVu fixups to QRegularExpression.


  Commit: 41faf83f433237ae3e3f7afbf9d1b2fc8d371cc1
      https://github.com/MythTV/mythtv/commit/41faf83f433237ae3e3f7afbf9d1b2fc8d371cc1
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h

  Log Message:
  -----------
  eitfixup: Convert Swedish ComHem fixups to QRegularExpression.


  Commit: 4d0f2902ad37f9c896a88a9f664892597c5c2bb9
      https://github.com/MythTV/mythtv/commit/4d0f2902ad37f9c896a88a9f664892597c5c2bb9
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h

  Log Message:
  -----------
  eitfixup: Convert MultiChoice Africa fixups to QRegularExpression.


  Commit: 6f371f08c59231d5724a3ddb1d10093a8f3424ae
      https://github.com/MythTV/mythtv/commit/6f371f08c59231d5724a3ddb1d10093a8f3424ae
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h

  Log Message:
  -----------
  eitfixup: Convert German RTL Group fixups to QRegularExpression.


  Commit: 2c180c465191b1ad7fc196a455c78a7224f0a692
      https://github.com/MythTV/mythtv/commit/2c180c465191b1ad7fc196a455c78a7224f0a692
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp

  Log Message:
  -----------
  eitfixup: Convert Finnish fixups to QRegularExpression.


  Commit: 29646e02f77f0a88ed92bad190cb82443c02298b
      https://github.com/MythTV/mythtv/commit/29646e02f77f0a88ed92bad190cb82443c02298b
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp

  Log Message:
  -----------
  eitfixup: Convert Netherlands fixups to QRegularExpression.


  Commit: a85ab2a854b2fa9c40bd2f1d143b9e138a464e9b
      https://github.com/MythTV/mythtv/commit/a85ab2a854b2fa9c40bd2f1d143b9e138a464e9b
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h

  Log Message:
  -----------
  eitfixup: Convert Norwegian fixups to QRegularExpression.


  Commit: 13c338f9f84e6d6c1d7e8a1c8baf9b646cdcdfb4
      https://github.com/MythTV/mythtv/commit/13c338f9f84e6d6c1d7e8a1c8baf9b646cdcdfb4
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h

  Log Message:
  -----------
  eitfixup: Convert Danish fixups to QRegularExpression.


  Commit: f872430a5781dd344181c1395cb67204386b9ac5
      https://github.com/MythTV/mythtv/commit/f872430a5781dd344181c1395cb67204386b9ac5
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp

  Log Message:
  -----------
  tidy: Fix readability warning in test_eitfixups.cpp.


  Commit: 86ba982e466e42c0aadb938863a9f5bdf26037ea
      https://github.com/MythTV/mythtv/commit/86ba982e466e42c0aadb938863a9f5bdf26037ea
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h

  Log Message:
  -----------
  eitfixup: Convert Freeview Australia fixups to QRegularExpression.


  Commit: a0a69b778272449698e7c449ea00de722e9dfc95
      https://github.com/MythTV/mythtv/commit/a0a69b778272449698e7c449ea00de722e9dfc95
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h

  Log Message:
  -----------
  eitfixup: Convert Greek category fixups to QRegularExpression.


  Commit: b813394dff245e8a2b97b1599056d48fee307398
      https://github.com/MythTV/mythtv/commit/b813394dff245e8a2b97b1599056d48fee307398
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp

  Log Message:
  -----------
  eitfixup: Convert Greek fixups to QRegularExpression.


  Commit: 04a057d58174f89bf848ecf8f9e4a96b376cb38a
      https://github.com/MythTV/mythtv/commit/04a057d58174f89bf848ecf8f9e4a96b376cb38a
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Convert Australian Nine Network fixups to QRegularExpression.


  Commit: 069846e19efa29ebb8ca823b9f2fe3812e506c84
      https://github.com/MythTV/mythtv/commit/069846e19efa29ebb8ca823b9f2fe3812e506c84
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Convert Australian Seven Network fixups to QRegularExpression.


  Commit: 7a308c5bc5763fb050330dd6b983520e6aac0c04
      https://github.com/MythTV/mythtv/commit/7a308c5bc5763fb050330dd6b983520e6aac0c04
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Move StripHTML QRegularExpression into function.


  Commit: be1148ce7847bc2a4ab1c4b169d7b88738110e04
      https://github.com/MythTV/mythtv/commit/be1148ce7847bc2a4ab1c4b169d7b88738110e04
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Remove unnecessary doxygen function declarations.

A doxygen function declaration in the comment immediately preceding
the actual function declaration is redundant and should be omitted.


  Commit: da65b0a0f9090cf6d5e0a8e139a7aac23a0c8154
      https://github.com/MythTV/mythtv/commit/da65b0a0f9090cf6d5e0a8e139a7aac23a0c8154
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Remove unnecessary non-capturing groups.

If a non-capturing group doesn't support alternate matching and is
required to appear once and only once, then it doesn't need to be
written as a group.


  Commit: 1271271b2039d5cbbee5d91ba6cdaaae02067a2e
      https://github.com/MythTV/mythtv/commit/1271271b2039d5cbbee5d91ba6cdaaae02067a2e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Remove group repeat counts of exactly one.

If any character/group has a repeat count of exactly one, then the
repeat count is unnecessary and can be removed.


  Commit: 98aff2522d55b27a46fe0ccfde8fe1e0ba22c48e
      https://github.com/MythTV/mythtv/commit/98aff2522d55b27a46fe0ccfde8fe1e0ba22c48e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp

  Log Message:
  -----------
  eitfixup: Set program rating system to be "AU" on Australian Seven Network.

When storing program ratings that are captured from the Australian
Seven Network EIT information, mark them with the rating system "AU"
instead of an empty rating system.


  Commit: db1b8be8067b63146bb3f852e52b6b32648de9d8
      https://github.com/MythTV/mythtv/commit/db1b8be8067b63146bb3f852e52b6b32648de9d8
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Remove redundant trimming of strings.


  Commit: 09dd4062a6842590dccaafb4305fa4fce45e0155
      https://github.com/MythTV/mythtv/commit/09dd4062a6842590dccaafb4305fa4fce45e0155
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp

  Log Message:
  -----------
  eitfixup: do some additional cleanup on returned strings.

1) Remove empty sets of braces. I.E. "()", "( )", etc.
2) Remove duplicate spaces within strings.


  Commit: 01f8eac69ba6dd19d2d2b6aaec23dca62fd8160b
      https://github.com/MythTV/mythtv/commit/01f8eac69ba6dd19d2d2b6aaec23dca62fd8160b
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp

  Log Message:
  -----------
  eitfixup: Tweak Netherlands fixups to ignore case when parsing dates.


  Commit: 48930c5ebe49495fd9a972c6b8dd3bad7a51214e
      https://github.com/MythTV/mythtv/commit/48930c5ebe49495fd9a972c6b8dd3bad7a51214e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp

  Log Message:
  -----------
  eitfixup: Tweak Danish fixups to remove director from list of actors.

There was code present that intended to do this but didn't
work. Rewrite it to work correctly.

Also added commented out code to remove the actors and directors from
the description. This can be enabled by removing the comments, if
desired.


  Commit: 1d18627ecb554cde2f293bc1c7ab55bd0f0c63e7
      https://github.com/MythTV/mythtv/commit/1d18627ecb554cde2f293bc1c7ab55bd0f0c63e7
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmyth/programinfo.h
    M mythtv/libs/libmythtv/channelutil.cpp
    M mythtv/libs/libmythtv/channelutil.h
    M mythtv/libs/libmythtv/eitfixup.cpp
    M mythtv/libs/libmythtv/eitfixup.h
    M mythtv/libs/libmythtv/programdata.h
    M mythtv/libs/libmythtv/test/test_eitfixups/.gitignore
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.h
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.pro

  Log Message:
  -----------
  Merge all EIT QRegularExpression changes back into the main tree.

Closes #313.


  Commit: ffff6554ada9602a47eac0de0016aca8a65baac0
      https://github.com/MythTV/mythtv/commit/ffff6554ada9602a47eac0de0016aca8a65baac0
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eitfixup.cpp

  Log Message:
  -----------
  eitfixup: Mark all the QRegularExpressions as "static const".

Also mark some QString variables the same way. These local variables
are essentially constants, and don't need to be recreated on each
invocation of the function.


  Commit: db17c585bd1e0cf6f72ad2ada8f309fc416d8bc4
      https://github.com/MythTV/mythtv/commit/db17c585bd1e0cf6f72ad2ada8f309fc416d8bc4
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/test/test_eitfixups/test_eitfixups.cpp

  Log Message:
  -----------
  tidy: Fix "static accessed through instance" warnings in EIT test code.


  Commit: 9360b0b59b9efcb064579599037771209bd7e991
      https://github.com/MythTV/mythtv/commit/9360b0b59b9efcb064579599037771209bd7e991
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M mythtv/libs/libmythtv/eithelper.cpp
    M mythtv/libs/libmythtv/eithelper.h

  Log Message:
  -----------
  tidy: Fix "static accessed through instance" warnings in EIT helper code.


Compare: https://github.com/MythTV/mythtv/compare/e787645fd974...9360b0b59b9e


More information about the mythtv-commits mailing list