aboutsummaryrefslogtreecommitdiff
path: root/player.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-05-28 21:01:19 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-05-28 21:01:19 +0200
commitfe264b8ce0150fab56a00ad2e0a56a437001e912 (patch)
tree5d608d5997e36f693df23081d988c7113ac32b53 /player.go
parentd0027688688e6cd97468dc52d95e56d5e108a26f (diff)
downloadWRMS-fe264b8ce0150fab56a00ad2e0a56a437001e912.tar.gz
WRMS-fe264b8ce0150fab56a00ad2e0a56a437001e912.zip
fix building mpv argv
Diffstat (limited to 'player.go')
-rw-r--r--player.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/player.go b/player.go
index fbf06d9..555852f 100644
--- a/player.go
+++ b/player.go
@@ -80,7 +80,7 @@ func (player *Player) runMpv() {
const MPV_FLAGS = "--no-video"
func mpvArgv(uri string) []string {
- cmd := []string{"mpv", uri}
+ cmd := []string{uri}
cmd = append(cmd, strings.Split(MPV_FLAGS, " ")...)
cmd = append(cmd, strings.Split(wrms.Config.MpvFlags, " ")...)
return cmd