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'm using the "examples/advanced_examples/dlna" (sink) example of esp-adf, I'm getting an error because of a missing colon (port number) sent somewhere (this is perhaps more a compatibility bug on esp-adf).
Here my changes to get things work:
/usr/lib/python2.7/dist-packages/pulseaudio_dlna/plugins/upnp$ diff -c renderer.py{,.ori000}
*** renderer.py 2020-10-13 19:36:05.800160382 +0200--- renderer.py.ori000 2020-10-13 19:27:14.553334886 +0200****************** 525,534 ****
def process_xml(url, xml_root, xml, type_):
url_object = urlparse.urlparse(url)
! print("MODIFIED plugins/upnp/renderer.py")! # ip, port = url_object.netloc.split(':')! ip = url_object.netloc! port = 80
services = []
for device in xml_root.findall('.//{*}device'):
device_type = device.find('{*}deviceType')
--- 525,531 ----
def process_xml(url, xml_root, xml, type_):
url_object = urlparse.urlparse(url)
! ip, port = url_object.netloc.split(':')
services = []
for device in xml_root.findall('.//{*}device'):
device_type = device.find('{*}deviceType')
The text was updated successfully, but these errors were encountered:
I'm using the "examples/advanced_examples/dlna" (sink) example of esp-adf, I'm getting an error because of a missing colon (port number) sent somewhere (this is perhaps more a compatibility bug on esp-adf).
Here my changes to get things work:
The text was updated successfully, but these errors were encountered: