Suddenly terrible Static with Spotify Connect and Snapcast

It started happening out of nowhere on both my Raspberry Pi 4, and Pi Zero.
I did not make any changes to my config. Any ideas?

  • Using the Volumio Spotify Connect2 plugin, version 1.0.5
  • Volumio Version 2.873
  • Plenty of free space on the Pi.

Also webradio?

Do you use an other plugin?
What is the DAC, if any?

Webradio works flawlessly

Then it could only be a solar flare flipping some bits! :grimacing:
Anyway, share some logs, give us some more info, can try and guess what happened then :slight_smile:

Output on the Pi 4 is HDMI.
Output on the Pi Zero is a Hifi Berry DAC Zero.

Snapcast Server and client are running on the Pi 4.
Snapcast client is running on the Pi Zero.

Also forgot to mention, I already rebooted both devices once and it’s still happening…
Some tracks have more static than others.
Playing the same songs on a different media player connected to the same speakers doesn’t show any static, so it isn’t the tracks themselves.

Here’s some logs.
I enabled the live log, played a few seconds over spotify connect, skipped to the next song, and paused.

Starting Live Log...
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::volumioGetQueue
info: CoreStateMachine::getQueue
info: CorePlayQueue::getQueue
info: CoreCommandRouter::executeOnPlugin: system , getHwuuid
info: CALLMETHOD: system_controller system enableLiveLog true
info: CoreCommandRouter::executeOnPlugin: system , enableLiveLog
info: Launching a new LiveLog session
[Vollibrespot] : Event: Play { track_id: SpotifyId { id: 320477930101634337758404052011135144936, audio_type: Track }, position_ms: 6099 }
[SpotifyConnect]  play
[Vollibrespot] : Event: SinkActive
[SpotifyConnect]  Impressions of You
[SpotifyConnect] Pushing metadata
info: CoreCommandRouter::volumioGetState
[SpotifyConnect] Currently active: volspotconnect2
[SpotifyConnect] Pushing new state :: true
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
[SpotifyConnect]  Sink acquired
info: CoreCommandRouter::volumioGetState
[SpotifyConnect] Currently active: volspotconnect2
[SpotifyConnect] Pushing new state :: true
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioGetState
info: Listing playlists
info: Listing playlists
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::volumioGetState
info: Listing playlists
info: Listing playlists
[Vollibrespot] : Event: Next { track_id: SpotifyId { id: 81174659963395578486188852550719756377, audio_type: Track } }
[Vollibrespot] : Event: TrackChanged { old_track_id: SpotifyId { id: 320477930101634337758404052011135144936, audio_type: Track }, track_id: SpotifyId { id: 81174659963395578486188852550719756377, audio_type: Track } }
[Vollibrespot] : Loading  with Spotify URI 
[Vollibrespot] :  (225750 ms) loaded
[Vollibrespot] : Event: SinkInactive
[SpotifyConnect]  Morphine
[SpotifyConnect] Pushing metadata
info: CoreCommandRouter::volumioGetState
[SpotifyConnect] Currently active: volspotconnect2
[SpotifyConnect] Pushing new state :: true
info: CoreCommandRouter::servicePushState
[Vollibrespot] : Event: PlaybackLoading { track_id: SpotifyId { id: 81174659963395578486188852550719756377, audio_type: Track } }
[Vollibrespot] : Event: SinkActive
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
[SpotifyConnect]  Sink released
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
[SpotifyConnect]  Sink acquired
info: CoreCommandRouter::volumioGetState
[SpotifyConnect] Currently active: volspotconnect2
[SpotifyConnect] Pushing new state :: true
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
[Vollibrespot] : Event: Pause { track_id: SpotifyId { id: 81174659963395578486188852550719756377, audio_type: Track }, position_ms: 4274 }
[SpotifyConnect]  pause
[SpotifyConnect]  Morphine
[SpotifyConnect] Pushing metadata
info: CoreCommandRouter::volumioGetState
[SpotifyConnect] Currently active: volspotconnect2
[SpotifyConnect] Pushing new state :: true
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
[Vollibrespot] : Event: SinkInactive
[Vollibrespot] : Event: PlaybackStopped { track_id: SpotifyId { id: 81174659963395578486188852550719756377, audio_type: Track } }
[SpotifyConnect]  Sink released
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::volumioPushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
[SpotifyConnect]  Device palyback is inactive
[SpotifyConnect] Device is paused
process exited with code null

I’d first disable snapcast, and determine if the issue if from volibrespotsnapcast , or also present in vanilla vollibrespot.

I think I found the problem, but am not sure if this was really what solved it.

I had set the codec to OGG in Snapcast, but returning it to FLAC got rid of the static.
I had changed it to OGG initially to decuce the impact on the network, but oh well.

:wink:
Enjoy your tinkering!

Yeah, it had been a few weeks since I change it and only listened to Web radio since ^^’