jcarbaugh / python-roku

Screw remotes. Control your Roku with Python.
https://pypi.python.org/pypi/roku
BSD 3-Clause "New" or "Revised" License
288 stars 94 forks source link

Fix bad substitution in format string. #73

Closed cowile closed 3 years ago

cowile commented 3 years ago

Previously, the discover function sent an incorrect value in the ST header of the SSDP request. It is supposed to be the string "roku:ecp" but was the string "{st}" due to incorrect use of format strings.

cowile commented 3 years ago

After further debugging. This was not the source of my problem. The st value is substituted elsewhere (but this is confusing and inconsistent).

What happens is the program does not read a response, even though wireshark confirms my roku is sending one that is making it to my computer.

cowile commented 3 years ago

The actual problem was a firewall blocking the response.