I checked your previous post on upnp and tryied the discover.py, but I got a network issue (my computer is on 192.168.1.10 an my tv 192.168.1.7, all in the same network, no weird hardware somehow in my network):
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "discover.py", line 139, in do
sock = send_to(local_address)
File "discover.py", line 128, in send_to
sock.bind((destination, 0))
OSError: [WinError 10049] The requested address is not valid in its context
Exception in thread Thread-4:
Traceback (most recent call last):
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(*self._args, *self._kwargs)
File "discover.py", line 139, in do
sock = send_to(local_address)
File "discover.py", line 128, in send_to
sock.bind((destination, 0))
OSError: [WinError 10049] The requested address is not valid in its context
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(self._args, **self._kwargs)
File "discover.py", line 139, in do
sock = send_to(local_address)
File "discover.py", line 128, in send_to
sock.bind((destination, 0))
OSError: [WinError 10049] The requested address is not valid in its context
Exception in thread Thread-5:
Traceback (most recent call last):
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "discover.py", line 139, in do
sock = send_to(local_address)
File "discover.py", line 135, in send_to
sock.sendto(ssdp_packet.encode('utf-8'), (destination, 1900))
OSError: [WinError 10051] A socket operation was attempted to an unreachable network
I checked your previous post on upnp and tryied the discover.py, but I got a network issue (my computer is on 192.168.1.10 an my tv 192.168.1.7, all in the same network, no weird hardware somehow in my network):
C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\samsungctl-0.8.0b0-py3.7.egg\samsungctl\upnp\UPNP_Devic λ python discover.py > discover_output.txt
SSDP: 239.255.255.250
M-SEARCH * HTTP/1.1
ST: upnp:rootdevice
MAN: "ssdp:discover"
HOST: 239.255.255.250:1900
MX: 1
Content-Length: 0
SSDP: 239.255.255.250
M-SEARCH * HTTP/1.1
ST: upnp:rootdevice
MAN: "ssdp:discover"
HOST: 239.255.255.250:1900
MX: 1
Content-Length: 0
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "discover.py", line 139, in do
sock = send_to(local_address)
File "discover.py", line 128, in send_to
sock.bind((destination, 0))
OSError: [WinError 10049] The requested address is not valid in its context
Exception in thread Thread-4:
Traceback (most recent call last):
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(*self._args, *self._kwargs)
File "discover.py", line 139, in do
sock = send_to(local_address)
File "discover.py", line 128, in send_to
sock.bind((destination, 0))
OSError: [WinError 10049] The requested address is not valid in its context
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(self._args, **self._kwargs)
File "discover.py", line 139, in do
sock = send_to(local_address)
File "discover.py", line 128, in send_to
sock.bind((destination, 0))
OSError: [WinError 10049] The requested address is not valid in its context
Exception in thread Thread-5:
Traceback (most recent call last):
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\mtourlouse\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "discover.py", line 139, in do
sock = send_to(local_address)
File "discover.py", line 135, in send_to
sock.sendto(ssdp_packet.encode('utf-8'), (destination, 1900))
OSError: [WinError 10051] A socket operation was attempted to an unreachable network