[mythtv-commits] [MythTV/mythtv] 686dcf: Add debug info for ATSC channel scan

kmdewaal noreply at github.com
Thu Mar 5 21:09:57 UTC 2020


  Branch: refs/heads/fixes/31
  Home:   https://github.com/MythTV/mythtv
  Commit: 686dcf03b9120430f1783c594037d34c19b7a20c
      https://github.com/MythTV/mythtv/commit/686dcf03b9120430f1783c594037d34c19b7a20c
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

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

  Log Message:
  -----------
  Add debug info for ATSC channel scan

In the channel scanner, after the scan of a transport is completed,
add status messages about the ATSC tables MGT, VCT, TVCT and CVCT in
addition the already existing status messages about the DVB tables.

(cherry picked from commit c56a97fb5faef23c9f732572af2bb473fe9b56a2)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>


  Commit: d5f18a09b348e28837e214984c70e224bdffc929
      https://github.com/MythTV/mythtv/commit/d5f18a09b348e28837e214984c70e224bdffc929
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp

  Log Message:
  -----------
  One-part channel number for ATSC cable

Implement the one-part channel number for ATSC cable as defined
in ATSC standard A65/2013  7 August 2013  page 35.
In this case the ATSC major number is 1008 (0x3F0) or higher
and all channels in all multiplexes have this major number.
Change the name of the MPTS full-transport stream channel
to use the freqid instead of the major number when
the one-part channel number is used.

(cherry picked from commit f1ea02d40b52d2a46636159c659c45d061bcf1d2)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>


  Commit: 58bac616dc2835f28761152f02cfb9fef0b26c69
      https://github.com/MythTV/mythtv/commit/58bac616dc2835f28761152f02cfb9fef0b26c69
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp

  Log Message:
  -----------
  Fix compiler warning.

Add a pair of brackets to fix compiler warning in the last commit.

(cherry picked from commit b7a0756f021ae38738521d91b6782f72197cb611)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>


  Commit: abcea9e1bd16e4198779741e36906fa0c70abf75
      https://github.com/MythTV/mythtv/commit/abcea9e1bd16e4198779741e36906fa0c70abf75
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/channelscan/channelimporter.cpp

  Log Message:
  -----------
  Check on ATSC major number for suggested channel number

Test on nonzero of the ATSC major number instead of the
minor number when generating a suggested channel number
because the major number is at least 1 but the minor
number can be 0 in an ATSC channel number.

(cherry picked from commit 7854a45dc7cb2bc6bf855ffa930944cb60385a7f)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>


  Commit: d05da1f6b43754cbb79e6629326b87ef26af2d8f
      https://github.com/MythTV/mythtv/commit/d05da1f6b43754cbb79e6629326b87ef26af2d8f
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp

  Log Message:
  -----------
  Fix int to QString assignment for US cable channel number

There is a QString::number(xx) needed to put an integer
into a QString.... which is sometimes forgotten...

(cherry picked from commit 51cd3ecd3ae25039d9911fe980948cd8f3d076f1)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>


  Commit: e267becfd6689fe36f7b55b5e1811e59d6f3eb8b
      https://github.com/MythTV/mythtv/commit/e267becfd6689fe36f7b55b5e1811e59d6f3eb8b
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp

  Log Message:
  -----------
  Removed leading colon in channels found

Remove the leading colon in the presentation of the
number of channels found in the mythtv-setup SCANNNING page.

(cherry picked from commit a65e0efd6b6f2c0d53456d20a0d1e20894bfd4a5)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>


  Commit: 2ec2d3c2f7bb223b63e739b96bd9cc6015d755fc
      https://github.com/MythTV/mythtv/commit/2ec2d3c2f7bb223b63e739b96bd9cc6015d755fc
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/channelscan/channelscanner.cpp

  Log Message:
  -----------
  Trivial typo in comment

(cherry picked from commit 153c39bd7b3dcb83b5c179ea47e939fa2d4a4849)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>


  Commit: 528a7e8de487dd6388c2900c2b43f3f2ad12d895
      https://github.com/MythTV/mythtv/commit/528a7e8de487dd6388c2900c2b43f3f2ad12d895
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mpeg/atscstreamdata.cpp

  Log Message:
  -----------
  ATSC scan fixes part 1

Fix HasCachedAllCVCTs and HasCachedAllTVCTs to give the correct
answer when no tables have been found yet.
Add listening to SCTE_PSIP_PID in the stream reset functions
because this pid is also added in the constructor.

(cherry picked from commit cae6477880ce310a4b43516eb8fde73c9b06754e)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>


  Commit: c7128cf0d334de5e5659ad27081498423eca14d2
      https://github.com/MythTV/mythtv/commit/c7128cf0d334de5e5659ad27081498423eca14d2
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp

  Log Message:
  -----------
  SDT Service Description Table in ATSC cable

SDT tables can also be found in ATSC ClearQAM cable signals.
Previously the presence of a SDT caused the transport to be
identified as DVB.
The following problems have been fixed:
- Channels classified as "dvb" instead of "atsc".
  A channel is now "atsc" if there is an MGT Master Guide Table.
- Timeout waiting for the NIT Network Information Table.
  If there is an MGT we do not wait for the NIT and the SDT.

Refs #13472

(cherry picked from commit b4fc0e1f8a4fd617bfd9ab4663ae58005a3882db)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>


  Commit: 7097da34c8ff31650bcf5672b7db296bd3860891
      https://github.com/MythTV/mythtv/commit/7097da34c8ff31650bcf5672b7db296bd3860891
  Author: Klaas de Waal <kdewaal at mythtv.org>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M mythtv/libs/libmythtv/mpeg/dvbstreamdata.h
    M mythtv/libs/libmythtv/mpeg/scanstreamdata.cpp
    M mythtv/libs/libmythtv/mpeg/scanstreamdata.h
    M mythtv/libs/libmythtv/recorders/dtvsignalmonitor.cpp
    M mythtv/libs/libmythtv/recorders/hdhrstreamhandler.cpp

  Log Message:
  -----------
  Always listen to ATSC_PSIP_PID with Channel Scanning

Sometimes the Channel Scanner does not listen anymore
to the ATSC_PSIP_PID after a stream reset.
In that case a timeout occurs and no channels are found.
This is fixed by always calling ScanStreamData::Reset when
a stream is reset during channel scanning.

Refs #13472

(cherry picked from commit 3c6622881e746413733a8ff3bfa4e37068e21624)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>


Compare: https://github.com/MythTV/mythtv/compare/dea4cad656d8...7097da34c8ff


More information about the mythtv-commits mailing list