Skip to content

Lost Video Progress #320

@Ruyeex

Description

@Ruyeex

Checklist

  • I am able to reproduce the bug with the latest version.
  • I am not able to reproduce the bug with the latest version of vanilla NewPipe.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the vanilla NewPipe contribution guidelines.
  • I have read and understood the AI policy. The content of this bug report is not generated by AI.

Affected version

0.28.2.

Steps to reproduce the bug

Go to Tubular
Watch a video
Stop watching it in the middle of the video either by closing the video or during in the middle of a video on landsape fullscreen.
Rewatch it (It doesn't save the position of the video's record)

Expected behavior

It should have it's position where left on which was the case prior in 0.28.0.

Actual behavior

It restarts the video to 0:00 regardless of the progress you made, the popup is fundamentally broken due of it's function to save it's previous section.

Screenshots/Recordings

No response

Logs

Exception

  • User Action: play stream
  • Request: Player error[type=ERROR_CODE_FAILED_RUNTIME_CHECK] occurred while playing https://www.youtube.com/watch?v=UvpheontBuc
  • Content Country: US
  • Content Language: en-
  • App Language: en_US
  • Service: YouTube
  • Timestamp: 2026-02-05T09:32:30.369Z
  • Package: org.polymorphicshade.tubular
  • Service: YouTube
  • Version: 0.28.2
  • OS: Linux samsung/a52sxqeea/a52sxq:14/UP1A.231005.007/A528BXXUAGXK8:user/release-keys 14 - 34
Crash log

com.google.android.exoplayer2.ExoPlaybackException: Unexpected runtime error
	at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:668)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loopOnce(Looper.java:230)
	at android.os.Looper.loop(Looper.java:319)
	at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: java.lang.IllegalStateException: flush() is valid only at Executing states; currently at Released state

	at android.media.MediaCodec.native_flush(Native Method)
	at android.media.MediaCodec.flush(MediaCodec.java:2504)
	at com.google.android.exoplayer2.mediacodec.AsynchronousMediaCodecAdapter.flush(AsynchronousMediaCodecAdapter.java:236)
	at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.flushCodec(MediaCodecRenderer.java:907)
	at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.flushOrReleaseCodec(MediaCodecRenderer.java:900)
	at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.flushOrReinitializeCodec(MediaCodecRenderer.java:863)
	at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.onPositionReset(MediaCodecRenderer.java:714)
	at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.onPositionReset(MediaCodecVideoRenderer.java:560)
	at com.google.android.exoplayer2.BaseRenderer.resetPosition(BaseRenderer.java:183)
	at com.google.android.exoplayer2.BaseRenderer.resetPosition(BaseRenderer.java:176)
	at com.google.android.exoplayer2.ExoPlayerImplInternal.resetRendererPosition(ExoPlayerImplInternal.java:1376)
	at com.google.android.exoplayer2.ExoPlayerImplInternal.seekToPeriodPosition(ExoPlayerImplInternal.java:1354)
	at com.google.android.exoplayer2.ExoPlayerImplInternal.seekToPeriodPosition(ExoPlayerImplInternal.java:1293)
	at com.google.android.exoplayer2.ExoPlayerImplInternal.seekToInternal(ExoPlayerImplInternal.java:1263)
	at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:525)
	... 4 more


Affected Android/Custom ROM version

Android 14

Affected device model

Samsung Galaxy A52s

Additional information

The popup error crashes which resets the video as well as by closing it.
My downloading to Tubular is through Obtainium with Github.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⌛waiting upstream fixWaiting fix from upstream NewPipe project🪲 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions