![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Sep 2014
Device: Kindle Touch
|
Collections auto refresh
When I finish modify the cc.db, How can the collections auto refresh without a restart? Can some shell script be help? Or other?
|
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
You may want to take a look at @barsanuphe's "librariansync" collections builder/manager.
|
![]() |
![]() |
![]() |
#3 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Sep 2014
Device: Kindle Touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Check the lipc event ccat sends when it finishes its job. (not at home right now, can't spoon-feed it to you).
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Sep 2014
Device: Kindle Touch
|
Thanks! But I don't know what you mean...
lipc and ccat Where they are and how can I use them? |
![]() |
![]() |
![]() |
#6 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
ccat is written in Lua (you can read its source as text). It is the collections database "middle-ware" (interface) code. I think that lipc is also a mixture of script and compiled code. It is a scripted-by-Amazon "middle-ware" interface to the Kernel's DBUS IPC and event systems. Using lipc - lots of examples on this site. It is part of the Inter-Proccess Communications system. For specific usage on refreshing the collections view, read the sources at the link to github on the page NiLuJe gave you the link to. The earliest versions of the source communicated with ccat directly. (LibrarianSync is also a scripted application.) Last edited by knc1; 09-17-2014 at 06:52 AM. |
|
![]() |
![]() |
![]() |
#7 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 40008
Join Date: Aug 2014
Location: Paris, France
Device: PW2, Kobo H20, Kobo Aura One
|
LibrarianSync does not update cc.db itself, but sends json info to http://localhost:9101/change which triggers the actual updating. My initial dabbling with cc.db itself proved to be unsatisfactory.
|
![]() |
![]() |
![]() |
#9 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I lipc:evts:name=updated, origin=com.lab126.ccat:Event sent
There you go. The K5 Wiki page is your new best friend if you still haven't looked into lipc. |
![]() |
![]() |
![]() |
Tags |
cc.db collection refresh |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feature Request: Auto import books on collections from folders | rfog | Calibre | 1 | 04-14-2014 04:40 AM |
Is this possible: Auto-add book/magazine then auto e-mail to device? | runningwithbulls | Library Management | 5 | 09-10-2012 12:27 PM |
Auto sync is not so auto sync? (Sony PRS-650) | arspr | Devices | 3 | 04-26-2011 03:43 PM |
iLiad xepdmgr - another approach to auto-refresh | Antartica | iRex Developer's Corner | 169 | 02-09-2010 03:07 AM |
iLiad libX11.so.6, auto refresh | hansel | iRex Developer's Corner | 7 | 09-20-2008 08:40 AM |