Sherman Perry

Results 220 comments of Sherman Perry

The more I think about it, the more I want to use the sqlite cli method of updating the DB. I'm kind of uncomfortable leaving a rw connection open for...

Awww, the `rescan_books_full` really doesn't appear to be blocking :( Testing with the following config: ``` menu_item :main :KU - Import Books :dbg_toast :Starting replacement SQL chain :cmd_output :5000:/mnt/onboard/.adds/kobo-uncaged/scripts/sql-replacements.sh chain...

> (... or parsing the syslog output :D. _I feel dirty_.) Don't worry. I've had that particular thought as well. Doesn't make it any less dirty though...

I'm wondering the sync/scan process emits some sort of signal that one could wait for using `QEventLoop`?

If I looked at the code, I can see why the rescan isn't blocking :p It looks like you basically do the old plug & unplug trick, although a little...

So, looking at the logs, the last thing that appears to happen when doing the content import is `May 30 12:22:24 nickel: ( 463.949 @ 0x17d9ab0 / sync.debug) virtual void...

Fair enough. Thanks for the input. Trying to check database side might be the way to go, if I/we can come up with a robust enough solution.

It looks like Nickel adds a record to the Activity table when content is added, so that's probably easily detectable. It's when no content is added that appears to be...

> Also, I think you mean cmd_output:120000:sleep 120 instead. Nah... NM will complain if you try that! 10s timeout limit.

> IIRC, the issue with the `Activity` table is that it isn't "live": it's updated in batch according to arcane rules that no-one actually groks, I think? The couple of...