PATCH: Fixed thumbnail generation only happening once
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user