Reply to topic

pulseaudio_dlna -> chromecast audio

User avatar minson
Registered Member

pulseaudio_dlna -> chromecast audio

Wed Dec 09, 2020 1:39 pm
Focal fully updated
KDE Neon fully updated
pulseaudio-dlna installed from pulseaudio-dlna_0.5.3+git20200329-0.1_all.deb

Is anyone successfully using pulseaudio-dlna to play to a chromecast audio ?
When I attempt this I get

12-09 08:27:06 pulseaudio_dlna.pulseaudio INFO Instructing the device "ccAporch (Chromecast)" to play ...
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pulseaudio_dlna/", line 773, in _handle_sink_update
result = future.result()
File "/usr/lib/python3.8/concurrent/futures/", line 439, in result
return self.__get_result()
File "/usr/lib/python3.8/concurrent/futures/", line 388, in __get_result
raise self._exception
File "/usr/lib/python3.8/concurrent/futures/", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3/dist-packages/pulseaudio_dlna/", line 817, in __handle_sink_update
return_code, message =
File "/usr/lib/python3/dist-packages/pulseaudio_dlna/plugins/chromecast/", line 72, in play
url = url or self.get_stream_url()
File "/usr/lib/python3/dist-packages/pulseaudio_dlna/plugins/", line 350, in get_stream_url
return self._encode_settings(settings, 'stream.' + self.codec.suffix)
File "/usr/lib/python3/dist-packages/pulseaudio_dlna/plugins/", line 329, in _encode_settings
server_ip =
File "/usr/lib/python3/dist-packages/pulseaudio_dlna/utils/", line 50, in get_host_by_ip
return __pyroute2_get_host_by_ip(ip)
File "/usr/lib/python3/dist-packages/pulseaudio_dlna/utils/", line 69, in __pyroute2_get_host_by_ip
routes = ipr.get_routes(family=socket.AF_INET, dst=ip)
File "/usr/lib/python3/dist-packages/pyroute2/iproute/", line 366, in get_routes
return self.route('get', dst=kwarg['dst'])
File "/usr/lib/python3/dist-packages/pyroute2/iproute/", line 1798, in route
kwarg = IPRouteRequest(kwarg)
File "/usr/lib/python3/dist-packages/pyroute2/netlink/rtnl/", line 87, in __init__
IPRequest.__init__(self, obj)
File "/usr/lib/python3/dist-packages/pyroute2/netlink/rtnl/", line 29, in __init__
File "/usr/lib/python3/dist-packages/pyroute2/netlink/rtnl/", line 41, in update
self[key] = v
File "/usr/lib/python3/dist-packages/pyroute2/netlink/rtnl/", line 387, in __setitem__
mask = int(value[1])
ValueError: invalid literal for int() with base 10: '119,'

I filed a bug back in July but no action so far .
Playing to my HEOS device works .
User avatar strohel
KDE Developer
Hi, I suffer from the same problem.

This seems to be a bug in pulseaudio-dlna. This has been already reported in

Note though that the upstream of pulseaudio-dlna seems not to be active anymore.

Reply to topic


Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], hierophant, JesusM, kde-ed, rblackwell, Yahoo [Bot]