From f3cabfa83bea130597311f6b18f5c1f8ba7015b3 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Tue, 16 Mar 2021 23:19:03 +0000 Subject: [PATCH] rerun menu if mpv is exited, rather than dumping out --- radiomenu.go | 1 + 1 file changed, 1 insertion(+) diff --git a/radiomenu.go b/radiomenu.go index 753bd6e..4978929 100644 --- a/radiomenu.go +++ b/radiomenu.go @@ -19,6 +19,7 @@ func RadioMenu(stations []stationRecord) *wmenu.Menu { fmt.Printf("Streaming: '" + opts[0].Text + "' at url - "+ val +"\n") stdout, _ := subExecute(player(), options(), val) fmt.Println(stdout) + menu.Run() return nil }) for _, station := range stations {