mkchromecast icon indicating copy to clipboard operation
mkchromecast copied to clipboard

Connects to chromecast audio through the system tray menu, but doesn't send audio 3

Open operative0-0 opened this issue 8 years ago • 4 comments

Audio shows up on sound meter in PAUVControl and both Chromecast Audio's are recognised in MKcc however no audio is passed through to the devices - Chromium browser audio streaming works fine. Cannot upgrade to mkchromecast_0.3.8.1-1 due to python3-pychromecast dependency error. Tried ALSA & Pulseaudio version which had the same results.

Used to work fine in Mint 17.3?

Linux Mint 18.3 Cinnamon 3.6.7 64bit Kernel 4.13.0.36 Mkchromecast v0.3.7

operative0-0 avatar Mar 04 '18 23:03 operative0-0

Were you able to sort this problem out? What I would suggest you is to clone the repository and install the dependencies with pip. There is now a setup.py in the devel branch modified by @leamas that should make things easier to install.

muammar avatar Apr 26 '18 15:04 muammar

exact problem I am having. Pop_os 21.04

mptpro avatar Oct 14 '21 04:10 mptpro

Cool project, feels like it's so darn close to working (Ubuntu 20). Got the same result building from the setup.py as from the package installed through apt:

  • detects and is able to attach to the cast device, am able to adjust the device volume via u/d
  • creates a sink in PulseAudio that I can select
  • No audio coming through

The apt version lists this info about the device (v0.3.8.1):

CastStatus(is_active_input=False, is_stand_by=True, volume_level=0.4100000262260437, volume_muted=False, app_id=None, display_name=None, namespaces=[], session_id=None, transport_id=None, status_text='', icon_url=None)

The built from master lists this (v0.3.9):

CastStatus(is_active_input=None, is_stand_by=None, volume_level=0.30000001192092896, volume_muted=False, app_id=None, display_name=None, namespaces=[], session_id=None, transport_id=None, status_text='', icon_url=None, volume_control_type='master')

Thought that the problem might be from is_active_input=False & is_stand_by=True but 3.9 lists that as None so may not be related.

update: the mkchromecast sink redirects to player stream on port 5000 - this becomes another playback in pulse audio, so audio is redirecting to a html stream?

ghost avatar Nov 22 '21 08:11 ghost

~~I'm having~~ I was having the same issue after a clean debian 12 -based linux install. MKChromecast was working before upgrade. Could connect to Chromecast Audio and see signal on the pavucontrol output device, but no sound coming out of speakers. Had to add the (uncomplicated) firewall rule, see #42:

sudo ufw allow 5000

...and all is good! Thanks MK for this software!

#ufw #connect-no-audio

ttrezren avatar Sep 15 '23 16:09 ttrezren