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

background player randomly pauses #4435

Closed
4 tasks done
r4diosilence opened this issue Oct 7, 2020 · 12 comments
Closed
4 tasks done

background player randomly pauses #4435

r4diosilence opened this issue Oct 7, 2020 · 12 comments
Labels
bug Issue is related to a bug

Comments

@r4diosilence
Copy link

r4diosilence commented Oct 7, 2020

(Ping opus for the log)

Checklist

Steps to reproduce the bug

Open a video (I tried different music videos that are about 3 minutes long) in the background player and wait.

Actual behaviour

The background player randomly stops playing and tries to load the stream but fails. This happen usually in the first or second minute of the video. The GUI looks similar to a lost internet connection (an hourglass instead of a play button in the notification and an endless circle on bottom half of the player page) but mine was working fine. No error message appears. When I close the player and the app and reopen it, everything works fine for a while and then it happens again.

Expected behavior

I expect the player to play the video properly without stopping (unless I press pause).

Screenshots/Screen recordings

Logs

NewPipe does not show an error message at all but I attached a log made with logcat.

Device info

  • Android version/Custom ROM version: stock android 8.1
  • Device model: Moto G5
@r4diosilence r4diosilence added the bug Issue is related to a bug label Oct 7, 2020
@opusforlife2
Copy link
Collaborator

Thanks!

@VGkav
Copy link

VGkav commented Oct 7, 2020

It's not just the background player, it happens when in popup, too. It just stops. When it happens I change the resolution from 360p to 240p and it reloads and continues from where it was.

@marmeladema
Copy link

I can confirm it also happens on Android 11 with a Pixel 3. All the videos I tried to listen to in background mode randomly stop. I cannot continue playback, I have to switch videos.
I haven't tried foreground / popup mode.
Since the last updates, newpipe is basically not usable anymore :-/

Is there anything we can do to help fixing this bug? I have very little knowledge about android app development but with the right guidance I should be able to provide logs or other kind of traces.

@Charred-Almonds
Copy link

I'm having the exact same issue. The only way to resolve it is to reload the video and press the BG play button, but that also clears the queue :(
20201007_182200

@wb9688
Copy link
Contributor

wb9688 commented Oct 8, 2020

@nussfell: In the full log I see that you're using NetGuard. Could you test if it happens without?

Edit: here is just the NewPipe part of the log:
log.24966.txt

Edit 2: It seems like the thread dies for some reason. Does NewPipe display a notification on playback? @avently: Do you have any idea?

@avently
Copy link
Contributor

avently commented Oct 8, 2020

@wb9688 no, I don't have an idea. I've no access to my PC so can't check.

@Stypox
Copy link
Member

Stypox commented Oct 8, 2020

#4432

@Stypox Stypox closed this as completed Oct 8, 2020
@r4diosilence
Copy link
Author

@wb9688 it still happens without NetGuard

@opusforlife2
Copy link
Collaborator

@nussfell Can you post a screen record?

@r4diosilence
Copy link
Author

@opusforlife2 I tried it once without NetGuard and it stopped but I somehow can't reproduce it while recording, it just works

@opusforlife2
Copy link
Collaborator

Then maybe you should keep recording your screen. It scares away the bugs. :P

On a serious note, maybe use the screen recorder every now and then while you're using Newpipe? You're bound to come across it again, I'm sure.

@r4diosilence
Copy link
Author

yeah, I'm sure too :) also, it looks like the picture posted by @Charred-Almonds in this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug
Projects
None yet
Development

No branches or pull requests

8 participants