Automattic / pocket-casts-ios

Pocket Casts iOS app 🎧
Mozilla Public License 2.0
1.62k stars 128 forks source link

Airplay: Pause>Play Causes Episode to Skip Back in Playback #66

Open pocketcasts opened 1 year ago

pocketcasts commented 1 year ago

essentially, the app loses track of the current playback location of an episode. if i pause airplay playback and then later resume it, it resumes anywhere from several to dozens of minutes earlier in the episode. i only experience the issue when usin airplay, and only with pocket casts. i have two airplay devices -- an ikea/sonos symfonisk speaker, and a denon s750h avr. i am using pocket casts on my iphone 12 mini. i have seen one or two other complaints about the issue in the apple app store review section. is this a known bug? if i had to guess, i would say i first noticed it about a year ago.

iOS Feedback v7.18.1 (no debug)

pocketcasts commented 1 year ago

When casting to Google Home via Chromecast from my iPhone, playback often gets out of sync. Shortly after the iPhone display goes to sleep, the audio will start playing from my iPhone again, so the podcast is play from both sources and they are not in sync. I can pause it from the iPhone and then it keeps playing on the Google Home. When I am done listening and stop casting, the playback progress is not reflected in PocketCasts, as if it was paused the whole time.

110956-zen no debug log

pocketcasts commented 1 year ago

110956-zen

User replied to let us know they are using an iPhone 12 with iOS 15.0.2.

pocketcasts commented 1 year ago

Another report: 4530064-zen

when playing in a Chromecast the progress gets out of sync with the app. This means if I'm playing on my phone and cast, it will start at a different timestamp. And then once I move back to my phone, I'll be at a place later than where I stopped.

pocketcasts commented 1 year ago

This is happening consistently now. Listening to Tim Ferris’s interview with Margaret Atwood and it keeps not resuming at the correct place...PocketCasts seems to regularly fail to remember what point in a podcast I paused it. When I come back, it just starts the episode again. I use it mostly on iPhone X with Airplay to a Sonos speaker.

+1 at 4784968-zen

pocketcasts commented 1 year ago

Here’s a case of pocket casts not keeping the sync properly when using airplay. I’d listened to this episode of pivot via Sonos already and after air playing an episode of decoder (to Sonos) it was back in my queue, bookmarked way early in the podcast.

Another example of a podcast played to the end on Sonos but shows up as incompletely played in pocket casts: bill Simmons podcast episode dated 3/16/22

4866032-zen

pocketcasts commented 1 year ago

The app often forgets its position or time code. This happens usually when I switch audio outputs like from a Bluetooth box to a HomePod or vice versa.

4844606-zen

pocketcasts commented 1 year ago

You can recreate the problem very easily.

  1. Start playing on iPhone then stop.
  2. Go to Sonos and start playing same episode.
  3. Notice that episode is starting from beginning on Sonos.
  4. Go back to iPhone and see the play position move back to beginning.

4891104-zen

pocketcasts commented 1 year ago

+1 at #4928690-zen

For some time now i am not getting the postition or even just the track (Podcast Element) sync to Sonos app and back to iOS. What can I do to ensure syncing?

pocketcasts commented 1 year ago

Another report here: 4923392-zen

When playing through Airplay, the app doesn’t seem to keep track of playback position sometimes. After pausing and turning the screen off, then unpausing after a short amount of time from the airplay menu on the Lock Screen, the playback position will return to the position where the player was at when you first started the airplay session.

pocketcasts commented 1 year ago

+1 at #5193254-zen

Sonos/iOS handoff: I was listening to a podcast in your App within the Sonos app but when I stopped and started the iOS app, there was no handoff from the Sonos app to the iOS version. It showed that podcast as of I’d never listened to it so started at the beginning. Is there any interaction between the iOS and the Sonos version of this app?

pocketcasts commented 1 year ago

Also reported in #5301103-zen:

Whenever I switch to airplay and then back my position is always back to where it was before I turned to airplay.

pocketcasts commented 1 year ago

When playing a podcast over airplay to Sonos speakers, podcasts often but not always play but the time is ‘stuck’ at the current position. When you next try to skip time it jumps back to the place it was started, or when that podcast finishes, it will not finish or move to next podcast in the queue

App Version: 7.19.3 Device: iPhone14,3 OS: 15.5

5352820-zen