Mailing List Archive

[MythTV/mythtv] f9b977: EIT scanner instance start delay
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: f9b9778eb5d3f23309cec72f241496acd7c9eef6
https://github.com/MythTV/mythtv/commit/f9b9778eb5d3f23309cec72f241496acd7c9eef6
Author: Klaas de Waal <kdewaal@mythtv.org>
Date: 2020-12-28 (Mon, 28 Dec 2020)

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

Log Message:
-----------
EIT scanner instance start delay

Fix the implementation of the start delay for EIT scanner instances so that
the instance start moment is evenly distributed with a bit of randomness.
The implementation had two issues:
- sometimes a negative start delay due to incorrect random delay computation
where an unsigned integer is assigned to an integer of the same size.
- the delay depending on the card number was documented in the comment
but not implemented.
Also the following change:
- EIT start time for cards that are not configured for or are not able to
do EIT is now set to 10 years in the future instead of only one year.


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