You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just found this library after I had already spent some time building one. It appears as tho there is not a whole lot out there for UPNP for python. Not sure as to why.
I thought you may want to have a look at what I have done thus far. I didn't see any place that specifically dealt with any vendor xml name spaces. did you do anything to handle this? I am not sure as to how to parse for namespaces other then just doing string searching. I do not know if there is a better way or not.
maybe you would be willing to have a look see and if there is something I have missed you can point it out. I think my biggest thing at this point are the schemas.
I did add a nice little printout that can display any part of the UPNP structure by simply printing that part. or you can print out the whole thing as well.
code is as simple as this
import UPNP_Device
for device in UPNP_Device.discover(timeout=3):
print(device)
The text was updated successfully, but these errors were encountered:
I just found this library after I had already spent some time building one. It appears as tho there is not a whole lot out there for UPNP for python. Not sure as to why.
I thought you may want to have a look at what I have done thus far. I didn't see any place that specifically dealt with any vendor xml name spaces. did you do anything to handle this? I am not sure as to how to parse for namespaces other then just doing string searching. I do not know if there is a better way or not.
maybe you would be willing to have a look see and if there is something I have missed you can point it out. I think my biggest thing at this point are the schemas.
https://github.com/kdschlosser/UPNP_Device
I did add a nice little printout that can display any part of the UPNP structure by simply printing that part. or you can print out the whole thing as well.
code is as simple as this
The text was updated successfully, but these errors were encountered: