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

Change --auto-import to enum instead of having --auto-import-chapters, etc. #2

Closed
sandreas opened this issue May 12, 2022 · 1 comment

Comments

@sandreas
Copy link
Owner

An enum[] parameter with Chapters, Cover and other formats would be more flexible than having bool parameters for each purpose.

Maybe it would be even better to have an IMetadataImporter interface like this:

public interface IMetadataImporter {
     public string Identifier = "chapters";
     public Task<Status> ImportAsync(string path);
}
@sandreas sandreas closed this as completed Jun 3, 2022
@sandreas
Copy link
Owner Author

sandreas commented Jun 3, 2022

Fixed in latest code.

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

No branches or pull requests

1 participant