pocket-casts-android icon indicating copy to clipboard operation
pocket-casts-android copied to clipboard

Android Auto/Automotive Podcast + Filter Page Played Episode Issue

Open azollafox opened this issue 3 years ago • 2 comments

What I expected

When an episode is played fully it will disappear from the Podcast or Filter page it's on.

What happens

If you have the Podcast page opened which lists all of the episodes, the episode which you played fully does not automatically disappear. Going back to the homepage, then opening the podcast page again resolves it.

Reported in https://woothemes.zendesk.com/agent/tickets/5476176 Reproduced https://a8c.slack.com/archives/C02A333D8LQ/p1661253982975559

Debug logs from ticket: debug-2.txt

azollafox avatar Aug 23 '22 12:08 azollafox

This is also an issue on Android Automotive.

  1. Ensure that the app's settings are set to not "Show Played Podcasts"
  2. Go to the discover screen
  3. Open a podcast page
  4. Tap on a podcast to start playing it
  5. Complete the episode
  6. Tap the back arrow to return to the podcast page
  7. Observe that the just-completed podcast is still listed
  8. Tap back to go to the Discover page
  9. Tap on the podcast that you were just looking at
  10. Observe that the just-played podcast is now removed from the list

https://user-images.githubusercontent.com/4656348/205943388-5ba88f71-0fd2-4b1c-ae4e-38d956fe7b25.mov

mchowning avatar Dec 06 '22 14:12 mchowning

When clearing the app data on sign out, I also see this issue with the Podcasts tab (subscribed podcasts will still show until you switch to another tab and then back to the podcasts tab).

UPDATE: Here is some code I quickly hacked together which allowed me to verify that notifying the playback service that the podcast screen has changed is sufficient to reload that tab programmatically. I don't like how I'm storing the service instance in a global field though—I feel like there's got to be a better way to get hold of the service instance.

mchowning avatar Mar 14 '23 01:03 mchowning