|
7 | 7 | [](https://sourcegraph.com/github.com/go-olive/olive) |
8 | 8 | [](https://github.com/go-olive/olive/releases) |
9 | 9 |
|
10 | | -Olive is a powerful engine which monitors streamers status and automatically records when they're online. Help you catch every live stream. |
| 10 | +**olive** is a powerful engine which monitors streamers status and automatically records when they're online. Help you catch every live stream. |
11 | 11 |
|
12 | 12 | ## Feature |
13 | 13 |
|
@@ -46,7 +46,7 @@ $ olive -f /path/to/config.toml |
46 | 46 |
|
47 | 47 | ### Minimal configuration |
48 | 48 |
|
49 | | -With this minimal configs, you are already good to go. |
| 49 | +With these minimal configs, you are already good to go. |
50 | 50 |
|
51 | 51 | ```toml |
52 | 52 | [[Shows]] |
@@ -155,7 +155,7 @@ Path = "olivetrash" |
155 | 155 | Simulation: |
156 | 156 |
|
157 | 157 | 1. Live ends. |
158 | | -2. Execute the custom command `/bin/sh -c "echo $FILE_PATH" `. |
| 158 | +2. Execute the custom command `/bin/sh -c "echo '$FILE_PATH'" `. |
159 | 159 | 3. If the last command is executed successfully, execute the built-in command `olivebiliup `. |
160 | 160 | 4. If the last command is executed successfully, execute the built-in command `olivetrash `. |
161 | 161 |
|
@@ -191,6 +191,7 @@ Args = ["/bin/sh", "-c", "echo $FILE_PATH"] |
191 | 191 | | douyin | |
192 | 192 | | huya | |
193 | 193 | | kuaishou | |
| 194 | +| lang | |
194 | 195 | | tiktok | |
195 | 196 | | twitch | |
196 | 197 | | youtube | |
@@ -236,7 +237,7 @@ FileSize = 1024000000 |
236 | 237 | Duration = "1h" |
237 | 238 | [[Shows.PostCmds]] |
238 | 239 | Path = "oliveshell" |
239 | | -Args = ["/bin/sh", "-c", "echo $FILE_PATH"] |
| 240 | +Args = ["/bin/sh", "-c", "echo '$FILE_PATH'"] |
240 | 241 | [[Shows.PostCmds]] |
241 | 242 | Path = "olivebiliup" |
242 | 243 | [[Shows.PostCmds]] |
|
0 commit comments