Mailing List Archive

[MythTV/mythtv] 8b610e: channelutil.cpp: fix channel count if visible is '...
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 8b610e812562c8e935b0b98e4b7a4c6eab92d01e
https://github.com/MythTV/mythtv/commit/8b610e812562c8e935b0b98e4b7a4c6eab92d01e
Author: Bill Meek <bmeek@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>


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits