aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_go2work.go
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-03-24 15:49:43 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2022-03-24 15:49:43 +0100
commit593454e12c6337a9483c86d3ab92351e2ceca55b (patch)
tree0e30aedc0a1049f55ecb358fdcf68a6fbb52fc1a /src/c_go2work.go
parentFirst commit (diff)
downloadgo2work-593454e12c6337a9483c86d3ab92351e2ceca55b.tar.gz
go2work-593454e12c6337a9483c86d3ab92351e2ceca55b.tar.bz2
go2work-593454e12c6337a9483c86d3ab92351e2ceca55b.tar.xz
go2work-593454e12c6337a9483c86d3ab92351e2ceca55b.tar.zst
go2work-593454e12c6337a9483c86d3ab92351e2ceca55b.zip
Learning in progress
Diffstat (limited to 'src/c_go2work.go')
-rw-r--r--src/c_go2work.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/c_go2work.go b/src/c_go2work.go
index 0b8e4f9..3b4e4a3 100644
--- a/src/c_go2work.go
+++ b/src/c_go2work.go
@@ -54,13 +54,14 @@ import (
func main() {
t := get_time()
- ticker := time.NewTicker(1 * time.Second)
+ ticker := time.NewTicker(2 * time.Second)
quit := make(chan struct{})
fmt.Println("Time is: " + t)
+ exec_player("mpv", "/home/jozan/mu/rock/grunge/nirvana/1993_in_utero/04_rape_me.flac")
for {
select {
case <- ticker.C:
- exec_player("/home/jozan/mu/rock/grunge/nirvana/1993_in_utero/04_rape_me.flac")
+ exec_player("mpv", "/home/jozan/mu/rock/grunge/nirvana/1993_in_utero/04_rape_me.flac")
case <- quit:
ticker.Stop()
return