auto reload at file change

This commit is contained in:
2025-04-12 20:49:48 +02:00
parent d99683eab9
commit 3e73280e7a
3 changed files with 27 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ Use it to display the results on a TV or to serve results for the competitors.
<ul style="list-style-type: none"> ✅ Customizable auto-scroll (see Variables section) </ul>
<ul style="list-style-type: none"> ✅ Smooth scrolling </ul>
<ul style="list-style-type: none"> ✅ Auto-reload at bottom </ul>
<ul style="list-style-type: none"> ✅ Auto-reload at X seconds when no need for scrolling </ul>
<ul style="list-style-type: none"> ✅ Auto-reload at file change when no need for scrolling </ul>
<ul style="list-style-type: none"> ✅ Supports OE11 and OE12 exported HTML </ul>
<ul style="list-style-type: none"> ✅ File serving on localhost and LAN </ul>
@@ -25,7 +25,6 @@ The following variables can be found at the top of the `main.py` script:
- `scroll_interval`: Time interval (in seconds) between each scroll
- `bottom_wait_time`: Time to wait (in seconds) at the bottom of the page before reloading
- `top_wait_time`: Time to wait (in seconds) at the top of the page before starting to scroll
- `reload_interval`: Time interval (in seconds) to reload the page if no scrolling is needed. Set this value minimum 1 seconds larger than the export interval in OE
## Getting Started
@@ -80,4 +79,4 @@ This project is licensed under the MIT License - see the `LICENSE` file for deta
<hr>
<p style="text-align: center;"> Made with ❤️ on 603 NYÍRSÉG IC </p>
<p style="text-align: center;"> Made with ❤️ and ☕ on 603 NYÍRSÉG IC </p>