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

Sync track metadata: Pass parameters explicitly #4605

Merged
merged 2 commits into from
Jan 8, 2022
Merged

Sync track metadata: Pass parameters explicitly #4605

merged 2 commits into from
Jan 8, 2022

Conversation

uklotzde
Copy link
Contributor

@uklotzde uklotzde commented Jan 6, 2022

Another preliminary PR to improve testability, i.e. do not rely on side-effects when updating/importing and exporting track metadata.

@uklotzde
Copy link
Contributor Author

uklotzde commented Jan 6, 2022

Force pushed after renaming the type. This could be used not only for exporting metadata.

Do not rely on side-effects when exporting track metadata. Passing all
arguments explicitly improves testability.
@uklotzde
Copy link
Contributor Author

uklotzde commented Jan 6, 2022

Picked some more low hanging fruits in SoundSourceProxy.

@uklotzde uklotzde changed the title Export track metadata: Pass parameters explicitly Sync track metadata: Pass parameters explicitly Jan 6, 2022
@uklotzde
Copy link
Contributor Author

uklotzde commented Jan 8, 2022

If you want me to provide additional tests then please consider merging these prerequisites.

Copy link
Member

@ywwg ywwg left a comment

Choose a reason for hiding this comment

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

lgtm

@ywwg
Copy link
Member

ywwg commented Jan 8, 2022

(you may merge this yourself in case there are any other minor tweaks.)

@uklotzde
Copy link
Contributor Author

uklotzde commented Jan 8, 2022

Merging now. Otherwise I would not able to write a regression for an upcoming PR.

Splitting into smaller PRs was requested. But if I have to wait days before continuing this doesn't work for me.

@uklotzde uklotzde merged commit b5acdb3 into mixxxdj:main Jan 8, 2022
@uklotzde uklotzde deleted the export-track-metadata-params branch January 8, 2022 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants