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: None
Last Packager: polyzen
Votes: 65
Popularity: 0.020595
First Submitted: 2015-04-11 23:54 (UTC)
Last Updated: 2022-05-10 16:31 (UTC)

Dependencies (21)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »

yannleretaille commented on 2021-03-05 21:12 (UTC) (edited on 2021-03-17 11:36 (UTC) by yannleretaille)

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 (UTC)

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 (UTC) (edited on 2020-12-07 21:10 (UTC) by senorsnor)

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 (UTC) (edited on 2020-12-06 17:30 (UTC) by senorsnor)

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 (UTC)

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

funk-electric commented on 2020-12-02 21:13 (UTC) (edited on 2020-12-02 21:19 (UTC) by funk-electric)

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 (UTC)

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

polyzen commented on 2020-11-24 01:13 (UTC)

There is no 0.6.0 tag. 739 is the total number of commits, which would be useful if there were no tags.

Check out https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver.28.29_function

LibreFreq commented on 2020-11-22 11:45 (UTC)

The package version is wrong. In my opinion it should be 0.6.0.r739.b0db813. Try something like this in pkgver():
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

https://github.com/masmu/pulseaudio-dlna/tree/python3

daurnimator commented on 2020-10-03 05:52 (UTC) (edited on 2020-10-03 06:03 (UTC) by daurnimator)

Attempting to start pulseaudio-dlna I get:

pkg_resources.DistributionNotFound: The 'notify2>=0.3' distribution was not found and is required by pulseaudio-dlna

I had to manually install python-notify2 for some reason... (seems that it was just moved from AUR => community so things might be out of sync?)