Cleaning up..
This commit is contained in:
2
go2tv.go
2
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 {}
|
||||
}
|
||||
|
@@ -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?")
|
||||
}
|
||||
|
Reference in New Issue
Block a user