Crash when starting
I just did a git clone,installed the prerequisites on Fedora 38. Here is what happens:
$ bin/mkchromecast --debug ALSA device name: None. Google Cast name: None. backends: ['ffmpeg', 'avconv', 'parec', 'gstreamer'] ALSA device name: None. Google Cast name: None. backends: ['ffmpeg', 'avconv', 'parec', 'gstreamer'] USER =turgut PATH =/home/turgut/bin:/home/turgut/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin:/home/turgut/.composer/vendor/bin:/home/turgut/.local/bin:/home/turgut/bin Mkchromecast v0.3.9 Creating Pulseaudio Sink... Open Pavucontrol and Select the Mkchromecast Sink. Starting Local Streaming Server [Done] :::audio::: chunk_size, frame_size, buffer_size: 64, 2048, 8192 Selected backend: parec Selected audio codec: mp3 Default bitrate used: 192k Default sample rate used: 44100Hz. :::audio::: command ['lame', '-b', '192', '-r', '-'] PID of main process: 40712 PID of streaming process: 40719 /usr/lib/python3.11/site-packages/zeroconf/_services/browser.py:180: FutureWarning: <pychromecast.discovery.CastListener object at 0x7fbc842cc390> has no update_service method. Provide one (it can be empty if you don't care about the updates), it'll become mandatory. warnings.warn(
- Serving Flask app 'mkchromecast.audio'
- Debug mode: off WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
- Running on http://192.168.1.114:5000 Press CTRL+C to quit self.cclist [[0, 'Kitchen display', 'Gcast'], [1, 'Living Room speaker', 'Gcast']] if len(self.cclist) != 0 and self.select_device == False:
List of Devices Available in Network:
Index Types Friendly Name ===== ===== ============= 0 Gcast Kitchen display 1 Gcast Living Room speaker
Casting to first device shown above! Select devices by using the -s flag.
Kitchen display
def get_devices(self): def play_cast(self): The IP of Kitchen display is: 192.168.1.105 Your local IP is: 192.168.1.114
The media type string used is: audio/mpeg
Traceback (most recent call last):
File "/home/turgut/mkchromecast/bin/mkchromecast", line 311, in