Package: mkchromecast
Version: 0.3.9~git20200902+db2964a-2
Severity: normal

I'm ending up with dozens of Mkchromecast sinks and monitors being
left behind possibly in response to starting multiple up at the same
time, crashing/being terminated and/or trying to put them under the
control of systemd.  Problem is that with no parec/lame/mkchromecast
processes left behind on the system, the sink still exists.

So I try to use `mkchromecast -r` to clean up, and it bails on 

````
Traceback (most recent call last):
  File "/usr/bin/mkchromecast", line 11, in <module>
    import mkchromecast.__init__
  File "/usr/lib/python3/dist-packages/mkchromecast/__init__.py", line 668, in 
<module>
    get_sink_list()
  File "/usr/lib/python3/dist-packages/mkchromecast/pulseaudio.py", line 86, in 
get_sink_list
    result = subprocess.run(
             ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['pacmd', 'list-sinks']' returned 
non-zero exit status 1.
````

because `pacmd list-sinks` is no longer a valid command in pipewire;
you're expected to use `pacmd list sinks` instead.

mkchromecast from git has been fixed back in 2021 in master
(b3855b7f7), but not tagged in upstream as a release yet, and it's not
in our unstable version, so will still be broken in trixie now that
we've all moved to pipewire :(



-- System Information:
Debian Release: 12.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable'), (5, 'testing'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.11.5+bpo-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mkchromecast depends on:
ii  flac                  1.4.2+ds-2
ii  gir1.2-notify-0.7     0.8.1-1
ii  lame                  3.100-6
ii  mkchromecast-alsa     0.3.9~git20200902+db2964a-2
ii  nodejs                18.20.6-1nodesource1
ii  opus-tools            0.2-1+b1
ii  python3               3.11.2-1+b1
ii  python3-flask         2.2.2-3
ii  python3-gi            3.42.2-3+b1
ii  python3-netifaces     0.11.0-2+b1
ii  python3-psutil        5.9.4-1+b1
ii  python3-pychromecast  9.4.0-2
ii  python3-pyqt5         5.15.9+dfsg-1
ii  python3-requests      2.28.1+dfsg-1
ii  sox                   14.4.2+git20190427-3.5
ii  vorbis-tools          1.4.2-1+b1
ii  youtube-dl            2021.12.17-2

mkchromecast recommends no packages.

Versions of packages mkchromecast suggests:
ii  ffmpeg  7:5.1.6-0+deb12u1

-- no debconf information

Reply via email to