Package Details: mkchromecast

Git Clone URL: (read-only, click to copy)
Package Base: mkchromecast
Description: Cast Audio/Video to your Google Cast and Sonos Devices
Upstream URL:
Licenses: MIT
Submitter: polyzen
Maintainer: totalsecond
Last Packager: polyzen
Votes: 43
Popularity: 1.01
First Submitted: 2017-06-24 09:42
Last Updated: 2019-01-20 05:35

Dependencies (17)

Required by (1)

Sources (2)

Latest Comments

1 2 Next › Last »

TheGoliath commented on 2020-07-09 09:37

Hello, might you add python-pychromecast6 as the new dependency and remove the python-pychromecast package? thanks :)

polyzen commented on 2019-01-29 22:42


bartus commented on 2019-01-29 19:39

Why you have made python-pychromecast as optional deps. mkchormecast won't work without it and there is no warning when installing the package that essential dep is missing.

fofoni commented on 2019-01-19 22:28

If you get a missing python library, you might be using a non-system python environment. Check that type python gives python is /usr/bin/python or something like that.

I use pyenv, for instance (for me, type python gives python is /home/pedro/.local/lib/pyenv/shims/python), and I got a ModuleNotFoundError: No module named 'psutil' just like amrhassan did below. But if I run PYENV_VERSION=system mkchromecast instead of mkchromecast, everything works fine.

Another workaround is manually changing the shebang to #!/bin/python in /bin/mkchromecast.

Actually, maybe polyzen should do this in the AUR package? I'm actually not sure about what's the best practice here, but given that this is an AUR package which lists as dependencies system-wide python libraries installed by pacman, it seems to me that a system python should be enforced by patching the source from #!/usr/bin/env python to #!/usr/bin/python before installing.

polyzen commented on 2018-10-13 02:31

amrhassan, perhaps you need to rebuild python-psutil. Works here.

amrhassan commented on 2018-10-12 16:51

I get the following error even though I have python-psutil installed..

Traceback (most recent call last):
  File "/bin/mkchromecast", line 5, in <module>
    import mkchromecast.__init__
  File "/usr/share/mkchromecast/mkchromecast/", line 6, in <module>
    from mkchromecast.utils import terminate, check_url
  File "/usr/share/mkchromecast/mkchromecast/", line 6, in <module>
    import psutil
ModuleNotFoundError: No module named 'psutil'

alteredworlds commented on 2018-10-02 13:17

I wasn't able to build python-pychromecast until I modified PKGBUILD as you suggested: remove the Python 2 build; bump pkgver to 2.3.0; update sha512sum by generating it from the downloaded file.

Now happily streaming Spotify to Chromecast Audio, thanks vm

polyzen commented on 2018-10-01 02:57

alteredworlds, coincidentally I had checked out that package today. mkchromecast depends on the python-pychromecast package, not the Python 2 (defunct) version. Were you able to build that? If not, you could edit the pkgbuild to remove the Python 2 build (and bump the pkgver to 2.3.0 while you're at it).

alteredworlds commented on 2018-09-30 14:54

I get: [mkchromecast]$ makepkg -si ==> Making package: mkchromecast (Sun 30 Sep 2018 15:41:43 BST) ==> Checking runtime dependencies... ==> Installing missing dependencies... [sudo] password for xxxxx: error: target not found: python-pychromecast ==> ERROR: 'pacman' failed to install missing dependencies. [mkchromecast]$

Looking at the most recent comment is: RemoteAdmin commented on 2018-03-23 07:32 python2-pychromecast is not usable anymore 'cause support for python2-zeroconf was dropped

polyzen commented on 2018-09-29 11:01

RX14, thank you. I thought something was off there :p.