Package Details: mkchromecast-git 0.3.8.1.r165.g0de9fd78-3

Git Clone URL: https://aur.archlinux.org/mkchromecast-git.git (read-only, click to copy)
Package Base: mkchromecast-git
Description: Cast Audio/Video to your Google Cast and Sonos Devices
Upstream URL: https://mkchromecast.com
Keywords: audio cast chromecast google pychromecast
Licenses: MIT
Conflicts: mkchromecast
Provides: mkchromecast
Submitter: Terence
Maintainer: samtoxie
Last Packager: benjamb
Votes: 19
Popularity: 0.075438
First Submitted: 2016-10-06 15:58 (UTC)
Last Updated: 2022-11-19 22:34 (UTC)

Dependencies (22)

Required by (1)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

benjamb commented on 2023-07-29 08:12 (UTC) (edited on 2023-07-29 08:13 (UTC) by benjamb)

@dhtseany With python-pyqt5 installed, it launches into the system tray. Admittedly the menu doesn't work for me, but I at least see it in the tray.

Do you get anything informative from the --debug flag?

dhtseany commented on 2023-07-28 19:19 (UTC) (edited on 2023-07-28 19:21 (UTC) by dhtseany)

When I try to launch the app via the .desktop file nothing happens.

When I run the command: /usr/bin/mkchromecast -t

...it sits here without loading anything graphical:

Mkchromecast v0.3.9
Selected backend: /usr/bin/parec
Selected audio codec: mp3
Default bitrate used: 192k
Default sample rate used: 44100Hz.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

Anyone else seeing this or am I trying to get the app to run incorrectly?

benjamb commented on 2023-05-18 16:39 (UTC)

@senorsnor Glad it helped! I'd recommend installing rebuild-detector to prevent this kind of thing in future (it's in the community repo): https://github.com/maximbaz/rebuild-detector

senorsnor commented on 2023-05-18 15:43 (UTC)

Aha, that was it indeed: both casttube and pychromecast were built earlier. I rebuilt and reinstalled both of them and now it works with just the aur packages. Thanks.

benjamb commented on 2023-05-18 08:12 (UTC)

@trainwreck Out of interest, what happens when you attempt to import pychromecast from with the python repl?

Have you both built and installed the package and its dependencies after the recent python 3.11 upgrade? If not it would be worth reinstalling.

senorsnor commented on 2023-05-18 06:42 (UTC)

@trainwreck running "sudo pip install pychromecast" fixed it for me. Apparently you should use "venv" instead of "sudo pip install". I didn't look into that though so cannot give you the exact command.

AURaccount commented on 2023-05-18 04:52 (UTC)

@senorsnor i'm having the same issue, the program immediately terminates with "No devices found". I did NOT install anything from pip, just through the AUR using the makepkg. Were you ever able to resolve? Thanks.

senorsnor commented on 2023-05-08 19:36 (UTC)

@benjamb thanks. How can I check whether python is able to import the AUR installed module? I will look into venv, python package management is a mystery to me :-)

benjamb commented on 2023-05-08 19:09 (UTC)

@senorsnor That is strange. The version of python-pychromecast in the AUR is the same version as what is available via pip. Is your python able to import the AUR installed module?

It's generally advised to use a virtual environment (such as venv) if you need to install anything via pip, rather than running it via sudo.

senorsnor commented on 2023-05-08 18:52 (UTC)

Just installed this and couldn't get it to detect my chromecast device, it immediately output "No devices found". It seemed like it didn't even try to search. Following https://github.com/muammar/mkchromecast/issues/12 I did "sudo pip install pychromecast", which installed both casttube and pychromecast, both of which were already installed via aur. Apparently it couldn't find those for some reason because now it's working like a charm.

If anyone has a suggestion to run it just using pacman, without pip, I'd love to hear it.