On Thu, Feb 03, 2022 at 05:09:50PM +0100, Henrik Friedrichsen wrote:
> Hey,
> 
> On Thu, Feb 03, 2022 at 02:41:18PM +0000, Klemens Nanni wrote:
> > Playing music in ncspot reliably stops after some time with
> > "Stream drop error: PortAudio not initialized".
> 
> This is also reported by some macOS users: 
> https://github.com/hrkfdn/ncspot/issues/628
> 
> Someone mentioned that this seems to happen after their internet
> connection died, indicating that this occurs when the Spotify/librespot
> session expires.

Thanks for pointing me in the right direction.
Apparently this boils down to an issue in librespot, see
https://github.com/librespot-org/librespot/discussions/609

I can confirm the ncspot error occurs whenever my wifi dies
(athn0: device timeout), which is something I don't always notice...
except when music stops playing.

> Can you confirm this by looking at the debug log, i.e. via
> https://github.com/hrkfdn/ncspot#build

`ncspot -d ./ncspot.debug' is quite verbose and ncspot behaves
differently, i.e. moving around in the interface doesn't quite work.

So when I ran with debug my network must've been stable, after thousands
of lines in the debug file I reran it without `-d' to be able to use
ncspot properly again.

Reply via email to