Skip to content

Commit

Permalink
update runner service
Browse files Browse the repository at this point in the history
  • Loading branch information
inflac committed Jun 19, 2024
1 parent c36bd81 commit 3fa7c62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/runner/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ def main(cms_url:str):
duration = 10
while(1):
image_urls = get_image_urls(cms_url)
system_image_urls = image_urls = get_image_urls(cms_url + "/system")
system_image_urls = get_image_urls(cms_url + "/system")

for i, image in enumerate(image_urls):
if i % 5 == 0:
for system_image in system_image_urls:
print(system_image)
for i in range(3):
infobeamer_main("255.255.255.255", duration, system_image)
time.sleep(duration)
print(image)
for i in range(3):
infobeamer_main("255.255.255.255", duration, image)
Expand Down

0 comments on commit 3fa7c62

Please sign in to comment.