pulseaudio-dlna
pulseaudio-dlna copied to clipboard
python3 branch/Fedora 30/ python3-chromecast
This is not a pa-dlna issue but it prevents pa-dlna from being installed on Fedora 30 . On Fedora 30 when I attempt to install python3-chromecast.noarch I get
Error: Problem: conflicting requests
- nothing provides python3.7dist(casttube) >= 0.2.0 needed by python3-chromecast-2.5.2-1.fc30.noarch
I haven't updated to F30 yet, so sorry for lack of testing. It seems though that it originates form python3-chromecast, not pa-dlna. What 'dnf install python3-chromecast' says ? can you retry installing pa-dlna if this works ?
dnf install python3-chromecast Last metadata expiration check: 0:53:23 ago on Thu 16 May 2019 09:28:54 AM EDT. Error: Problem: conflicting requests
- nothing provides python3.7dist(casttube) >= 0.2.0 needed by python3-chromecast-2.5.2-1.fc30.noarch (try to add '--skip-broken' to skip uninstallable packages)
Yep, as expected; python3-chromecast rpm is broken. I can build pa-dlna without requiring this, but not sure if it''s also a a runtime hard-dependency.
Done, rpm version is 0.6.0-6. If it doesn't work for lack of pychromecast, or you need it especially, you can install it by pip:
pip3 install --user pychromecast
installs fine . pip3 pychromecast install works . pa-dlna sees my cc devices
05-16 13:49:21 pulseaudio_dlna.pulseaudio INFO Added the device "ccAporch (Chromecast)". 05-16 13:49:21 pulseaudio_dlna.pulseaudio INFO Added the device "ccdenccAporch (Chromecast)". 05-16 13:49:21 pulseaudio_dlna.pulseaudio INFO Added the device "ccAdenccAporch (Chromecast)". 05-16 13:49:21 pychromecast INFO Querying device status 05-16 13:49:21 pulseaudio_dlna.pulseaudio INFO Added the device "ccden (Chromecast)". 05-16 13:49:21 pulseaudio_dlna.pulseaudio INFO Added the device "cclivingroom (Chromecast)"
But cannot get output to cc to work yet .
05-16 13:54:10 pulseaudio_dlna.pulseaudio ERROR The device "ccAden (Chromecast)" failed to play! (500) - Chromecast 192.168.1.111:8009 is connecting...
still tinkering .
Thanks for your help
I am baffled . On Fedora 29 I found
pulseaudio-dlna-python3/lib/python3.7/site-packages/casttube
I have no idea where this came from
https://bugzilla.redhat.com/show_bug.cgi?id=1716247#c1
I have the same issue. The device "TV (Chromecast)" failed to play! (500) - Chromecast 192.168.1.8:8009 is connecting...
@minsonj2016 @Cygn
I fixed the playback issue on fedora 30 by doing this to install python3-chromecast from the fedora 29 repos
dnf --releasever=29 install python3-chromecast
Then I add python3-chromecast to the exclude list in /etc/dnf/dnf.conf to be avoided being bugged about it every time I update..
cat /etc/dnf/dnf.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
exclude=gens-gs gens-gs-doc python3-chromecast
Thanks, that works for me as well . Hopefully the bug will be fixed at some point .
It's still an issue. But I found a better fix without using that old package. The fix is to install an old version of pychromecast (2.3.0) as your user.
pip3 install pychromecast==2.3.0 --user
This is confirmed working with pulseaudio-dlna from cygn's copr repo.
@minsonj2016 , can you please close this one ? It's fixed in the latest RPM, which also includes chromecast.wait() patch #398. Also, some testing would be welcome as I don't have chromecast.
@Cygn I upgraded to your latest package, and uninstalled the local copy of the python2 version of pulseaudio-dlna I was using. The issue was still there. I then git clone'd the python3 branch and manually applied the patch, and installed it with "pip install . --user" and that worked. So, something is wrong with your package. Tested on Fedora 32
cat /usr/lib/python3.8/site-packages/pulseaudio_dlna/plugins/chromecast/renderer.py | grep wait
(No results). The patch isn't applied in your Fedora 32 package.
Thx for testing. New build is cooking, should be on in a couple of minutes.
Confirmed fixed.