add time change

This commit is contained in:
minster586
2025-08-27 03:16:25 -04:00
parent 6283173263
commit 9920488a7c
2 changed files with 14 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ This OBS Studio Lua script writes your current stream uptime to a text file, wit
4. Click the `+` button and select `obs_uptime_to_file.lua`.
5. Set the `Output File Path` to where you want the uptime to be written.
6. (Optional) Set the `Format String` to customize how the uptime appears.
7. (Optional) Set the `Update Interval (seconds)` to control how often the file is updated (default: 1 second).
## Format String
You can control how the uptime is displayed using the `Format String` property. Use these placeholders:
@@ -32,7 +33,7 @@ You can control how the uptime is displayed using the `Format String` property.
- `{M} minutes``83 minutes`
## How It Works
- When you start streaming, the script begins writing the uptime to your chosen file every second.
- When you start streaming, the script begins writing the uptime to your chosen file at the interval you set (default: every second).
- When you stop streaming, the file is erased (emptied), so nothing will display if you use it as a text source.
## Use Case