UPNP Plugin

Questions and comments specific to a particular plugin should go here.
User avatar
kgschlosser
Site Admin
Posts: 4652
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: UPNP Plugin

Post by kgschlosser » Sat Dec 15, 2018 3:32 pm

i think I might have the problem solved. here give this a shot
Attachments
UPNP-0.1.5b.egplugin
(3.1 MiB) Downloaded 14 times
If you like the work I have been doing then feel free to Image

holdestmade
Experienced User
Posts: 180
Joined: Thu Dec 04, 2014 2:44 pm

Re: UPNP Plugin

Post by holdestmade » Sun Dec 16, 2018 9:00 pm

Hi,

Sorry, been away for a few days.

This is the error I get now when adding the plugin

It does list both my 2017 and 2018 TVs, and a permission popped up on the TVs as well

Cheers

Code: Select all

20:58:42   Plugin: UPNP
20:58:42   Exception in thread Thread-8:
20:58:42   Traceback (most recent call last):
20:58:42     File "threading.pyc", line 801, in __bootstrap_inner
20:58:42     File "threading.pyc", line 754, in run
20:58:42     File "C:\ProgramData\EventGhost\plugins\UPNP\UPNP_Device\discover.py", line 131, in do
20:58:42       sock = send_to(local_address)
20:58:42     File "C:\ProgramData\EventGhost\plugins\UPNP\UPNP_Device\discover.py", line 120, in send_to
20:58:42       sock.bind((destination, 0))
20:58:42     File "socket.pyc", line 228, in meth
20:58:42   error: [Errno 10049] The requested address is not valid in its context
20:58:42   
20:58:52   UPNP.DeviceAdded.QE65Q7FNA <eg.UserPluginModule.UPNP.UPNP_Device.upnp_class.UPNPObject object at 0x05AA5E30>
20:58:52   UPNP.DeviceAdded.UE40MU6120 <eg.UserPluginModule.UPNP.UPNP_Device.upnp_class.UPNPObject object at 0x05E1BF90>
20:58:52   Exception in thread eg.UserPluginModule.UPNP:
20:58:52   Traceback (most recent call last):
20:58:52     File "threading.pyc", line 801, in __bootstrap_inner
20:58:52     File "threading.pyc", line 754, in run
20:58:52     File "C:\ProgramData\EventGhost\plugins\UPNP\__init__.py", line 74, in run
20:58:52       for device in UPNP_Device.discover(10):
20:58:52     File "C:\ProgramData\EventGhost\plugins\UPNP\UPNP_Device\__init__.py", line 22, in discover
20:58:52       yield UPNPObject(addr, locations)
20:58:52     File "C:\ProgramData\EventGhost\plugins\UPNP\UPNP_Device\instance_singleton.py", line 11, in __call__
20:58:52       super(InstanceSingleton, cls).__call__(id, *args)
20:58:52     File "C:\ProgramData\EventGhost\plugins\UPNP\UPNP_Device\upnp_class.py", line 61, in __init__
20:58:52       node
20:58:52     File "C:\ProgramData\EventGhost\plugins\UPNP\UPNP_Device\service.py", line 43, in __init__
20:58:52       response = requests.get(url + location)
20:58:52     File "C:\Program Files (x86)\EventGhost\lib27\site-packages\requests\api.py", line 71, in get
20:58:52       return request('get', url, params=params, **kwargs)
20:58:52     File "C:\Program Files (x86)\EventGhost\lib27\site-packages\requests\api.py", line 57, in request
20:58:52       return session.request(method=method, url=url, **kwargs)
20:58:52     File "C:\Program Files (x86)\EventGhost\lib27\site-packages\requests\sessions.py", line 475, in request
20:58:52       resp = self.send(prep, **send_kwargs)
20:58:52     File "C:\Program Files (x86)\EventGhost\lib27\site-packages\requests\sessions.py", line 585, in send
20:58:52       r = adapter.send(request, **kwargs)
20:58:52     File "C:\Program Files (x86)\EventGhost\lib27\site-packages\requests\adapters.py", line 453, in send
20:58:52       raise ConnectionError(err, request=request)
20:58:52   ConnectionError: ('Connection aborted.', BadStatusLine('HTTP1.1 404 Not Found\r\n',))

Post Reply