PATCH: Fixed thumbnail generation only happening once

This commit is contained in:
2025-02-12 09:52:34 +00:00
parent 3130314ffa
commit 6d067f0570

View File

@@ -22,6 +22,8 @@ def update_thumbnail(stream_file, thumbnail_file, sleep_time) -> None:
""" """
Updates the thumbnail of a stream periodically Updates the thumbnail of a stream periodically
""" """
while True:
generate_thumbnail(stream_file, thumbnail_file) generate_thumbnail(stream_file, thumbnail_file)
sleep(sleep_time) sleep(sleep_time)