Closed kingosticks closed 5 days ago
Does this crash mopidy or playback of next song works? Can we reproduce this error?
I think I had to restart Mopidy but that might have been because my USB soundcard was emitting a horrible loud noise following this.
I've not been able to reproduce it since.
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', audio/spotify/src/spotifyaudiosrc/imp.rs:250:37
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
ERROR 2024-02-05 14:55:35,983 [25858:MainThread] mopidy.audio.gst
GStreamer error: Panicked: called `Result::unwrap()` on an `Err` value: RecvError
I had a similar (the same?) panic with this code https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/blob/9556abb162aee996296ce893238e2c1bb5842704/audio/spotify/src/spotifyaudiosrc/imp.rs#L250
I did a local patch to see if that fixed it but I can't reproduce the error. For me it comes after a long time and usually while (or close to) switching between songs. I can wait it out but it takes a long time for the gst plugin to recover. I suspect setting some timeouts somewhere will make it recover faster.
I've never reproduced this so I'm going to close it.
but it takes a long time for the gst plugin to recover. I suspect setting some timeouts somewhere will make it recover faster.
I think this is an issue in its own right so I've created https://github.com/mopidy/mopidy-spotify/issues/398
It's also not very obvious what version of spotifyaudiosrc is being used. Logging/debug needs improvements.