Package Details: pulseaudio-dlna 0.5.2.r152.gb0db813-6

Git Clone URL: https://aur.archlinux.org/pulseaudio-dlna.git (read-only, click to copy)
Package Base: pulseaudio-dlna
Description: Small DLNA server which brings DLNA/UPnP support to PulseAudio
Upstream URL: https://github.com/masmu/pulseaudio-dlna
Keywords: dlna multimedia pulseaudio upnp
Licenses: GPL3
Submitter: yegorius
Maintainer: polyzen
Last Packager: polyzen
Votes: 62
Popularity: 0.108733
First Submitted: 2015-04-11 23:54
Last Updated: 2021-03-18 23:09

Latest Comments

1 2 3 4 5 6 ... Next › Last »

simona commented on 2021-03-18 23:53

now ok for dbus problem but the error:
-> Installing python-pychromecast6 will remove: python-pychromecast, python-pychromecast (python-pychromecast6)
python-pychromecast can't be used?

simona commented on 2021-03-18 09:39

python2-dbus 1.2.16-3 has been removed from the [extra] repository.

maderios commented on 2021-03-06 15:57

@yannleretaille Why don't you add this fork as a new Aur package?

yannleretaille commented on 2021-03-05 21:12

There's a new fork available that adds proper python 3 support, uses the newer version of pychromecast and includes various other fixes:

https://github.com/Cygn/pulseaudio-dlna

Here's a PKGBUILD for the latest release (0.6.1):

https://gist.github.com/yannleretaille/1a45e6d55f7ed3833f9426c2fea29f2d

# Maintainer: Daniel M. Capella <polyzen@archlinux.org>
# Contributor: ZaZam <zazaamm ät gmail döt com>
# Contributor: Yegorius <yegorius@domic.us>

pkgname=pulseaudio-dlna
pkgver=0.6.1
pkgrel=1
pkgdesc='Small DLNA server which brings DLNA/UPnP support to PulseAudio'
arch=('x86_64')
url=https://github.com/Cygn/pulseaudio-dlna/
license=('GPL3')
depends=('python-chardet' 'python-dbus' 'python-docopt' 'python-gobject'
         'python-lxml' 'python-netifaces' 'python-notify2' 'python-psutil'
         'python-pychromecast' 'python-pyroute2' 'python-requests'
         'python-setproctitle' 'python-protobuf' 'python-setuptools'
         'python-zeroconf' 'python-urllib3')
makedepends=('git')
optdepends=('faac: AAC transcoding support'
            'ffmpeg: multiple formats support'
            'flac: FLAC transcoding support'
            'lame: MP3 transcoding support'
            'opus-tools: OPUS transcoding support'
            'sox: WAV transcoding support'
            'vorbis-tools: OGG transcoding support')
source=('https://github.com/Cygn/pulseaudio-dlna/archive/0.6.1.tar.gz')
sha256sums=('497743700377389ae03ffae2d8fbf8c49ed8ec219d53fd8ca7f0aea0d464b15d')

prepare() {
  cd "$pkgname-$pkgver"
  sed -i '/dbus-python/d' setup.py
}

build() {
  cd "$pkgname-$pkgver"
  python setup.py build
}

package() {
  cd "$pkgname-$pkgver"
  python setup.py build --build-lib=build/python \
                  install --root="$pkgdir" --optimize=1

}

# vim:set ts=2 sw=2 et:

scrouthtv commented on 2021-01-16 07:19

Here's a user unit file if someone needs it. --port 0 makes it use the first "free" port [Unit] Description=PulseAudio DLNA client

[Service] ExecStart=/usr/bin/pulseaudio-dlna --port 0

[Install] WantedBy=multi-user.target

senorsnor commented on 2020-12-07 21:07

Apparently this is caused by a change in Python 3.9. The maintainer of python-pychromecast6 just added a patch to that package and now everything works again. woohoo! :-)

senorsnor commented on 2020-12-06 17:27

After running fine for a long time, today I had to reinstall this package because a lot of other python libs were updated. Including python-pychromecast6 and python-casttube. So all dependencies are up to date. Now I cannot stream to chromecast anymore because, the following error appears:

12-06 18:14:45 pulseaudio_dlna.pulseaudio                     INFO     
Instructing the device "Miauw (Chromecast)" to play ...
12-06 18:14:45 pychromecast                                   INFO     
Querying device status
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/pulseaudio_dlna/plugins/chromecast/renderer.py", line 75, in play
    chromecast = self._create_pychromecast()
  File "/usr/lib/python3.9/site-packages/pulseaudio_dlna/plugins/chromecast/renderer.py", line 68, in _create_pychromecast
    chromecast.wait()
  File "/usr/lib/python3.9/site-packages/pychromecast/__init__.py", line 446, in wait
    if not self.socket_client.isAlive():
AttributeError: 'SocketClient' object has no attribute 'isAlive'
12-06 18:14:45 pulseaudio_dlna.pulseaudio                     ERROR    The device "Miauw (Chromecast)" failed to play! (500) - Unknown exception.

Does seem like a version mismatch somewhere, does anyone have an idea?

polyzen commented on 2020-12-02 21:19

funk-electric, install https://aur.archlinux.org/packages/python-pychromecast6/ to fulfill the dep.

funk-electric commented on 2020-12-02 21:13

I tried to install it on the current arch linux version (2th of december 2020)

==> Using [aur] repository -> pulseaudio-dlna-python3-git: (none) -> 0.5.2.r152.gb0db813-2 -> python-casttube: (none) -> 0.2.1-2 -> python-pychromecast: (none) -> 7.5.1-1 ==> Retrieving package files From https://aur.archlinux.org/python-casttube = [up to date] master -> origin/master From https://aur.archlinux.org/python-pychromecast = [up to date] master -> origin/master From https://aur.archlinux.org/pulseaudio-dlna-python3-git = [up to date] master -> origin/master

and it ends up with:

 invalid node: python-pychromecast 7.5.1 (required: <7)

Unfortunately I have no idea how i could fix this? Has anyone an idea how i can get it running?

LibreFreq commented on 2020-11-25 10:24

It could be that this is incorrectly tagged, but the correct version on the python3 branch is 0.6.0.r739.b0db813.

https://github.com/masmu/pulseaudio-dlna/blob/python3/setup.py#L37