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

Added capability to import module files from device / network drive / cloud services #11

Merged
merged 9 commits into from
Aug 18, 2021

Conversation

sitomani
Copy link
Owner

@sitomani sitomani commented Aug 17, 2021

The identification of modules in 4champ is based on Amiga Music Preservation module ids, which conveniently is a sequence of integers. The solution for bringing in modules from other sources - in the context of this PR, from local file system, I went for splitting the id space in ranges: first million for AMP, second million for local modules, and added a secondary key serviceKey for storing range-specific identifier for the module, and serviceType to identify the service from which the item is from. In the case of modules imported through the file import feature, filename is stored to the serviceKey field.

@sitomani sitomani merged commit ff30c97 into master Aug 18, 2021
@sitomani sitomani deleted the local-import branch August 18, 2021 08:39
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.

None yet

1 participant