Skip to content

Commit 6a760b8

Browse files
committed
go.mod: bump tv
1 parent d8750e1 commit 6a760b8

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![Sourcegraph](https://img.shields.io/badge/view%20on-Sourcegraph-brightgreen.svg?style=for-the-badge&logo=sourcegraph)](https://sourcegraph.com/github.com/go-olive/olive)
88
[![Github All Releases](https://img.shields.io/github/downloads/go-olive/olive/total.svg?style=for-the-badge)](https://github.com/go-olive/olive/releases)
99

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.
1111

1212
## Feature
1313

@@ -46,7 +46,7 @@ $ olive -f /path/to/config.toml
4646

4747
### Minimal configuration
4848

49-
With this minimal configs, you are already good to go.
49+
With these minimal configs, you are already good to go.
5050

5151
```toml
5252
[[Shows]]
@@ -155,7 +155,7 @@ Path = "olivetrash"
155155
Simulation:
156156

157157
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'" `.
159159
3. If the last command is executed successfully, execute the built-in command `olivebiliup `.
160160
4. If the last command is executed successfully, execute the built-in command `olivetrash `.
161161

@@ -191,6 +191,7 @@ Args = ["/bin/sh", "-c", "echo $FILE_PATH"]
191191
| douyin |
192192
| huya |
193193
| kuaishou |
194+
| lang |
194195
| tiktok |
195196
| twitch |
196197
| youtube |
@@ -236,7 +237,7 @@ FileSize = 1024000000
236237
Duration = "1h"
237238
[[Shows.PostCmds]]
238239
Path = "oliveshell"
239-
Args = ["/bin/sh", "-c", "echo $FILE_PATH"]
240+
Args = ["/bin/sh", "-c", "echo '$FILE_PATH'"]
240241
[[Shows.PostCmds]]
241242
Path = "olivebiliup"
242243
[[Shows.PostCmds]]

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/fsnotify/fsnotify v1.5.1
88
github.com/go-dora/filenamify v0.1.1
99
github.com/go-olive/flv v0.0.0-20220608124255-065f61015270
10-
github.com/go-olive/tv v0.3.1-0.20220708163502-290da2b22ef5
10+
github.com/go-olive/tv v0.3.1-0.20220718145111-8a32cb2ff953
1111
github.com/lthibault/jitterbug/v2 v2.2.2
1212
github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5
1313
github.com/sirupsen/logrus v1.8.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2
7575
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
7676
github.com/go-olive/flv v0.0.0-20220608124255-065f61015270 h1:UgTTviMEsv9GieGUBZk/qi6c5vj4r0G4HtdJKCmour4=
7777
github.com/go-olive/flv v0.0.0-20220608124255-065f61015270/go.mod h1:7Rb0AU+4dKJNODHLz6PGeiVdOR/MUoG6Hhfing5zJx4=
78-
github.com/go-olive/tv v0.3.1-0.20220708163502-290da2b22ef5 h1:FZ2cbPsFOZIHYsNx4Qj+1NY9FZmoFdmihIb+EwWzvSw=
79-
github.com/go-olive/tv v0.3.1-0.20220708163502-290da2b22ef5/go.mod h1:YTMQgJAx4oJ8gYakGmKUXHZOVDS3URE+89s+tzG5B9U=
78+
github.com/go-olive/tv v0.3.1-0.20220718145111-8a32cb2ff953 h1:R5wuSVDquC2FoCys45WwulwoOuxUiEN0gVgz1UD0R8s=
79+
github.com/go-olive/tv v0.3.1-0.20220718145111-8a32cb2ff953/go.mod h1:YTMQgJAx4oJ8gYakGmKUXHZOVDS3URE+89s+tzG5B9U=
8080
github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU=
8181
github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM=
8282
github.com/gobwas/pool v0.2.1 h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og=

0 commit comments

Comments
 (0)