diff --git a/client.go b/client.go index 819ead0..2daa00a 100644 --- a/client.go +++ b/client.go @@ -2,6 +2,9 @@ package main import ( "github.com/fhs/gompd/mpd" + // "github.com/gdamore/tcell/v2" + "github.com/rivo/tview" + // "fmt" ) func togglePlayBack(connection mpd.Client) error { @@ -13,3 +16,47 @@ func togglePlayBack(connection mpd.Client) error { } return err } + +func join ( stringSlice [] string ) string{ + var _s string = stringSlice[0] + for i:= 1; i