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

Metadata not updated when books are on SD card #6

Open
morpheby opened this issue Aug 7, 2024 · 1 comment
Open

Metadata not updated when books are on SD card #6

morpheby opened this issue Aug 7, 2024 · 1 comment

Comments

@morpheby
Copy link

morpheby commented Aug 7, 2024

In

path = book_metadata.path.replace(self._main_prefix, '')
only the path to the main device storage is cut from the book path. Due to that no books stored on SD card are processed in update metadata pass.

It would be appropriate to also remove path to self._card_a_prefix here if it is present.

@zisoft
Copy link
Owner

zisoft commented Aug 7, 2024

Agreed.
Since my device doesn't have a SD card slot I have no way to test this.
Can you test the change and provide a pull request?

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

2 participants