Package Details: mkchromecast 0.3.8.1-3

Git Clone URL: https://aur.archlinux.org/mkchromecast.git (read-only, click to copy)
Package Base: mkchromecast
Description: Cast Audio/Video to your Google Cast and Sonos Devices
Upstream URL: http://mkchromecast.com
Licenses: MIT
Submitter: polyzen
Maintainer: xiota
Last Packager: xiota
Votes: 46
Popularity: 0.006633
First Submitted: 2017-06-24 09:42 (UTC)
Last Updated: 2023-01-15 02:46 (UTC)

Dependencies (17)

Required by (1)

Sources (3)

Latest Comments

1 2 Next › Last »

tym007 commented on 2022-11-23 09:14 (UTC)

Hello, I try to install this version because the git version have a conflict package and can't be installed. I got a validity check error: pychromecast_optional.patch ... FAILED.

So I look at the file, and install manually the package python-pychromecast but nothing change. I also remove the cache. Is this a problem with the PKG? Any idea how I can resolve this issue? Thanks


:: Processing package changes...
(1/4) installing sox                                                                                                                           [---------------------------------------------------------------------------------------] 100%
Optional dependencies for sox
    alsa-lib: alsa plugin [installed]
    flac: flac plugin [installed]
    gsm: gsm plugin [installed]
    lame: mp3 plugin [installed]
    libao: ao plugin [pending]
    libmad: mp3 plugin [installed]
    libpulse: pulse plugin [installed]
    libsndfile: caf, fap, mat4, mat5, paf, pvf, sd2, sndfile, w64 and xi plugins [installed]
    libvorbis: vorbis plugin [installed]
    opencore-amr: amr_nb and amr_wb plugins [installed]
    opusfile: opus plugin [pending]
    twolame: mp3 plugin [installed]
    wavpack: wavpack plugin [installed]
(2/4) installing libao                                                                                                                         [---------------------------------------------------------------------------------------] 100%
(3/4) installing opusfile                                                                                                                      [---------------------------------------------------------------------------------------] 100%
(4/4) installing vorbis-tools                                                                                                                  [---------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Making package: mkchromecast 0.3.8.1-2 (mer. 23 nov. 2022 10:01:36)
==> Retrieving sources...
  -> Found mkchromecast-0.3.8.1.tar.gz
  -> Found pychromecast_optional.patch
==> Validating source files with sha512sums...
    mkchromecast-0.3.8.1.tar.gz ... Passed
    pychromecast_optional.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: mkchromecast 
     context: exit status 1 


 -> sox not satisfied, flushing install queue
==> Making package: mkchromecast 0.3.8.1-2 (mer. 23 nov. 2022 10:01:37)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found mkchromecast-0.3.8.1.tar.gz
  -> Found pychromecast_optional.patch
==> Validating source files with sha512sums...
    mkchromecast-0.3.8.1.tar.gz ... Passed
    pychromecast_optional.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
checking dependencies...

deafmute commented on 2022-01-05 03:48 (UTC) (edited on 2022-01-05 03:48 (UTC) by deafmute)

Just a heads up, the latest release of mkchromecast (and therefore this package) does not work on pipewire due to reliance on pacmd. This has been fixed in master though by replacing pacmd with pactl; so pipewire users should instead install mkchromecast-git.

polyzen commented on 2019-01-29 22:42 (UTC)

bartus, https://github.com/muammar/mkchromecast/issues/233

bartus commented on 2019-01-29 19:39 (UTC) (edited on 2019-01-29 19:41 (UTC) by bartus)

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 (UTC) (edited on 2019-01-19 22:36 (UTC) by fofoni)

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

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

amrhassan commented on 2018-10-12 16:51 (UTC) (edited on 2018-10-12 16:51 (UTC) by amrhassan)

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/__init__.py", line 6, in <module>
    from mkchromecast.utils import terminate, check_url
  File "/usr/share/mkchromecast/mkchromecast/utils.py", line 6, in <module>
    import psutil
ModuleNotFoundError: No module named 'psutil'

alteredworlds commented on 2018-10-02 13:17 (UTC) (edited on 2018-10-02 13:39 (UTC) by alteredworlds)

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