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

Pauses, switches, or stops playing podcast when returning to app #7135

Open
4 tasks done
purchases55555 opened this issue Apr 25, 2024 · 4 comments
Open
4 tasks done
Labels
Type: Possible bug Issues that seem to be a bug, but haven't been confirmed yet

Comments

@purchases55555
Copy link

purchases55555 commented Apr 25, 2024

Checklist

  • I have used the search function for OPEN issues to see if someone else has already submitted the same bug report.
  • I have also used the search function for CLOSED issues to see if the problem is already solved and just waiting to be released.
  • I will describe the problem with as much detail as possible.
  • If the bug only to occurs with a certain podcast, I will include the URL of that podcast.

App version

3.3.2

Where did you get the app from

Google Play

Android version

14

Device model

No response

First occurred

Always

Steps to reproduce

  1. play podcast in background
  2. bring app back to foreground

Expected behaviour

Continue playing the same podcast

Current behaviour

Changes podcasts to next in queue OR pauses current podcast OR stops podcast

Logs

Environment

Android version: 14
OS version: 5.15.131-android14-11-gd99d9fe08e0c-ab11209359
AntennaPod version: 3.3.2
Model: Pixel 8 Pro
Device: husky
Product: husky

Crash info

Time: 21-04-2024 00:06:25
AntennaPod version: 3.3.2

StackTrace

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.media.session.MediaSessionCompat.setQueue(java.util.List)' on a null object reference at de.danoeh.antennapod.core.service.playback.PlaybackService.lambda$loadQueueForMediaSession$1(PlaybackService.java:355) at de.danoeh.antennapod.core.service.playback.PlaybackService.$r8$lambda$3kCEWuNcq1SHYOtaxSddkU4SmrY(PlaybackService.java:0) at de.danoeh.antennapod.core.service.playback.PlaybackService$$ExternalSyntheticLambda13.accept(R8$$SyntheticClass:0) at io.reactivex.internal.observers.ConsumerSingleObserver.onSuccess(ConsumerSingleObserver.java:62) at io.reactivex.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run(SingleObserveOn.java:81) at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:124) at android.os.Handler.handleCallback(Handler.java:959) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loopOnce(Looper.java:232) at android.os.Looper.loop(Looper.java:317) at android.app.ActivityThread.main(ActivityThread.java:8501) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

@purchases55555 purchases55555 added the Type: Possible bug Issues that seem to be a bug, but haven't been confirmed yet label Apr 25, 2024
@tonytamsf
Copy link
Member

@purchases55555 could you let us know which version of AntennaPod you are using? Or try downloading the latest version of AntennaPod from the Google Playstore and see if the problem still happens?

@zivmax
Copy link

zivmax commented Apr 25, 2024

My case is everytime when I return the app, then click the playing banner on the bottom for playing details, the player will stop.

Environment:
Android version: 14
OS version: 5.15.104-android13-8-g6e2ee47b25cb
AntennaPod version: 3.3.2
Model: MAG-AN00
Device: HNMAG
Product: MAG-AN00

No crash report recorded

@tonytamsf
Copy link
Member

@zivmax When you go into Settings -> Report Bug, you do not see a crash?

How many podcasts are you subscribed to? Does it crash on all episodes?

@zivmax
Copy link

zivmax commented Apr 26, 2024

@zivmax When you go into Settings -> Report Bug, you do not see a crash?

How many podcasts are you subscribed to? Does it crash on all episodes?

yep, on all episodes.

The app won't crash, more like the page crashed.

I also just found the key is opening episode details page after returning the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Possible bug Issues that seem to be a bug, but haven't been confirmed yet
Projects
None yet
Development

No branches or pull requests

3 participants