give more information (features, warning, …)

This commit is contained in:
Martin Brodbeck 2021-02-10 11:54:05 +01:00
parent e4f6efe12a
commit 1cf8b008d0
1 changed files with 17 additions and 8 deletions

View File

@ -6,23 +6,32 @@ EPUB files, this program tries fix these issues. It tries to identify
wrong database entries and fix it by reading the corresponding epub wrong database entries and fix it by reading the corresponding epub
metadata. metadata.
## Features
The app tries to fix the following issues in the database
- Correction of wrong firstauthor entries (books_impl table)
- Correction of wrong author entries (books_impl table)
- Removing deleted e-books from the database (various tables)
- Add missing genre if present in epub (genre and booktogenre tables)
## Compatibility ## Compatibility
This program is tested on a PocketBook This program is tested on a PocketBook
- *Touch HD 3* (software version 6.1.900) - *Touch HD 3* (software version 6.1.900)
- *Touch Lux 4* (software version 6.0.1118) - *Touch Lux 4* (software version 6.0.1118)
It might work with other PocketBook devices/software versions. Please tell me, if it works for you (and do make a backup of the explorer-3.db file before trying!). It might work with other PocketBook devices/software versions. Please tell me if it works for you (and do make a backup of the explorer-3.db file before trying!).
## Installation and Usage ## Installation and Usage
Just copy the executable file into the PocketBook's application directory. Just copy the executable file into the PocketBook's application directory. If you encounter duplicate authors or other issues (see "Features" above) in the PocketBook's library, open the applications screen and tap on the PbDbFixer icon.
If you encounter duplicate authors in the PocketBook's library, open the
applications screen and tap on the PbDbFixer icon. ---
**WARNING**:
Use at your own risk. In case of doubt it is not a mistake to make a backup of the file `/system/explorer-3/explorer-3.db` beforehand.
---
## Build ## Build
To be able to build PbDbFixer, you have to have the cross compiler for If you want to build PbDbFixer yourself, you have to have the cross compiler for ARM CPUs installed. On Arch Linux, the AUR package `arm-linux-gnueabi-gcc75-linaro-bin` does the job. Don't forget to tell `cargo` which compiler/linker it has to invoke. In my case, I had to edit `~/.cargo/config`:
ARM CPUs installed. On Arch Linux, the AUR package `arm-linux-gnueabi-gcc75-linaro-bin`
does the job. Don't forget to tell `cargo` which compiler/linker it has to
invoke. In my case, I had to edit `~/.cargo/config`:
``` ```
[target.arm-unknown-linux-gnueabi] [target.arm-unknown-linux-gnueabi]
linker = "arm-linux-gnueabi-gcc" linker = "arm-linux-gnueabi-gcc"