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

[regression] Close player in onPlaybackShutdown() #4130

Merged
merged 1 commit into from
Aug 15, 2020

Conversation

Stypox
Copy link
Member

@Stypox Stypox commented Aug 15, 2020

What is it?

  • Bug fix (user facing)
  • Feature (user facing)
  • Code base improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

See #4129. Since this is such a simple change I think it should be merged asap, as to make testing #3178 simpler
@avently is this ok?

Fixes the following issue(s)

Fixes #4129

Testing apk

@opusforlife2 you were encountering this problem in #3178, could you check if it is fixed in this apk?
app-debug.zip

Agreement

@Stypox Stypox added ASAP Issue needs to be fixed as soon as possible bug Issue is related to a bug player Issues related to any player (main, popup and background) labels Aug 15, 2020
@avently
Copy link
Contributor

avently commented Aug 15, 2020

@avently is this ok?

Looks ok, I tested and it works correctly even when stream completes. This indeed smarter solution than mine because onPlaybackShutdown called only in two places: onPlayQueueChanged without any items in queue and in case of undetermined error. So yes, it's cool.

@opusforlife2
Copy link
Collaborator

Yup. Fixed.

Copy link
Contributor

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also solved #2907 (comment)

@TobiGr TobiGr merged commit 13c9096 into TeamNewPipe:dev Aug 15, 2020
This was referenced Sep 27, 2020
@Stypox Stypox deleted the swipe-queueitem-fix branch August 4, 2022 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASAP Issue needs to be fixed as soon as possible bug Issue is related to a bug player Issues related to any player (main, popup and background)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[unified player] Swiping away the last stream in the queue does not close player
4 participants