Cleaning up..

This commit is contained in:
Alex Ballas
2021-02-11 02:00:05 +02:00
parent e599aca26a
commit 2ec0f854b9
2 changed files with 1 additions and 2 deletions

View File

@@ -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 {}
}

View File

@@ -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?")
}