From 2ec0f854b9686b761ae511b46cfcffec0c558f3d Mon Sep 17 00:00:00 2001 From: Alex Ballas Date: Thu, 11 Feb 2021 02:00:05 +0200 Subject: [PATCH] Cleaning up.. --- go2tv.go | 2 +- soapcalls/dmrparser.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/go2tv.go b/go2tv.go index 956d378..a878c98 100644 --- a/go2tv.go +++ b/go2tv.go @@ -79,8 +79,8 @@ func main() { fmt.Fprintf(os.Stderr, "Encountered error(s): %s\n", err) os.Exit(1) } - initializeCloseHandler(*tvdata) + initializeCloseHandler(*tvdata) // Sleep forever select {} } diff --git a/soapcalls/dmrparser.go b/soapcalls/dmrparser.go index 1ccc4bb..1ba2174 100644 --- a/soapcalls/dmrparser.go +++ b/soapcalls/dmrparser.go @@ -57,7 +57,6 @@ func AVTransportFromDMRextractor(dmrurl string) (string, error) { avtransportURL := parsedURL.Scheme + "://" + parsedURL.Host + root.Device.ServiceList.Services[i].ControlURL return avtransportURL, nil } - } return "", errors.New("Something broke somewhere - wrong DMR URL?") }