Muammar, On Sat, 17 Sep 2016, Muammar El Khatib wrote: > On Fri, Sep 16, 2016 at 1:53 PM, Cristian Ionescu-Idbohrn > <cristian.ionescu-idbo...@axis.com> wrote: > > | File "/usr/lib/python2.7/socket.py", line 307, in flush > > | self._sock.sendall(view[write_offset:write_offset+buffer_size]) > > | error: [Errno 32] Broken pipe > > `---- > > > > The terminal gets messed up and needs to be `reset'. > > This is because of the https://github.com/joeyespo/py-getch module I > am using to listen to key events. Maybe I should come with my own > solution to avoid this. So, basically this happens when one uses the > `--volume` flag.
Check. Doesn't happen if I skip the '--volume' option on the command line. > > If I first start the player and mkchromecast after, it works fine. > > I can stop and start the player as I please, no apparent troubles. > > Thanks for this information. I cannot reproduce it though. Can you think of a way to narrow down the problem on my system? I retested that procedure using `audacious'. It produces the following error message: ,---- | ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable | ERROR util.cc:160 [audgui_simple_message]: | ALSA error: snd_pcm_hw_params_any failed: No such file or directory. `---- That happens while using this device: ,---- | 1 [PCH ]: HDA-Intel - HDA Intel PCH | HDA Intel PCH at 0xf7230000 irq 29 `---- > I have added a `--host` flag to specify the ip of the host you want > the google cast device to be connected. Sounds good. That way the chromecast device detection will be skipped, I supose. > Additionally, there is now a `--source-url` flag that MPD users can > pass if they have a httpd local streaming server or you can pass > whatever source-url you want to play to the google cast device > (maybe cool for radio stations). Ok. I'll probably come to that soon. > In the following upload I will proceed to close this report. I would > like to thank you for all the feedback!. You're welcome. And thanks for mkchromecast :) Cheers, -- Cristian