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: 64
Popularity: 0.048224
First Submitted: 2015-04-11 23:54 (UTC)
Last Updated: 2022-05-10 16:31 (UTC)

Latest Comments

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

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?)

maderios commented on 2020-09-27 13:46 (UTC)

We need 'python-pychromecast6' dependency, not 'python-pychromecast<7', otherwise, pacman tries to install 'python-pychromecast' (7)

Wild_Penguin commented on 2020-09-18 07:10 (UTC) (edited on 2020-09-18 07:36 (UTC) by Wild_Penguin)

Oops, I may be partner-in-crime, as you can see I've proposed that change ;-)

I didn't mean it literally, or I was thinking in Gentoo (don't remember which). Arch does not have slots as Gentoo does, so python-pychromecast6 and python-pychromecast are though as completely different packages. Although python-pychromecast6 provides python-pychromecast, the PKGBUILD version match search does not propagate to package providing some other, so makepkg does not find it (ot, at least looks like it).

Could be a sensible feature request for makepkg in the bugzilla...

EDIT: Actually it seems like, according to wiki, this should be fixed in the provides field of python-pychromecast6. See: https://wiki.archlinux.org/index.php/PKGBUILD#provides . So that version reference is valid, but this PKGBUILD still fails since python-pychromecast6 does not mention version in it's provides field. Seems a bit awkward, but it does make sense after all, as the pkgver of some alternative implementation of package/feature Y in package X might have nothing to do with the versioning of the package X it is implemented in...