I have done a couple of tests with the simplest shout2cast pipeline I could come up with:
output = audioresample ! audioconvert ! lamemp3enc ! shout2send mount=mopidy ip=127.0.0.1 port=8000 password=hackme
Oddly, this pipeline works on all of my devices if I play local files, it breaks if I try to play a Spotify track. Some debug logs.
In this debug logs I have tried a couple of sequences:
- Playing a local file -> works
- Playing a Spotify track the first time through
mpc add spotify:track:<track_id>
works in this particular case (not always though) - The following add+play experiments all fail when it comes to Spotify tracks. You can notice lots of messages like this when playback is triggered:
DEBUG 2019-01-14 16:06:35,332 [2278:Dummy-15] spotify.session
Audio buffer stats requested, but no listener