buscribe: Work with no end time

pull/414/head
Mike Lang 1 month ago
parent ff8475dc48
commit dde7696877

@ -87,7 +87,7 @@ def main(channel, database="", base_dir=".",
gevent.signal_handler(signal.SIGTERM, stop) gevent.signal_handler(signal.SIGTERM, stop)
while start_time < end_time: while end_time is None or start_time < end_time:
# If end time isn't given, use current time (plus fudge) to get a "live" segment list # If end time isn't given, use current time (plus fudge) to get a "live" segment list
segments = common.get_best_segments(segments_dir, segments = common.get_best_segments(segments_dir,
start_time, start_time,

Loading…
Cancel
Save