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

Collection objects serialize to the same file they're deserialized from #143

Closed
a-rich opened this issue Aug 21, 2023 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request

Comments

@a-rich
Copy link
Owner

a-rich commented Aug 21, 2023

Is your feature request related to a problem? Please describe.
Since all the Collection features are operating on exported versions of a user's collection, and djtools offers sync functionality to backup these exports, the default behavior of the serialize operations should be to overwrite the path used to deserialize the object. This means users of, say, Rekordbox, can have the software configured to read their COLLECTION_PATH as their rekordbox XML and not have to ever switch it back-and-forth between COLLECTION_PATH and the "auto_" prefixed version of it.

Describe the solution you'd like
Have RekordboxCollection serialize to self._path rather than self._path.parent / f"auto_{self._path.name}".

@a-rich a-rich added the enhancement New feature or request label Aug 21, 2023
@a-rich a-rich self-assigned this Aug 21, 2023
@a-rich
Copy link
Owner Author

a-rich commented Aug 27, 2023

This is included in the releases/2.7.0 branch and the latest beta release.

@a-rich a-rich closed this as completed Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant