Skip to content

Conversation

@vkay94
Copy link
Contributor

@vkay94 vkay94 commented Sep 28, 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

  • Added methods to PlaylistDAO and LocalPlaylistManager to get an observable for checking if there is a playlist
  • Added method checkPlaylists to PlaylistAppendDialog which gives the opportunity to react on existing playlists
  • Inserted the check into the three corresponding places (menus + background player)

Fixes the following issue(s)

Testing apk

app-debug-fix-createplaylist.zip

Agreement

@opusforlife2 opusforlife2 added bug Issue is related to a bug GUI Issue is related to the graphical user interface labels Sep 29, 2020
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

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

Thank you for looking into this! The changes look mostly good. :-D

@vkay94
Copy link
Contributor Author

vkay94 commented Sep 29, 2020

@Stypox I pushed your recommendations to the branch. Thanks for them! (Why didn't I think about the Runnable? xD - I'm too spoiled with Kotlin's built-in lambda as parameters ^^)

Stypox
Stypox previously approved these changes Sep 29, 2020
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

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

Now code looks good to me, thank you again!

@Stypox Stypox modified the milestone: 0.20.1 Oct 4, 2020
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.

Fixed a merge conflict

@TobiGr TobiGr merged commit 7c80233 into TeamNewPipe:dev Oct 23, 2020
This was referenced Nov 10, 2020
@vkay94 vkay94 deleted the fix-createplaylist branch December 2, 2020 11:26
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 GUI Issue is related to the graphical user interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add to playlist results in flashing if no playlist created before

4 participants