[mythtv-users] gaps 1.4 released (Mythtv v30 compatibility)
stephen_agent at jsw.gen.nz
Sat Jun 1 05:42:17 UTC 2019
On Sat, 1 Jun 2019 10:59:05 +1000, you wrote:
>> I have just finished upgrading from v29 to v30, so I have been
>> checking my Python programs for compatibility. My "gaps" program for
>> finding gaps between recordings did not work with v30, so I have now
>> updated it to use the new Python services_api bindings instead of the
>> old Utilities.py module.
>Sounds good... but what does "gaps" do? I'm not sure what you mean by
>"finding gaps between recordings".
It lists the times for all the gaps between recordings that it can see
in the schedule. You can tell it how long a gap you want, and it will
list only gaps that big or bigger. So if you wanted to change the
motherboard in your MythTV box, and you thought you would need eight
and a half hours to get that done safely, you would do this:
root at mypvr:~# gaps 8 30
Searching for a minimum duration of 8:30:00
Gap: start=Sun 2019-06-02 09:13:00+12:00 end=2019-06-02
Gap: start=Tue 2019-06-04 04:23:00+12:00 end=2019-06-04
End of scheduled recordings end=2019-06-09
Sorry about the line wrapping - my email client always does that.
More information about the mythtv-users