[Bug]: Plexamp can't cast to Sonos

Hi everyone,

I love the plexamp App on mobile (android) and my macbook.
Works like a charm.

Only there is a severe bug when playing music to a Sonos speaker.
When on my phone or macbook, I “cast” to my Sonos speaker (doesn’t matter which one).
Then the player starts acting very weird. Skips a few songs and automatically jumps to the last second of the song and ending in a paused state.
When “resuming” (clicking on play again). It does the same thing. This has been for while now.

Basically whenever I can not cast to a sonos speaker of sonos group.
I have a screenrecording attached. https://photos.app.goo.gl/n5LZNN8PCXhQAox87

For the record in the “normal” plex app, it all works perfectly.

Hopefully this bug is already known and a fix is already in progress.
Could you let me know if this bug is already on the radar on your end ?

Thanks again for making this great app.
If you have any questions, please ask.

Bert

Can you try again? There were a few cloud issues with Sonos over the last few days.

Hi Elan,

Nope still doesn’t work. I’ve never had problems with Sonos before.
On the main Plex app it works perfectly. Only on Plexamp it’s broken.
I can connect correctly with my Sonos speakers, but after connecting it starts skipping a few songs, …

I guess the problem is in the React code somewhere :stuck_out_tongue:

Can you post logs?

Hi,

How can i generate logs ?

Those are sever logs. I need the Plexamp.log

How can i generate plexamp.logs ?

on mobile, settings > advanced > debugging

Aha, thanks. I was looking for it on my desktop.

I’ve replace my public IP with XXXXXXX.
What i’ve done is the following:

  • Open plexamp
  • Connect with my Sonos (Slaapkamer => this is bedroom in Dutch)
  • Click on Library Radio

Some more info about my setup:
Plex is running in docker with Traefik as a reverse proxy before it.

Here is the log file:
Plexamp.1.log (212.2 KB)

Thanks in advance

There’s something weird going on:

Error issuing request to player Slaapkamer: /player/timeline/poll?wait=1&includeMetadata=1&commandID=196&type=music, HTTP status -6,

-6 is CURLE_COULDNT_RESOLVE_HOST (6)

It should be sending the commands to https://sonos.plex.tv

Is it something I did wrong in my setup or maybe a small bug ?

It seems more likely to be something with your network configuration, I’m not sure why else that domain would fail to resolve.

I understand, but why does it work on the normal plex app.
I suppose these hit the same endpoints with the same payloads ?

Mmm, i’ve removed the traefik in the docker-compose setup.
Only port that is exposed in my docker file is 32400.

I’ve no idea why it breaks with traefik before Plex … :frowning:
But that’s on my end to figure that out.

For now this “issue” can be closed.

Thanks for the help.
When I have more info I will post it here.

1 Like

Thanks for the update!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.