Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback stopping unexpectedly and cannot resume while chromecasting #705

Open
1 task done
mchowning opened this issue Jan 16, 2023 · 4 comments
Open
1 task done
Labels
[Area] Chromecast [Priority] Low A less urgent issue that can be addressed when time allows [Type] Bug Not functioning as intended.

Comments

@mchowning
Copy link
Contributor

mchowning commented Jan 16, 2023

Description

While chromecasting the app to a Google Home Max speaker, playback suddenly stopped without me interacting with either the chromecast or the app. I opened the app and found I could not start playback because the play/pause button was stuck as a pause icon—tapping it did nothing in either the full screen or mini-players. The rest of the app was responsive. The only way I was able to get the app to play again was by swiping the app away and restarting it.

Step-by-step reproduction instructions

I don't know how to reproduce this. 😞

Screenshots or screen recording

No response

Did you search for existing bug reports?

  • I have searched for existing bug reports.

Device, Operating system, and Pocket Casts app version

Google Pixel 6 Pro, Android 13, Pocket Casts 9.30 development build, Google Home Max

@mchowning mchowning added the [Type] Bug Not functioning as intended. label Jan 16, 2023
@mchowning
Copy link
Contributor Author

mchowning commented Jan 16, 2023

I saved the support logs when this happened, but they don't really provide any information apart from confirming that the play/pause button wasn't working:

I 15/1 17:53:00 Saved time in database 1741.278
I 15/1 17:53:10 Saved time in database 1754.272
I 15/1 17:53:20 Saved time in database 1767.272
I 15/1 17:53:30 Saved time in database 1780.281
I 15/1 17:53:40 Saved time in database 1793.279
I 15/1 17:53:50 Saved time in database 1806.281
I 15/1 17:54:00 Saved time in database 1819.272
I 15/1 17:54:17 Set up periodic refresh
I 15/1 17:54:18 Running refresh from open app
I 15/1 17:54:18 RefreshPodcastsTask - runNow - Start
I 15/1 17:54:18 Refresh - podcasts response - 455 ms
I 15/1 17:54:18 Refresh - sync complete - 66 ms
I 15/1 17:54:19 UpNextSyncJob - scheduled
I 15/1 17:54:19 Refresh - sync up next - 9 ms
I 15/1 17:54:19 UpNextSyncJob - onStartJob
I 15/1 17:54:19 UpNextSyncJob - jobFinished - 59 ms
I 15/1 17:54:19 Settings synced
I 15/1 17:54:19 Refresh - sync settings - 54 ms
I 15/1 17:54:19 Sync history task scheduled
I 15/1 17:54:19 Refresh - sync history - 2 ms
I 15/1 17:54:19 Refresh - checkForEpisodesToAutoArchive - 23 ms
I 15/1 17:54:19 Sync history running
I 15/1 17:54:19 Refresh - checkForUnusedPodcasts - 73 ms
I 15/1 17:54:19 Refresh - playlist checkForEpisodesToDownload - 1 ms
I 15/1 17:54:19 Refresh - podcast checkForEpisodesToDownload - 3 ms
I 15/1 17:54:19 Refresh - updateNotifications - 25 ms
I 15/1 17:54:19 RefreshPodcastsTask - runNow - Finished Success {mOutputData=Data {}}
I 15/1 17:54:20 Sync history completed successfully
I 15/1 17:54:23 Pause clicked in player
I 15/1 17:54:23 Giving up audio focus
I 15/1 17:54:23 Giving up audio focus. Request granted
I 15/1 17:54:23 Paused - Not transient
I 15/1 17:54:25 Pause clicked in player
I 15/1 17:54:25 Giving up audio focus
I 15/1 17:54:25 Giving up audio focus. Request granted
I 15/1 17:54:25 Paused - Not transient
I 15/1 17:54:26 Pause clicked in player
I 15/1 17:54:26 Giving up audio focus
I 15/1 17:54:26 Giving up audio focus. Request granted
I 15/1 17:54:26 Paused - Not transient
I 15/1 17:54:26 Pause clicked in player
I 15/1 17:54:26 Giving up audio focus
I 15/1 17:54:26 Giving up audio focus. Request granted
I 15/1 17:54:26 Paused - Not transient
I 15/1 17:54:29 Pause clicked in player
I 15/1 17:54:29 Giving up audio focus
I 15/1 17:54:29 Giving up audio focus. Request granted
I 15/1 17:54:29 Paused - Not transient
I 15/1 17:54:38 Pause clicked in player
I 15/1 17:54:38 Giving up audio focus
I 15/1 17:54:38 Giving up audio focus. Request granted
I 15/1 17:54:38 Paused - Not transient
I 15/1 17:54:38 Pause clicked in player
I 15/1 17:54:38 Giving up audio focus
I 15/1 17:54:38 Giving up audio focus. Request granted
I 15/1 17:54:38 Paused - Not transient

I also see a fair number of Could not sync episode progress. java.util.NoSuchElementException logs, but those were occurring for a long time before this problem occurred, so they may be unrelated to the playback freezing.

@mchowning
Copy link
Contributor Author

mchowning commented Jan 19, 2023

The NoSuchElementExceptions have hopefully been addressed by #711. I still don't think those were related to playback stopping, but wanted to mention the fix since they are in the logs here.

@mchowning
Copy link
Contributor Author

@geekygecko geekygecko added [Priority] Low A less urgent issue that can be addressed when time allows [Area] Chromecast labels Aug 29, 2024
@erricgunawan
Copy link

Every time I connect to Chromecast it pauses and you cannot go back to playing.

9064316-zen (3-star Android App Review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Area] Chromecast [Priority] Low A less urgent issue that can be addressed when time allows [Type] Bug Not functioning as intended.
Projects
None yet
Development

No branches or pull requests

3 participants