[mythtv-commits] [MythTV/mythtv] 8b610e: channelutil.cpp: fix channel count if visible is '...

billmeek noreply at github.com
Sun Sep 17 04:26:36 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 8b610e812562c8e935b0b98e4b7a4c6eab92d01e
      https://github.com/MythTV/mythtv/commit/8b610e812562c8e935b0b98e4b7a4c6eab92d01e
  Author: Bill Meek <bmeek at mythtv.org>
  Date:   2023-09-16 (Sat, 16 Sep 2023)

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

  Log Message:
  -----------
  channelutil.cpp: fix channel count if visible is 'Always Visible'

As each channel was counted, the value was incremented by the contents of
the visible field, which is OK for kChannelVisible (1). But when marked
kChannelAlwaysVisible (2), the count was bumped by two causing the following
warning log entry:

    ... Found multiple visible channels for <some name>, using chanid <some id>




More information about the mythtv-commits mailing list