Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-01-2022, 03:50 AM   #61
Rid
Addict
Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.
 
Posts: 205
Karma: 20980
Join Date: Oct 2020
Device: Kobo Aura One, Aura HD (R.I.P.) :(
Quote:
Originally Posted by sherman View Post
Thanks for the reports, I'll have to investigate this when I get time.
I think it may not have been working as I expected because I did not know about the device going into standby (thread).
Rid is offline   Reply With Quote
Old 11-25-2022, 03:59 AM   #62
Rid
Addict
Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.
 
Posts: 205
Karma: 20980
Join Date: Oct 2020
Device: Kobo Aura One, Aura HD (R.I.P.) :(
Is it possible to have NickelDBus start the Kobo sync and also send a signal back to say it has completed the sync, successfully or otherwise?

Last edited by Rid; 11-25-2022 at 05:55 AM.
Rid is offline   Reply With Quote
Old 11-25-2022, 05:58 AM   #63
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by Rid View Post
Is it possible to have NickelDBus start the Kobo sync and also send a signal back to say it has completed the sync, successfully or otherwise?
Are you talking about syncing to the Kobo severs? It might be possible, but it is not something I've looked into, so can't say for sure.
sherman is offline   Reply With Quote
Old 11-25-2022, 06:40 AM   #64
Rid
Addict
Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.
 
Posts: 205
Karma: 20980
Join Date: Oct 2020
Device: Kobo Aura One, Aura HD (R.I.P.) :(
Yes I believe it is to the Kobo servers.

New books I buy from Kobo, bookmarks etc. I am one of those people that every month the sync stops working and it can drain the battery from 90% to 10% in 30min. I usually have to delete the larger collections to get it working again.

Made a script that turns off the wifi after a certain amount of time, and would like to streamline the process and include starting the sync, as it takes a several more steps to start the sync while reading a book.

Even if it not possible that would be great to know so I can get this monkey off my back!
Rid is offline   Reply With Quote
Old 12-02-2022, 09:25 PM   #65
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 942
Karma: 418804
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by Rid View Post
I am one of those people that every month the sync stops working and it can drain the battery from 90% to 10% in 30min. I usually have to delete the larger collections to get it working again.
I have the same problem. I think this is caused by database corruption in the encrypted database.

Another way to fix it is to use calibre to back up the database daily, and when sync stops working, unpack the backup calibre made from the day of (or day before) the last successful sync, and replace the KoboReader.sqlite and BookReader.sqlite on the device and reboot it and let it re-import the books you've added since, and then use calibre to update the bookmarks for books you've read since.

This has worked a few times for me now, and is a lot better than doing a factory reset or deleting lots of stuff and putting it back.
compurandom is offline   Reply With Quote
Old 12-04-2022, 03:02 AM   #66
Rid
Addict
Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.Rid can self-interpret dreams as they happen.
 
Posts: 205
Karma: 20980
Join Date: Oct 2020
Device: Kobo Aura One, Aura HD (R.I.P.) :(
Thanks I did not think about the database backup!

Edit: I do use Calibre always wondered if that could be an issue?

Last edited by Rid; 12-04-2022 at 03:05 AM.
Rid is offline   Reply With Quote
Old 06-04-2024, 12:53 PM   #67
mullse01
Junior Member
mullse01 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2024
Device: Kindle PW 3, Kobo Clara BW
Hello, I'm attempting to create a shell script with NickelDBus triggered fron MickelMenu. The goal is to show a dlgConfirmAcceptReject prompt when choosing the "reboot" option in NickelMenu, but I can't seem to get NickelDBus to actually *do* anything after the dialog box appears. Here's the text of the shell script as I've got it:

Quote:
#!/bin/sh

signal=$(qndb -t 10000 -s dlgConfirmResult -m dlgConfirmAcceptReject "Reboot Kobo" "Are you sure you want to reboot?" "Yes" "No")

if ( $signal -eq 1 )
then
qndb -m mwcToast 3000 "Rebooting..."
qndb -m pwrReboot
elif ( $signal -eq 0 )
then
qndb -m mwcToast 3000 "Reboot cancelled."
fi
Am I missing some obvious syntax issue?
mullse01 is offline   Reply With Quote
Old 06-04-2024, 02:43 PM   #68
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
Quote:
Originally Posted by mullse01 View Post
Am I missing some obvious syntax issue?
Yes, parens are for subshells, not tests.

You want square brackets.
NiLuJe is offline   Reply With Quote
Old 06-04-2024, 05:44 PM   #69
hatuluang
Zealot
hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.
 
hatuluang's Avatar
 
Posts: 146
Karma: 348662
Join Date: Jan 2023
Location: Indonesia
Device: Kobo Clara 2E
Quote:
Originally Posted by Rid View Post
Yes I believe it is to the Kobo servers.

New books I buy from Kobo, bookmarks etc. I am one of those people that every month the sync stops working and it can drain the battery from 90% to 10% in 30min. I usually have to delete the larger collections to get it working again.
In my case, I always sideload the book purchased from the Kobo store and manage my own collection with Calibre, so I don't depend on the Kobo sync server. The downside of course the sideload books don't sync with Kobo, but I only read books on Kobo e-reader, so its fine with me.

Quote:
Edit: I do use Calibre always wondered if that could be an issue?
It won't be an issue if you are using Kobo Touch/Kobo Touch Extended, make sure to check "update purchase book"
Attached Thumbnails
Click image for larger version

Name:	KTE -  Metadata.jpg
Views:	62
Size:	108.2 KB
ID:	208704  

Last edited by hatuluang; 06-04-2024 at 05:51 PM.
hatuluang is offline   Reply With Quote
Old 06-04-2024, 09:02 PM   #70
mullse01
Junior Member
mullse01 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2024
Device: Kindle PW 3, Kobo Clara BW
Quote:
Originally Posted by NiLuJe View Post
Yes, parens are for subshells, not tests.

You want square brackets.
Thanks so much! This got me pointed in the right direction - I also realized my variable was not outputting "1" or "0", but "dlgConfirmResult 1" and "dlgConfirmResult 0", which was also preventing anything from happening.

Either way, your help is greatly appreciated, both here in this thread, and in the community as a whole!
mullse01 is offline   Reply With Quote
Old 06-04-2024, 09:47 PM   #71
hatuluang
Zealot
hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.hatuluang ought to be getting tired of karma fortunes by now.
 
hatuluang's Avatar
 
Posts: 146
Karma: 348662
Join Date: Jan 2023
Location: Indonesia
Device: Kobo Clara 2E
deleted

Last edited by hatuluang; 06-05-2024 at 03:11 AM.
hatuluang is offline   Reply With Quote
Reply

Tags
kobo, ldpreload, nickel


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
'RUN, RUN, RUN' a crime thriller $1.61 tothepoint Self-Promotions by Authors and Publishers 10 09-01-2014 01:07 PM
Calibre: Bus error migdus Calibre 7 08-16-2011 12:58 AM
/proc/bus/usb ? troymc Calibre 3 09-05-2009 11:35 AM


All times are GMT -4. The time now is 04:39 AM.


MobileRead.com is a privately owned, operated and funded community.