Checklist
Affected version
0.27.6
Steps to reproduce the bug
I was watching a vedio, the network briefly broke, and then the app crash.
Expected behavior
Retry or hint network error
Actual behavior
The app crashed
Screenshots/Screen recordings

Then,

Logs
FATAL EXCEPTION: main
Process: org.schabi.newpipe.debug, PID: 6543
android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{4dd8bf5 u0 org.schabi.newpipe.debug/org.schabi.newpipe.player.PlayerService}
at android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2104)
at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:2075)
at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2369)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8177)
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:971)
Caused by: android.app.StackTrace: Last startServiceCommon() call for this service was made here
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1952)
at android.app.ContextImpl.startForegroundService(ContextImpl.java:1906)
at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:830)
at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:830)
at androidx.core.content.ContextCompat$Api26Impl.startForegroundService(ContextCompat.java:1189)
at androidx.core.content.ContextCompat.startForegroundService(ContextCompat.java:752)
at androidx.media.session.MediaButtonReceiver.onReceive(MediaButtonReceiver.java:120)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:4449)
at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2256)
... 7 more
Affected Android/Custom ROM version
Android 14
Affected device model
Pixel 8
Additional information
No response
Checklist
Affected version
0.27.6
Steps to reproduce the bug
I was watching a vedio, the network briefly broke, and then the app crash.
Expected behavior
Retry or hint network error
Actual behavior
The app crashed
Screenshots/Screen recordings
Then,
Logs
Affected Android/Custom ROM version
Android 14
Affected device model
Pixel 8
Additional information
No response