Resuming Plexamp fails

Dear team,

I have an issue resuming Plexamp music flow when in a situation like described below:

  • Plex server: 1.20.3.3437
  • Plexamp 3.2.2 running on an iPad Mini IOS 12.4.8, streaming music via Airplay 2 to a B&O Core.
  • Plexamp “Keep Screen On” option set

@12:29:30.772 I selected another source on the B&O Core which paused the Plexamp music streaming on the iPad.

@13:23:13.566 I tried to resume the music flow on the iPad by pressing the play icon on Plexamp screen, without activating Airplay2 speaker beforehand.

Track progress bar kept moving forward a couple of seconds, then back to the point where it resumed, and so on. No sound on the iPad which was the current speaker as Airplay 2 link had been closed when changing source on the B&O Core.

@13:23:52 I tried to load another album, same issue.

Only way to recover is to close Plexamp and start again.

Plexamp Log: Plexamp.log (69.8 KB)

Note : I partially replaced my external IP address in the log with yyy

1 Like

fascinating, thanks.

out of curiosity, if you pick a different output (e.g. moving AirPlay picker back to local device speaker) does that make audio able to resume?

To answer your question, I tried the following:

  • Start Plexamp streaming on the local device
  • Pick Airplay: Music resumes on the Airplay target
  • Pick Local Device: Music resumes on the Local Device
  • Pick Airplay: Music resumes on the Airplay target
    etc…

all good … not really

If I switch too fast between Local Device and Airplay, I can reproduce the original issue I reported, i.e. music stops in Plexamp while attempting to return to Airplay, if I press the play icon to resume, track progress bar moves forward 5 seconds before returning to the point I resumed playing, endless.

What I meant by too fast:
When switching to Local Device from Airplay, Local device takes over instantaneously but Airplay session with the speaker is terminated a few seconds after (I see the speaker going into idle mode like if it was receiving the instruction to do so, where usually with other sources on this speaker, the idle mode is triggered by inactivity timeout which is much much longer).

  • If I switch back to Airplay after the previous Airplay session has been closed, then a new connection is opened and streaming resumes correctly in Airplay
  • If I switch back to Airplay before the previous Airplay session is closed, then I face the issue, i.e. music stops, Airplay speaker goes idle, and when I press the play icon in Plexamp, it goes into the 5 seconds looping with no sound going through the local device.

I have done the same test with Deezer app. Same behavior than with Plexamp, i.e. returning to Airplay before the previous Airplay session is properly closed fails, music flow is stopped, BUT resuming playing in the application properly reverts to Local Device v.s. going into a 5 seconds loop with no sound on the Local Device when using Plexamp

If you need logs, let me know, preferably with the scenarios of your choice.

mostly out this week, but i’ll followup.

Thanks!

More food for thought: I ran the same test case with PLEX and there is no such loop issue, PLEX behaves more like Deezer.
I also ran the same test case with Plexamp running on an iPhone XR with the latest IOS, against another AP2 speaker model from the same brand, that resulted with the same issue than with the older device and older IOS.

So in summary, according to my observations, after leaving an Airplay 2 (AP2) session to go back to Local Device, independently of the application in use, going back to AP2 works fine as long as you have waited enough for the previous AP2 session to close, or, if not, best case you can resume the AP2 session if you are fast enough to switch back, or, worst case the AP2 session closes anyway and, depending on the IOS application you use, gives some unexpected results when trying to resume playing which should default to the local device:

  • Plexamp goes into an endless loop when attempting to resume playing
  • Occasionaly PLEX (not observed with Deezer yet) resumes playing but no sound goes out on the Local Device, only the track progress bar is moving.

Voilà voilà

great to have a reliable repro. the “endless loop” is basically Plexamp thinking everything is working and playing, but then noticing (every five seconds) that actually no, the lower layers must be lying because time hasn’t passed. will probably need to bring it up with the low-level player stack devs.

thanks again!

i was able to reproduce, thanks (took about a dozen tries).

thanks for trying more than 11 times! appreciated
Hope this will help to solve the initial issue.
Kind regards et à bientôt

1 Like

should be fixed in the next release.

1 Like

Works fine! Merci beaucoup

1 Like

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