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

Improve metadata saving logic in Item properties and Filter panel #863

Merged
merged 3 commits into from
Mar 9, 2024

Conversation

reupen
Copy link
Owner

@reupen reupen commented Mar 7, 2024

This makes the way Item properties and Filter panel write metadata changes when using inline editing more consistent with the playlist view.

In particular, more logic is pushed to the file_info_filter class. This should also improve safety, as it causes changes to be applied to freshly read metadata, rather than the cached copy.

Some code was cleaned up at the same time.

reupen added 3 commits March 6, 2024 20:43
This changes the prefix for some static class members from `g_` to `s_` in line with current conventions in the project.
This makes how metadata changes are saved in Item properties consistent with how they are saved in the playlist view.

This includes sharing more logic and pushing more logic to the `file_info_filter` implementation.
This makes how metadata changes are saved in Item properties more consistent with how they are saved in the playlist view and Item properties.

This is by pushing more logic to the `file_info_filter` implementation.
@reupen reupen force-pushed the inline-editing-implementation branch from 414e283 to 555ab60 Compare March 7, 2024 21:09
@reupen reupen marked this pull request as ready for review March 9, 2024 20:44
@reupen reupen merged commit 6efbf86 into main Mar 9, 2024
6 checks passed
@reupen reupen deleted the inline-editing-implementation branch March 9, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant