Use standard port for ssdp discovery. Also try to fix CLI issue on windows
This commit is contained in:
@@ -21,7 +21,7 @@ var (
|
||||
func LoadSSDPservices(delay int) (map[string]string, error) {
|
||||
// Reset device list every time we call this.
|
||||
urlList := make(map[string]string)
|
||||
list, err := ssdp.Search(ssdp.All, delay, "")
|
||||
list, err := ssdp.Search(ssdp.All, delay, "239.255.255.250:1900")
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("LoadSSDPservices search error: %w", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user