Limited Interface + Controls when casting to WiFi/UPnP Speaker

Issue description:

Currently visiting some friends who have a WiFi Speaker/Radio (Teufel One S). I was pleasantly surprised that Symfonium was able to cast songs to it, when even Youtube Music couldn’t do it. The speaker seems to natively support Spotify and works best in combination with the Spotify app.

(Edit: Yatse showed that the speaker is using UPnP, which wasn’t obvious to me before. Chaning the two UPnP-related settings in Advanced Settings didn’t change any of the reported behavior though, even after a restart of the app.)

Aside from starting playback of a track, Symfonium is however fairly limited when it comes to controlling playback on the speaker:

  • The progress bar shows no progress and Seeking doesn’t work
  • The Lyrics button is hidden even though lyrics are working fine when playing back locally
  • The Pause button doesn’t work; playback can only stopped by ending casting
  • Playback reporting started to bug out after a bit (could be due to disconnecting and reconnecting multiple times and frequently changing tracks). It did recover eventually, but wasn’t totally reliable

Things that do work well:

  • Changing tracks, auto-advance
  • Volume control
  • Connecting to / Disconnecting from the speaker

Logs:

debug-20220916_122320.zip (38.9 KB)

Screenshots:

Lyrics button is hidden and progess back is not showing any progress:

Additional Information

Given that I don’t own this speakee myself I might not be able to test fixes, but I’d assume that this issue isn’t specific to this speaker.
And as long as playback works (which it does) I’m pretty happy anyway. Just thought I let you know about the issue :slight_smile:

The device seems to have a really bad UPnP implementation

{faultcode=s:Client, faultstring=UPnPError, UPnPError/errorCode=501, UPnPError/errorDescription=Action Pause is not supported}
{TrackDuration=NOT_IMPLEMENTED, RelTime=NOT_IMPLEMENTED}

Not much I can do here it’s not a real UPnP device, it’s pure luck that it support the play :slight_smile:

1 Like

Okay, that makes sense. Probably some bullshit deal with Spotify to push their proprietary protocol onto consumers…

Although, could you please make it so the lyrics button is shown? I know synced lRics can’t be shown if progress reporting isn’t implemented by the UPnP receiver, but maybe it would be possible to just show the lyrics without syncing?
Either grayed-out as if playback was at 0 seconds, or maybe even fall back to the way unsynced lyrics ate shown?
That would be awesome!

If the server does not return the lyrics then no I can’t display lyrics when casting, as it’s the local player that extract the data from the audio.

Ahh so the app never receives the audio file when casting, only metadata? Fair enough!