New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add in the 'discovery subcommand to find Roku Devices #5
Comments
PermissionError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions |
OSError: [WinError 10022] An invalid argument was supplied |
Might need to add in a platform check for Windows or Linux as the socket bind operation needs UAC for admin privileges. |
I am using the SSDP library and wrapped the discover function with logic to check for windows and it triggers the UAC, however, I am still getting the A similar issue was found on the SSDP library github |
Using the tuple solution in the previous comment: connect = loop.create_datagram_endpoint(PrintSSDMessageProtocol, family=family, local_addr=(bind, 6666)) |
Add in the SSDP 'find' capability for the Roku Device
SSDP Library
raw from the docs.
To query for a Roku device IP address, send the following HTTP request to 239.255.255.250 port 1900:
Expected repsponse:
The text was updated successfully, but these errors were encountered: