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

Playlist resets when sent to background #7559

Closed
LillB0 opened this issue Dec 20, 2021 · 9 comments
Closed

Playlist resets when sent to background #7559

LillB0 opened this issue Dec 20, 2021 · 9 comments
Labels
duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them)

Comments

@LillB0
Copy link

LillB0 commented Dec 20, 2021

Checklist
I am using the latest version - 0.21.14
I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
I have read the contribution guidelines given at https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md.
This issue contains only one bug. I will open one issue for every bug report I want to file.

Every time the app is sent to the background with a playlist playing it will reset to the start of the first video in the playlist.
It does not matter if the playlist has been created in NewPipe or imported.

Steps to reproduce the bug

  1. Start playlist
  2. Send app to background

Actual behavior

Playlist stops with loading icon or starts at the beginning of the first video in the playlist

Expected behavior

The playlist should continue at the current video withou skipping to the start or the playlist

Device info

  • Android version/Custom ROM version: 9
  • Device model: Samsung Galaxy S8 (SM-G950F)
@LillB0 LillB0 added the bug Issue is related to a bug label Dec 20, 2021
@MD77MD
Copy link

MD77MD commented Dec 29, 2021

I'm having this same issue as well

@Zackyist
Copy link

Same problem on MIUI Global 12.0.8.0 (Android 10), it appeared after I updated from v0.21.13 to v0.21.15.

On my device the playback continues (as audio) on the current video when sent to the background but after I return to the app it immediately switches to the first video on the playlist. But if the current video is the first one, it continues playing normally as it should - so my current workaround is just swiping all watched videos on the playlist to the right before switching apps.

@drewsat
Copy link

drewsat commented Dec 31, 2021

I'm afraid the only work around is to downgrade to V10 as that's the only one that works, v13, 14 and 15 have this issue

@m77e4t
Copy link

m77e4t commented Jan 19, 2022

I am also having the same issue. I like listening to songs from a particular playlist in background, either screen On or Off. But, if I move to a different app for a few seconds and return back to newpipe, the app starts playing the first video (song) again.

The current workaround recommended is to downgrade the application. It might not be possible for me as the older versions were quite buggy, the latest versions seem to have solved all major bugs.

I would like if the newer versions solve this issue.

@MintMain21
Copy link

MintMain21 commented Feb 5, 2022

In general, switching from video to background play and/or back again tends to screw with video playback, whether it's restarting an individual video or an entire playlist. A fix would be most welcome.

For what it's worth, the issue is absent from Newpipe Legacy (on F-Droid), but that in itself has playback issues.

@AudricV
Copy link
Member

AudricV commented Feb 5, 2022

Fixed with #7693, which will be included for the next release (0.22.0).

Also duplicate of #7531.

Please keep completely in the issue template the next time you open an issue, there are good reasons to keep it fully, like to not open duplicates of exisiting issues. Thank you.

@AudricV AudricV closed this as completed Feb 5, 2022
@AudricV AudricV added duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them) and removed bug Issue is related to a bug labels Feb 5, 2022
@LillB0
Copy link
Author

LillB0 commented Feb 5, 2022

Not really a duplicate since the problem description is not the same.
In #7531 the playlist started playing the previous video. In my case it started the very first video. Also it happened every time not just when the app was minimized during buffering.

@AudricV
Copy link
Member

AudricV commented Feb 5, 2022

@LillB0 Yes, you are right, but that's just one of the ways to reproduce the issue. Some comments of this issue are like the case you describe and the issues topics are the same, so I thought it would be relevant to close this issue.

Anyway, it should be have been fixed with my PR so that's not needed to reopen this issue.

@m77e4t
Copy link

m77e4t commented Feb 26, 2022

The issue seems to be solved with the newest update 0.22.0, likely by #7693.
From Changelog 'Fix replay of first queue item on player change'.

It plays the way it should, in the correct way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them)
Projects
None yet
Development

No branches or pull requests

7 participants