[mythtv-commits] [MythTV/mythtv] 6cdf63: Finish cleaning up bad mapping values.

David Hampton noreply at github.com
Sun Jun 6 22:03:28 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 6cdf63a8a2266ac4ac098c176dc3ec9390712bd1
      https://github.com/MythTV/mythtv/commit/6cdf63a8a2266ac4ac098c176dc3ec9390712bd1
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M mythtv/libs/libmyth/programinfo.cpp
    M mythtv/libs/libmyth/test/test_programinfo/test_programinfo.h
    M mythtv/libs/libmythmetadata/bluraymetadata.cpp
    M mythtv/libs/libmythtv/recordingrule.cpp
    M mythtv/libs/libmythui/themeinfo.cpp

  Log Message:
  -----------
  Finish cleaning up bad mapping values.

Fix the mappings that are returned from the ProgramInfo::ToMap,
BlurayMetadata::toMap, RecordingRule::ToMap, and ThemeInfo::ToMap
functions. Several of the values are stored as a single 16-bit QChar,
potentially losing the high order bits of the number/bitfield.

A set of earlier fixes added new keys with properly stringified
values, leaving the old broken values in place. This commit removes
the broken values completely, and uses the original key names for the
properly stringified values.

Fixes #366.




More information about the mythtv-commits mailing list