-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
App can't continue YouTube video that was paused some hours ago #5730
Comments
This behavior happens even if paused in background mode. However this is not a new problem and has been observed in several last releases. Sometimes if there is enough of data queued up it could play for couple of seconds even a minute after this long pause , but as soon as it should fetch new data the play stops and stays like that forever. It appears as if there was some kind of timer that overflows in this long pause and then it cannot start where it left off. Or the timestamp of the last queued data does not match current time thus unable to fetch new data from the source. One workaround found is to stop the app, clear the storage cache in app settings, restart the app and via history restart the playback. However there is one big drawback to this action. It seems that the comments disappear completely after clearing the cache for all videos played afterwards. They sometimes resurface again after couple of day, but have not figured out what triggers this condition. But this is probably another bug issue that needs to be reported separately. |
You can also just change the video quality to fix there current instance of the problem |
And how to fix in background mode without having to force close the app and lose your current queue? |
I am still having this issue in 21.1. Now it won't even play buffered video and it seems newpipe thinks the video has ended since the icon changes to the "replay" arrow rather than the play triangle. Resuming is not possible and requires restarting the video. |
I've been experiencing a similar issue for some releases (I can't tell for sure what ones). This may be related, so I'm reporting it here. |
Here are some logs for this issue. I started this video yesterday, paused it, set the phone under Airplane mode for the night, and the next day exited Airplane mode and tried continue watching the same video which triggered a Exception
Crash log
|
I too have this problem. I am now running 22.1,with previous releases changing the video resolution would allow the video to continue playing now with 22.1 this workaround does not help un the worst case I have had ( https://www.youtube.com/watch?v=rEOQMlICtpU ) |
I run into this issue very often (see #8455 and the screen recording). Changing resolutions only sometimes helps solve the issue and once you close the video there's a NewPipe crash each time you try to start the video. Clearing the cache is the only workable solution at the moment. I don't know how NewPipe works internally but it seems like NewPipe doesn't seem to do a "from scratch" refresh of a video when it hits an error like this, and it seems like doing a complete refresh and re-fetch of the video if this error is hit for the first time would solve these issues? |
Another workaround is to switch to the next video, wait for the next video to play, and then switch back to the original one. By doing this, no cache cleaning is required nor progress is lost, and it can play the next video normally |
This comment was marked as spam.
This comment was marked as spam.
@onkq Don't ping specific team members unless you're already in a discussion about some feature or bug. |
I am having this problem with Newpipe 0.23.0 on a Samsung Galaxy Note S10+, Android 12 and have had it in the past on other devices. Unfortunately now, none of the following work although they have in the past when the problem happened. It was trial and error among these options but one of them would eventually work.
I can download and watch the video in an external player but am hoping there's another way to work it in the app. |
Checklist
Steps to reproduce the bug
Actual behaviour
A video is starting to play for up to a minute (pre-loaded part), then it is freezing in an infinite load loop. When you try to switch to another video and return to that one, it's still not playable. You need to force close and reload the app to be able to continue with that video.
Expected behavior
A video should continue to play smoothly until end.
The text was updated successfully, but these errors were encountered: