Compare commits
2 commits
e1beced72c
...
8ef3238ac3
Author | SHA1 | Date | |
---|---|---|---|
8ef3238ac3 | |||
49853f9d2f |
4 changed files with 7 additions and 5 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -1,5 +1,7 @@
|
||||||
# This file is automatically @generated by Cargo.
|
# This file is automatically @generated by Cargo.
|
||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
|
version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "adler32"
|
name = "adler32"
|
||||||
version = "1.2.0"
|
version = "1.2.0"
|
||||||
|
@ -170,7 +172,7 @@ checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pbdbfixer"
|
name = "pbdbfixer"
|
||||||
version = "0.8.0"
|
version = "0.8.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"quick-xml",
|
"quick-xml",
|
||||||
"rusqlite",
|
"rusqlite",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "pbdbfixer"
|
name = "pbdbfixer"
|
||||||
version = "0.8.0"
|
version = "0.8.2"
|
||||||
authors = ["Martin Brodbeck <martin@brodbeck-online.de>"]
|
authors = ["Martin Brodbeck <martin@brodbeck-online.de>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@ The best results are achieved when metadata has been carefully maintained with *
|
||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
This program is tested on a PocketBook
|
This program is tested on a PocketBook
|
||||||
- *Touch HD 3* (software version 6.1)
|
- *Touch HD 3* (software version 6.4)
|
||||||
- *Inkpad 3 Pro* (software version 6.3)
|
- *Inkpad 3 Pro* (software version 6.4)
|
||||||
- *Touch Lux 4* (software version 6.3)
|
- *Touch Lux 4* (software version 6.3)
|
||||||
|
|
||||||
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!).
|
||||||
|
|
|
@ -30,7 +30,7 @@ fn get_epubs_from_database(tx: &Transaction) -> Vec<BookEntry> {
|
||||||
ON books.id = btg.bookid
|
ON books.id = btg.bookid
|
||||||
LEFT OUTER JOIN genres
|
LEFT OUTER JOIN genres
|
||||||
ON genres.id = btg.genreid
|
ON genres.id = btg.genreid
|
||||||
WHERE files.storageid = 1 AND books.ext = 'epub'
|
WHERE files.storageid = 1 AND (books.ext = 'epub' OR files.filename LIKE '%.epub')
|
||||||
ORDER BY books.id"#,
|
ORDER BY books.id"#,
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
Loading…
Reference in a new issue