MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / _programme_overlaps_export_window

Function _programme_overlaps_export_window

apps/output/epg.py:33–38  ·  view source on GitHub ↗
(start_time, end_time, lookback_cutoff, cutoff_date)

Source from the content-addressed store, hash-verified

31
32
33def _programme_overlaps_export_window(start_time, end_time, lookback_cutoff, cutoff_date):
34 if end_time < lookback_cutoff:
35 return False
36 if cutoff_date is not None and start_time >= cutoff_date:
37 return False
38 return True
39
40
41def _ceil_to_half_hour(dt):

Calls

no outgoing calls