![]() |
#16 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
You could simply check if wpa_supplicant managed to associate with an AP via wpa_cli, that should work just as well, will only block as long as necessary, and doesn't require actual WAN connectivity.
c.f., https://github.com/koreader/koreader...sync.sh#L8-L20 Or, in a similar fashion, poke sysfs until the network IF is up: c.f., https://github.com/koreader/koreader...ce.lua#L15-L27 (Except don't hardcode the IF name, use the ${INTERFACE} env var). |
![]() |
![]() |
![]() |
#17 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,030
Karma: 11123121
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
I would be very interested in this, but as I'm no technic, I've got some difficulties: Where do I find the extracting location /mnt/onboard/.adds/notes/? I suppose it should be in the Kobo?
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
Quote:
Code:
.adds/notes |
|
![]() |
![]() |
![]() |
#19 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,030
Karma: 11123121
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
|
![]() |
![]() |
![]() |
#20 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
I've uploaded a small update that removes the KoboCloud dependency (none of you guys were using it anyways) and renames notes with their current date. That allows you to have a history of exported notes, of which currently only 21 (worth for at least 3 weeks) are kept. That number can be configured.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
I've uploaded a small update to the script, allowing to export the book progress of PDFs as well.
|
![]() |
![]() |
![]() |
#22 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
Fixed a bug in reading progress that didn't list a book when it doesn't have any chapter titles (e.g. PDFs or automatically generated Epubs).
|
![]() |
![]() |
![]() |
#23 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
Hello, i've discover your script and i find it pretty awesome. Thanks for your work !
I'm working to get into the world of scripts and database queries. I modified your script to translate it and to sort notes by the most recent, everything works fine but i noticed that some books that I highlighted or "dogeared" dont show in my md file. I noticed that the book that is not showing is a book that has no chapter names. But the same book is shown in "reading progress". All my books are converted to kepub by Calibre. Any clue ? Last edited by Cyril Gabard; 03-17-2024 at 04:17 PM. |
![]() |
![]() |
![]() |
#24 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
Sqlite is pretty finicky when it comes to NULL values. You could try to modify the query and do a
Code:
SELECT * FROM Bookmark b... |
![]() |
![]() |
![]() |
#25 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
Sorry, I'm not geek enough. Where do i put this code ? What is after b... ?
|
![]() |
![]() |
![]() |
#26 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#27 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
|
![]() |
![]() |
![]() |
#28 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,923
Karma: 153006036
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
FROM Bookmark b Code:
SELECT * FROM Bookmark b |
|
![]() |
![]() |
![]() |
#29 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
Tx ! i'll try and come back here to tell !
|
![]() |
![]() |
![]() |
#30 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
import of annotations and reading progress | Percivale | Kobo Developer's Corner | 3 | 12-20-2017 08:21 PM |
Reading app with freehand annotations and cloud sync (Dropbox, Google Drive, ...) | sjvs | Reading and Management | 1 | 08-30-2013 03:18 PM |
Any way of exporting bookmarks in Shubooks? | robinson | Apple Devices | 4 | 03-31-2013 11:23 AM |
Importing/exporting bookmarks | riki | Library Management | 0 | 01-18-2012 10:25 AM |
Exporting Annotations | musemj6 | Kindle Developer's Corner | 0 | 12-03-2008 01:01 PM |