10-18-2022, 12:08 PM | #16 |
BLAM!
Posts: 13,497
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). |
10-18-2022, 12:35 PM | #17 |
Wizard
Posts: 1,035
Karma: 11227259
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 | |
|
10-18-2022, 06:06 PM | #18 | |
Connoisseur
Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
Quote:
Code:
.adds/notes |
|
10-19-2022, 04:03 AM | #19 |
Wizard
Posts: 1,035
Karma: 11227259
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
|
02-16-2023, 08:10 PM | #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 | |
|
08-04-2023, 03:33 AM | #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.
|
10-16-2023, 01:53 PM | #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).
|
03-17-2024, 05:06 PM | #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 05:17 PM. |
03-18-2024, 12:08 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... |
03-18-2024, 03:22 PM | #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... ?
|
03-18-2024, 04:19 PM | #26 |
Connoisseur
Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
|
03-18-2024, 06:07 PM | #27 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
|
03-18-2024, 08:08 PM | #28 | |
Bibliophagist
Posts: 40,536
Karma: 157444380
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 |
|
03-19-2024, 05:01 AM | #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 !
|
03-20-2024, 05:02 PM | #30 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
import of annotations and reading progress | Percivale | Kobo Developer's Corner | 3 | 12-20-2017 09:21 PM |
Reading app with freehand annotations and cloud sync (Dropbox, Google Drive, ...) | sjvs | Reading and Management | 1 | 08-30-2013 04:18 PM |
Any way of exporting bookmarks in Shubooks? | robinson | Apple Devices | 4 | 03-31-2013 12:23 PM |
Importing/exporting bookmarks | riki | Library Management | 0 | 01-18-2012 11:25 AM |
Exporting Annotations | musemj6 | Kindle Developer's Corner | 0 | 12-03-2008 02:01 PM |