Package: pulseaudio-dlna
Version: 0.5.3+git20170406-1
Severity: normal
Tags: patch

--- Please enter the report below this line. ---

Hi,

a few days ago pulseaudio-dlna stopped working for me, because it couldn't 
discover the pulseaudio socket anymore.

After some investigation I found out that it uses os.path.join wrong, which 
causes this error.

A patch is attached.

Best regards
Matthias


--- System information. ---
Architecture: 
Kernel:       Linux 4.13.0-1-amd64

Debian Release: buster/sid
  500 unstable        ftp.de.debian.org 
  500 oldstable-proposed-updates ftp.de.debian.org 
    1 experimental    ftp.de.debian.org 

--- Package information. ---
Depends                           (Version) | Installed
===========================================-+-==============
python2.7                                   | 2.7.14-2
python-dbus                      (>= 1.2.0) | 1.2.4-1+b4
python-setuptools                  (>= 3.3) | 36.7.1-1
python-docopt                    (>= 0.6.1) | 0.6.2-1
python-requests                  (>= 2.2.1) | 2.18.1-1
python-setproctitle              (>= 1.0.1) | 1.1.10-1+b1
python-protobuf                  (>= 2.5.0) | 3.0.0-9.1
python-notify2                     (>= 0.3) | 0.3-3
python-psutil                    (>= 1.2.1) | 5.4.1-1
python-gi                                   | 3.26.1-1
python-concurrent.futures        (>= 2.1.6) | 3.1.1-1
python-chardet                   (>= 2.0.1) | 3.0.4-1
python-netifaces                   (>= 0.8) | 0.10.4-0.1+b3
python-lxml                        (>= 3.0) | 4.1.0-1
python-zeroconf                   (>= 0.17) | 0.19.1-1
vorbis-tools                     (>= 1.4.0) | 1.4.0-10+b1
sox                             (>= 14.4.1) | 14.4.2-2
lame                            (>= 3.99.0) | 3.100-2
flac                             (>= 1.3.0) | 1.3.2-1
opus-tools                       (>= 0.1.8) | 0.1.10-1
python-pyroute2                             | 0.4.21-0.1
python:any                         (<< 2.8) | 
python:any                    (>= 2.7.5-5~) | 


Package's Recommends field is empty.

Suggests              (Version) | Installed
===============================-+-============
python-cairo         (>= 1.8.8) | 1.15.4-2
ffmpeg              (>= 2.5.10) | 7:3.4-4
libav-tools           (>= 9.18) | 
python-netaddr                  | 
gir1.2-rsvg-2.0                 | 2.40.18-2
gir1.2-rsvg-3.0                 |
--- pulseaudio.py.back	2017-11-28 16:20:49.754764778 +0100
+++ pulseaudio.py	2017-11-28 16:21:02.826632901 +0100
@@ -84,7 +84,7 @@
 
         xdg_runtime_dir = os.environ.get('XDG_RUNTIME_DIR', None)
         if xdg_runtime_dir:
-            xdg_path = os.path.join(xdg_runtime_dir, '/pulse/dbus-socket')
+            xdg_path = os.path.join(xdg_runtime_dir, 'pulse/dbus-socket')
             if os.access(xdg_path, os.R_OK | os.W_OK):
                 return 'unix:path={}'.format(xdg_path)
 

Reply via email to