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

Playlists: improve table update after deleting (purging) track files #13127

Merged
merged 2 commits into from
Apr 21, 2024

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented Apr 18, 2024

Fixes #13111 which I can actually only reproduce with main (couldn't find the change causing it).
But it doesn't hurt to get rid of the double select and have the now separate PlaylistDAO signals for
a) updating the sidebar and
b) reloading the current tracks in 2.4

Also enables Delete Track Files in playlists #13112

Though, no matter if main or 2.4, this feels like a bandaid anyway. PlaylistDAO looks unnecessarily complex, a better solution would probably be PlaylistStorage / PlaylistSummary (Crate equivalent) like proposed by @ninomp in #4846

@ronso0 ronso0 changed the title Playlists: purge table update Playlists: improve table update after deleting (purging) track files Apr 18, 2024
Copy link
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

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

LGTM and still works as desired. Thank you.

@daschuer daschuer merged commit 565698a into mixxxdj:2.4 Apr 21, 2024
14 checks passed
@ronso0 ronso0 deleted the playlists-purge-table-update branch April 21, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants